nvmem: imx: support i.MX93 OCOTP
authorPeng Fan <peng.fan@nxp.com>
Sun, 11 Jun 2023 14:03:25 +0000 (15:03 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 15 Jun 2023 11:42:17 +0000 (13:42 +0200)
commit22e9e6fcfb5042cb6d6c7874c459b034800092f1
tree9d8477d50971fd4a095e365c96de2dca06851f89
parent805ba376066fa90d3e27aef9cadacc376d662011
nvmem: imx: support i.MX93 OCOTP

Add i.MX93 OCOTP support. i.MX93 OCOTP has two parts: Fuse shadow
block(fsb) and fuse managed by ELE. The FSB part could be directly
accessed with MMIO, the ELE could only be accessed with ELE API.

Currently the ELE API is not ready, so NULL function callback is used,
but it was tested with downstream ELE API.

Signed-off-by: Peng Fan <peng.fan@nxp.com>
Signed-off-by: Srinivas Kandagatla <srinivas.kandagatla@linaro.org>
Message-ID: <20230611140330.154222-22-srinivas.kandagatla@linaro.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/nvmem/Kconfig
drivers/nvmem/Makefile
drivers/nvmem/imx-ocotp-ele.c [new file with mode: 0644]