misc/eeprom: add driver for microwire 93xx46 EEPROMs
authorAnatolij Gustschin <agust@denx.de>
Tue, 26 Jul 2011 00:13:27 +0000 (17:13 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Tue, 26 Jul 2011 03:57:16 +0000 (20:57 -0700)
commit06b4501e88ad10f02849a3f9d7408ed6ae15a53f
tree641a1c6044582b393ad4d877f6a9924cc495bfc0
parent6e60c02e9d9427f59842192bdb123cbeaf8bc9a0
misc/eeprom: add driver for microwire 93xx46 EEPROMs

Add EEPROM driver for 93xx46 chips.  It can also be used with spi_gpio
driver to access 93xx46 EEPROMs connected over GPIO lines.  This driver
supports read/write/erase access to the EEPROM chips over sysfs files.

[rdunlap@xenotime.net: fix printk format]
Signed-off-by: Anatolij Gustschin <agust@denx.de>
Cc: Jonathan Cameron <jic23@cam.ac.uk>
Cc: Grant Likely <grant.likely@secretlab.ca>
Signed-off-by: Randy Dunlap <rdunlap@xenotime.net>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/misc/eeprom/Kconfig
drivers/misc/eeprom/Makefile
drivers/misc/eeprom/eeprom_93xx46.c [new file with mode: 0644]
include/linux/eeprom_93xx46.h [new file with mode: 0644]