]> git.baikalelectronics.ru Git - kernel.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)
commit378f9217f0d3b21c547bf395eefc4e844395e805
tree916730f9c8b338144c2ba2ec08bd93a9cf1d3b45
parentb899ea27b43c91f97b1383ff61083691bab8b031
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]