diff options
author | Anatolij Gustschin <agust@denx.de> | 2011-07-25 20:13:27 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2011-07-25 23:57:16 -0400 |
commit | 06b4501e88ad10f02849a3f9d7408ed6ae15a53f (patch) | |
tree | 641a1c6044582b393ad4d877f6a9924cc495bfc0 /drivers/misc/eeprom/Kconfig | |
parent | 6e60c02e9d9427f59842192bdb123cbeaf8bc9a0 (diff) |
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/Kconfig | 13 |
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 | |||
70 | 70 | ||
71 | If unsure, say N. | 71 | If unsure, say N. |
72 | 72 | ||
73 | config EEPROM_93XX46 | ||
74 | tristate "Microwire EEPROM 93XX46 support" | ||
75 | depends on SPI && SYSFS | ||
76 | help | ||
77 | Driver for the microwire EEPROM chipsets 93xx46x. The driver | ||
78 | supports both read and write commands and also the command to | ||
79 | erase the whole EEPROM. | ||
80 | |||
81 | This driver can also be built as a module. If so, the module | ||
82 | will be called eeprom_93xx46. | ||
83 | |||
84 | If unsure, say N. | ||
85 | |||
73 | endmenu | 86 | endmenu |