xref: /linux/drivers/misc/eeprom/Kconfig (revision 2e157888f132131f8877affd2785dcee4c227c1d)
15195e509SWolfram Sangmenu "EEPROM support"
25195e509SWolfram Sang
35195e509SWolfram Sangconfig AT24
45195e509SWolfram Sang	tristate "I2C EEPROMs from most vendors"
55195e509SWolfram Sang	depends on I2C && SYSFS && EXPERIMENTAL
65195e509SWolfram Sang	help
75195e509SWolfram Sang	  Enable this driver to get read/write support to most I2C EEPROMs,
85195e509SWolfram Sang	  after you configure the driver to know about each EEPROM on
95195e509SWolfram Sang	  your target board.  Use these generic chip names, instead of
105195e509SWolfram Sang	  vendor-specific ones like at24c64 or 24lc02:
115195e509SWolfram Sang
125195e509SWolfram Sang	     24c00, 24c01, 24c02, spd (readonly 24c02), 24c04, 24c08,
135195e509SWolfram Sang	     24c16, 24c32, 24c64, 24c128, 24c256, 24c512, 24c1024
145195e509SWolfram Sang
155195e509SWolfram Sang	  Unless you like data loss puzzles, always be sure that any chip
165195e509SWolfram Sang	  you configure as a 24c32 (32 kbit) or larger is NOT really a
175195e509SWolfram Sang	  24c16 (16 kbit) or smaller, and vice versa. Marking the chip
185195e509SWolfram Sang	  as read-only won't help recover from this. Also, if your chip
195195e509SWolfram Sang	  has any software write-protect mechanism you may want to review the
205195e509SWolfram Sang	  code to make sure this driver won't turn it on by accident.
215195e509SWolfram Sang
225195e509SWolfram Sang	  If you use this with an SMBus adapter instead of an I2C adapter,
235195e509SWolfram Sang	  full functionality is not available.  Only smaller devices are
245195e509SWolfram Sang	  supported (24c16 and below, max 4 kByte).
255195e509SWolfram Sang
265195e509SWolfram Sang	  This driver can also be built as a module.  If so, the module
275195e509SWolfram Sang	  will be called at24.
285195e509SWolfram Sang
29*2e157888SWolfram Sangconfig SENSORS_EEPROM
30*2e157888SWolfram Sang	tristate "Old I2C EEPROM reader"
31*2e157888SWolfram Sang	depends on I2C && EXPERIMENTAL
32*2e157888SWolfram Sang	help
33*2e157888SWolfram Sang	  If you say yes here you get read-only access to the EEPROM data
34*2e157888SWolfram Sang	  available on modern memory DIMMs and Sony Vaio laptops via I2C. Such
35*2e157888SWolfram Sang	  EEPROMs could theoretically be available on other devices as well.
36*2e157888SWolfram Sang
37*2e157888SWolfram Sang	  This driver can also be built as a module.  If so, the module
38*2e157888SWolfram Sang	  will be called eeprom.
39*2e157888SWolfram Sang
405195e509SWolfram Sangendmenu
41