Re: [PATCH 2/2] nvmem: imx-ocotp: add write support

From: Rob Herring
Date: Mon Apr 03 2017 - 09:18:15 EST


On Mon, Mar 27, 2017 at 03:31:31PM +0200, Richard Leitner wrote:
> Implement write routine for OCOTP controller found in i.MX6 SoC's.
> Furthermore add locking to the read function to prevent race conditions.
> The write routine code is based on the fsl_otp driver from Freescale.
>
> Signed-off-by: Richard Leitner <richard.leitner@xxxxxxxxxxx>
> ---
> .../devicetree/bindings/nvmem/imx-ocotp.txt | 4 +

Acked-by: Rob Herring <robh@xxxxxxxxxx>

> drivers/nvmem/imx-ocotp.c | 210 ++++++++++++++++++++-
> 2 files changed, 212 insertions(+), 2 deletions(-)