xref: /linux/drivers/misc/eeprom/Kconfig (revision 1c4b6e2c7534b9b193f440f77dd47e420a150288)
15195e509SWolfram Sangmenu "EEPROM support"
25195e509SWolfram Sang
3dd7f8dbeSJean Delvareconfig EEPROM_AT24
481e34f91SLars Poeschel	tristate "I2C EEPROMs / RAMs / ROMs from most vendors"
5781b8a2aSWolfram Sang	depends on I2C && SYSFS
657d15550SAndrew Lunn	select REGMAP
757d15550SAndrew Lunn	select NVMEM
85195e509SWolfram Sang	help
981e34f91SLars Poeschel	  Enable this driver to get read/write support to most I2C EEPROMs
1081e34f91SLars Poeschel	  and compatible devices like FRAMs, SRAMs, ROMs etc. After you
1181e34f91SLars Poeschel	  configure the driver to know about each chip on your target
1281e34f91SLars Poeschel	  board.  Use these generic chip names, instead of vendor-specific
1381e34f91SLars Poeschel	  ones like at24c64, 24lc02 or fm24c04:
145195e509SWolfram Sang
155195e509SWolfram Sang	     24c00, 24c01, 24c02, spd (readonly 24c02), 24c04, 24c08,
165195e509SWolfram Sang	     24c16, 24c32, 24c64, 24c128, 24c256, 24c512, 24c1024
175195e509SWolfram Sang
185195e509SWolfram Sang	  Unless you like data loss puzzles, always be sure that any chip
195195e509SWolfram Sang	  you configure as a 24c32 (32 kbit) or larger is NOT really a
205195e509SWolfram Sang	  24c16 (16 kbit) or smaller, and vice versa. Marking the chip
215195e509SWolfram Sang	  as read-only won't help recover from this. Also, if your chip
225195e509SWolfram Sang	  has any software write-protect mechanism you may want to review the
235195e509SWolfram Sang	  code to make sure this driver won't turn it on by accident.
245195e509SWolfram Sang
255195e509SWolfram Sang	  If you use this with an SMBus adapter instead of an I2C adapter,
265195e509SWolfram Sang	  full functionality is not available.  Only smaller devices are
275195e509SWolfram Sang	  supported (24c16 and below, max 4 kByte).
285195e509SWolfram Sang
295195e509SWolfram Sang	  This driver can also be built as a module.  If so, the module
305195e509SWolfram Sang	  will be called at24.
315195e509SWolfram Sang
32dd7f8dbeSJean Delvareconfig EEPROM_AT25
33e51d565fSWolfram Sang	tristate "SPI EEPROMs from most vendors"
34e51d565fSWolfram Sang	depends on SPI && SYSFS
355a99f570SAndrew Lunn	select REGMAP
365a99f570SAndrew Lunn	select NVMEM
37e51d565fSWolfram Sang	help
38e51d565fSWolfram Sang	  Enable this driver to get read/write support to most SPI EEPROMs,
39e51d565fSWolfram Sang	  after you configure the board init code to know about each eeprom
40e51d565fSWolfram Sang	  on your target board.
41e51d565fSWolfram Sang
42e51d565fSWolfram Sang	  This driver can also be built as a module.  If so, the module
43e51d565fSWolfram Sang	  will be called at25.
44e51d565fSWolfram Sang
45dd7f8dbeSJean Delvareconfig EEPROM_LEGACY
462e157888SWolfram Sang	tristate "Old I2C EEPROM reader"
47dd7f8dbeSJean Delvare	depends on I2C && SYSFS
482e157888SWolfram Sang	help
492e157888SWolfram Sang	  If you say yes here you get read-only access to the EEPROM data
502e157888SWolfram Sang	  available on modern memory DIMMs and Sony Vaio laptops via I2C. Such
512e157888SWolfram Sang	  EEPROMs could theoretically be available on other devices as well.
522e157888SWolfram Sang
532e157888SWolfram Sang	  This driver can also be built as a module.  If so, the module
542e157888SWolfram Sang	  will be called eeprom.
552e157888SWolfram Sang
564b364f23SWolfram Sangconfig EEPROM_MAX6875
574b364f23SWolfram Sang	tristate "Maxim MAX6874/5 power supply supervisor"
5865929215SGreg Kroah-Hartman	depends on I2C
594b364f23SWolfram Sang	help
604b364f23SWolfram Sang	  If you say yes here you get read-only support for the user EEPROM of
614b364f23SWolfram Sang	  the Maxim MAX6874/5 EEPROM-programmable, quad power-supply
624b364f23SWolfram Sang	  sequencer/supervisor.
634b364f23SWolfram Sang
644b364f23SWolfram Sang	  All other features of this chip should be accessed via i2c-dev.
654b364f23SWolfram Sang
664b364f23SWolfram Sang	  This driver can also be built as a module.  If so, the module
674b364f23SWolfram Sang	  will be called max6875.
684b364f23SWolfram Sang
694b364f23SWolfram Sang
700eb6da20SWolfram Sangconfig EEPROM_93CX6
710eb6da20SWolfram Sang	tristate "EEPROM 93CX6 support"
720eb6da20SWolfram Sang	help
730eb6da20SWolfram Sang	  This is a driver for the EEPROM chipsets 93c46 and 93c66.
740eb6da20SWolfram Sang	  The driver supports both read as well as write commands.
750eb6da20SWolfram Sang
760eb6da20SWolfram Sang	  If unsure, say N.
770eb6da20SWolfram Sang
7806b4501eSAnatolij Gustschinconfig EEPROM_93XX46
7906b4501eSAnatolij Gustschin	tristate "Microwire EEPROM 93XX46 support"
8006b4501eSAnatolij Gustschin	depends on SPI && SYSFS
81*1c4b6e2cSAndrew Lunn	select REGMAP
82*1c4b6e2cSAndrew Lunn	select NVMEM
8306b4501eSAnatolij Gustschin	help
8406b4501eSAnatolij Gustschin	  Driver for the microwire EEPROM chipsets 93xx46x. The driver
8506b4501eSAnatolij Gustschin	  supports both read and write commands and also the command to
8606b4501eSAnatolij Gustschin	  erase the whole EEPROM.
8706b4501eSAnatolij Gustschin
8806b4501eSAnatolij Gustschin	  This driver can also be built as a module.  If so, the module
8906b4501eSAnatolij Gustschin	  will be called eeprom_93xx46.
9006b4501eSAnatolij Gustschin
9106b4501eSAnatolij Gustschin	  If unsure, say N.
9206b4501eSAnatolij Gustschin
93469dded1SAnatolij Gustschinconfig EEPROM_DIGSY_MTC_CFG
94469dded1SAnatolij Gustschin	bool "DigsyMTC display configuration EEPROMs device"
95001ef5e4SPaul Bolle	depends on GPIO_MPC5200 && SPI_GPIO
96469dded1SAnatolij Gustschin	help
97469dded1SAnatolij Gustschin	  This option enables access to display configuration EEPROMs
98469dded1SAnatolij Gustschin	  on digsy_mtc board. You have to additionally select Microwire
99469dded1SAnatolij Gustschin	  EEPROM 93XX46 driver. sysfs entries will be created for that
100469dded1SAnatolij Gustschin	  EEPROM allowing to read/write the configuration data or to
101469dded1SAnatolij Gustschin	  erase the whole EEPROM.
102469dded1SAnatolij Gustschin
103469dded1SAnatolij Gustschin	  If unsure, say N.
104469dded1SAnatolij Gustschin
1055195e509SWolfram Sangendmenu
106