[PATCH 1/3] nvmem: add NXP LPC18xx OTP driver

Srinivas Kandagatla srinivas.kandagatla at linaro.org
Mon Sep 19 03:56:30 PDT 2016


On 13/09/16 17:12, Joachim Eastwood wrote:
> Add simple read only driver for the internal OTP (One Time Programmable)
> memory found on all NXP LPC18xx and LPC43xx devices.
>
> The OTP memory is split into 4 banks each with 4 32-bits word. Some of
> the banks contain predefined data while others are for general purpose
> and user programmable via the OTP API in ROM. Note that writing to the
> OTP memory is not yet supported.
>
> Signed-off-by: Joachim Eastwood <manabian at gmail.com>
> ---
>  drivers/nvmem/Kconfig       |  10 ++++
>  drivers/nvmem/Makefile      |   2 +
>  drivers/nvmem/lpc18xx_otp.c | 123 ++++++++++++++++++++++++++++++++++++++++++++
>  3 files changed, 135 insertions(+)
>  create mode 100644 drivers/nvmem/lpc18xx_otp.c
>

Patch looks good to me.

I will pick this patch + bindings patch once rc1 lands in.

Thanks,
srini



More information about the linux-arm-kernel mailing list