On 22/05/2019 02:46, Peng Fan wrote:
This patch adds i.MX8 nvmem ocotp driver to access fuse via RPC to i.MX8 system controller. Cc: Srinivas Kandagatla<srinivas.kandagatla@xxxxxxxxxx> Cc: Shawn Guo<shawnguo@xxxxxxxxxx> Cc: Sascha Hauer<s.hauer@xxxxxxxxxxxxxx> Cc: Pengutronix Kernel Team<kernel@xxxxxxxxxxxxxx> Cc: Fabio Estevam<festevam@xxxxxxxxx> Cc: NXP Linux Team<linux-imx@xxxxxxx> Cc:linux-arm-kernel@xxxxxxxxxxxxxxxxxxx Signed-off-by: Peng Fan<peng.fan@xxxxxxx> --- V3: Use imx_sc_msg_misc_fuse_read for req/resp Drop uneccessary check Drop the unnecessary type conversion Minor fixes according to v2 comments V2: Add "scu" or "SCU", Add imx_sc_misc_otp_fuse_read, minor fixes drivers/nvmem/Kconfig | 7 ++ drivers/nvmem/Makefile | 2 + drivers/nvmem/imx-ocotp-scu.c | 161 ++++++++++++++++++++++++++++++++++++++++++ 3 files changed, 170 insertions(+) create mode 100644 drivers/nvmem/imx-ocotp-scu.c
Applied 1/4 and 2/4 patches. defconfig and dts changes should go via arm-soc tree. Thanks, srini