OpenCloudOS-Kernel/drivers/nvmem
Bryan O'Donoghue ffd9115f65 nvmem: imx-ocotp: Add support for banked OTP addressing
The i.MX7S/D takes the bank address in the CTRLn.ADDR field and the data
value in one of the DATAx {0, 1, 2, 3} register fields. The current write
routine is based on writing the CTRLn.ADDR field and writing a single DATA
register only.

Fixes: 0642bac7da ("nvmem: imx-ocotp: add write support")

Signed-off-by: Bryan O'Donoghue <pure.logic@nexus-software.ie>
Reviewed-by: Philipp Zabel <p.zabel@pengutronix.de>
Signed-off-by: Srinivas Kandagatla <srinivas.kandagatla@linaro.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2017-11-08 14:19:05 +01:00
..
Kconfig nvmem: uniphier: add UniPhier eFuse driver 2017-11-08 14:19:05 +01:00
Makefile nvmem: uniphier: add UniPhier eFuse driver 2017-11-08 14:19:05 +01:00
bcm-ocotp.c nvmem: set nvmem->owner to nvmem->dev->driver->owner if unset 2017-11-08 13:54:17 +01:00
core.c nvmem: set nvmem->owner to nvmem->dev->driver->owner if unset 2017-11-08 13:54:17 +01:00
imx-iim.c nvmem: set nvmem->owner to nvmem->dev->driver->owner if unset 2017-11-08 13:54:17 +01:00
imx-ocotp.c nvmem: imx-ocotp: Add support for banked OTP addressing 2017-11-08 14:19:05 +01:00
lpc18xx_eeprom.c nvmem: set nvmem->owner to nvmem->dev->driver->owner if unset 2017-11-08 13:54:17 +01:00
lpc18xx_otp.c nvmem: set nvmem->owner to nvmem->dev->driver->owner if unset 2017-11-08 13:54:17 +01:00
meson-efuse.c nvmem: set nvmem->owner to nvmem->dev->driver->owner if unset 2017-11-08 13:54:17 +01:00
meson-mx-efuse.c nvmem: add a driver for the Amlogic Meson6/Meson8/Meson8b SoCs 2017-10-20 15:38:02 +02:00
mtk-efuse.c nvmem: set nvmem->owner to nvmem->dev->driver->owner if unset 2017-11-08 13:54:17 +01:00
mxs-ocotp.c nvmem: set nvmem->owner to nvmem->dev->driver->owner if unset 2017-11-08 13:54:17 +01:00
qfprom.c nvmem: set nvmem->owner to nvmem->dev->driver->owner if unset 2017-11-08 13:54:17 +01:00
rockchip-efuse.c nvmem: set nvmem->owner to nvmem->dev->driver->owner if unset 2017-11-08 13:54:17 +01:00
snvs_lpgpr.c nvmem: add snvs_lpgpr driver 2017-10-04 10:30:53 +02:00
sunxi_sid.c nvmem: set nvmem->owner to nvmem->dev->driver->owner if unset 2017-11-08 13:54:17 +01:00
uniphier-efuse.c nvmem: uniphier: add UniPhier eFuse driver 2017-11-08 14:19:05 +01:00
vf610-ocotp.c nvmem: set nvmem->owner to nvmem->dev->driver->owner if unset 2017-11-08 13:54:17 +01:00