]> git.karo-electronics.de Git - karo-tx-linux.git/commit
nvmem: add NXP LPC18xx OTP driver
authorJoachim Eastwood <manabian@gmail.com>
Mon, 31 Oct 2016 14:45:16 +0000 (14:45 +0000)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 10 Nov 2016 14:34:55 +0000 (15:34 +0100)
commit88806daf10f4eeaf7d5b41f360e37592bd9a759c
tree916730f9c8b338144c2ba2ec08bd93a9cf1d3b45
parent71aeebff2c1153037fb900e17e1accb0f7812f36
nvmem: add NXP LPC18xx OTP driver

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@gmail.com>
Tested-by: Vladimir Zapolskiy <vz@mleia.com>
Signed-off-by: Srinivas Kandagatla <srinivas.kandagatla@linaro.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/nvmem/Kconfig
drivers/nvmem/Makefile
drivers/nvmem/lpc18xx_otp.c [new file with mode: 0644]