imx: driver for the IIM fusebox
commit5ccbeb3141c4814b17c4496e560cedc68a82548a
authorBaruch Siach <baruch@tkos.co.il>
Mon, 16 Aug 2010 14:10:34 +0000 (16 17:10 +0300)
committerSascha Hauer <s.hauer@pengutronix.de>
Tue, 17 Aug 2010 08:21:17 +0000 (17 10:21 +0200)
tree7611f990486fd60a9a3897eb912f97ff48afe654
parent2f1a1e6a88bcf9d6e12ab7c2e8d0c3fa11b9f9df
imx: driver for the IIM fusebox

This driver provides an interface for programming and sensing the IIM fusebox
which is present on some i.MX chips.

Since the IIM io addresses of the controlling registers and each fuse bank are
are not contiguous the driver implementation uses two drivers, imx_iim, and
imx_iim_bank.  The imx_iim is the "parent" driver for a device holding the
map_base address of the control registers.  The imx_iim_bank driver is for
child devices holding the map_base of each fuse bank.  The platform code then,
instantiate one imx_iim_bank device per fuse bank.

Fuses blow is a dangerous operation. Thus, the fuses blow functionality can be
disabled independently at configuration time. On run time this functionality
must be enabled explicitly by setting the permanent_write_enable parameter.

Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
arch/arm/mach-imx/Kconfig
arch/arm/mach-imx/Makefile
arch/arm/mach-imx/iim.c [new file with mode: 0644]