OSDN Git Service

nvmem: Add driver for the i.MX IIM
authorMichael Grzeschik <m.grzeschik@pengutronix.de>
Fri, 31 Mar 2017 12:44:50 +0000 (13:44 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 8 Apr 2017 15:51:48 +0000 (17:51 +0200)
commitc066c1c0e43f6914d34a0c574c0110b523820567
tree043f557db0460a3e6b0b629e3ecfc009e42dd71c
parent4cefb74ada57c479e4f8b92d28008d35c1527e87
nvmem: Add driver for the i.MX IIM

This adds a readonly nvmem driver for the i.MX IC Identification Module
(IIM). The IIM is found on the older i.MX SoCs like the i.MX25, i.MX27,
i.MX31, i.MX35, i.MX51 and the i.MX53.

The IIM can control up to 8 fuse banks with 256 bit each. Not all of the
banks are equipped on the different SoCs. The actual number of fuses
differ from 512 on the i.MX27 and 1152 on the i.MX53.

The fuses are one time writable, but writing is currently not supported
in the driver.

Signed-off-by: Michael Grzeschik <m.grzeschik@pengutronix.de>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
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/imx-iim.c [new file with mode: 0644]