summaryrefslogtreecommitdiffstats
path: root/drivers/misc/eeprom/Kconfig
diff options
context:
space:
mode:
authorAnatolij Gustschin <agust@denx.de>2011-07-26 02:13:27 +0200
committerLinus Torvalds <torvalds@linux-foundation.org>2011-07-26 05:57:16 +0200
commit06b4501e88ad10f02849a3f9d7408ed6ae15a53f (patch)
tree641a1c6044582b393ad4d877f6a9924cc495bfc0 /drivers/misc/eeprom/Kconfig
parentcheckpatch.pl: update $logFunctions (diff)
downloadlinux-06b4501e88ad10f02849a3f9d7408ed6ae15a53f.tar.xz
linux-06b4501e88ad10f02849a3f9d7408ed6ae15a53f.zip
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>
Diffstat (limited to 'drivers/misc/eeprom/Kconfig')
-rw-r--r--drivers/misc/eeprom/Kconfig13
1 files changed, 13 insertions, 0 deletions
diff --git a/drivers/misc/eeprom/Kconfig b/drivers/misc/eeprom/Kconfig
index 9118613af321..620de283b40b 100644
--- a/drivers/misc/eeprom/Kconfig
+++ b/drivers/misc/eeprom/Kconfig
@@ -70,4 +70,17 @@ config EEPROM_93CX6
If unsure, say N.
+config EEPROM_93XX46
+ tristate "Microwire EEPROM 93XX46 support"
+ depends on SPI && SYSFS
+ help
+ Driver for the microwire EEPROM chipsets 93xx46x. The driver
+ supports both read and write commands and also the command to
+ erase the whole EEPROM.
+
+ This driver can also be built as a module. If so, the module
+ will be called eeprom_93xx46.
+
+ If unsure, say N.
+
endmenu