0001 # SPDX-License-Identifier: GPL-2.0-only
0002 menu "EEPROM support"
0003
0004 config EEPROM_AT24
0005 tristate "I2C EEPROMs / RAMs / ROMs from most vendors"
0006 depends on I2C && SYSFS
0007 select NVMEM
0008 select NVMEM_SYSFS
0009 select REGMAP_I2C
0010 help
0011 Enable this driver to get read/write support to most I2C EEPROMs
0012 and compatible devices like FRAMs, SRAMs, ROMs etc. After you
0013 configure the driver to know about each chip on your target
0014 board. Use these generic chip names, instead of vendor-specific
0015 ones like at24c64, 24lc02 or fm24c04:
0016
0017 24c00, 24c01, 24c02, spd (readonly 24c02), 24c04, 24c08,
0018 24c16, 24c32, 24c64, 24c128, 24c256, 24c512, 24c1024, 24c2048
0019
0020 Unless you like data loss puzzles, always be sure that any chip
0021 you configure as a 24c32 (32 kbit) or larger is NOT really a
0022 24c16 (16 kbit) or smaller, and vice versa. Marking the chip
0023 as read-only won't help recover from this. Also, if your chip
0024 has any software write-protect mechanism you may want to review the
0025 code to make sure this driver won't turn it on by accident.
0026
0027 If you use this with an SMBus adapter instead of an I2C adapter,
0028 full functionality is not available. Only smaller devices are
0029 supported (24c16 and below, max 4 kByte).
0030
0031 This driver can also be built as a module. If so, the module
0032 will be called at24.
0033
0034 config EEPROM_AT25
0035 tristate "SPI EEPROMs (FRAMs) from most vendors"
0036 depends on SPI && SYSFS
0037 select NVMEM
0038 select NVMEM_SYSFS
0039 help
0040 Enable this driver to get read/write support to most SPI EEPROMs
0041 and Cypress FRAMs,
0042 after you configure the board init code to know about each eeprom
0043 on your target board.
0044
0045 This driver can also be built as a module. If so, the module
0046 will be called at25.
0047
0048 config EEPROM_LEGACY
0049 tristate "Old I2C EEPROM reader (DEPRECATED)"
0050 depends on I2C && SYSFS
0051 help
0052 If you say yes here you get read-only access to the EEPROM data
0053 available on modern memory DIMMs and Sony Vaio laptops via I2C. Such
0054 EEPROMs could theoretically be available on other devices as well.
0055
0056 This driver is deprecated and will be removed soon, please use the
0057 better at24 driver instead.
0058
0059 This driver can also be built as a module. If so, the module
0060 will be called eeprom.
0061
0062 config EEPROM_MAX6875
0063 tristate "Maxim MAX6874/5 power supply supervisor"
0064 depends on I2C
0065 help
0066 If you say yes here you get read-only support for the user EEPROM of
0067 the Maxim MAX6874/5 EEPROM-programmable, quad power-supply
0068 sequencer/supervisor.
0069
0070 All other features of this chip should be accessed via i2c-dev.
0071
0072 This driver can also be built as a module. If so, the module
0073 will be called max6875.
0074
0075
0076 config EEPROM_93CX6
0077 tristate "EEPROM 93CX6 support"
0078 help
0079 This is a driver for the EEPROM chipsets 93c46 and 93c66.
0080 The driver supports both read as well as write commands.
0081
0082 If unsure, say N.
0083
0084 config EEPROM_93XX46
0085 tristate "Microwire EEPROM 93XX46 support"
0086 depends on SPI && SYSFS
0087 select REGMAP
0088 select NVMEM
0089 select NVMEM_SYSFS
0090 help
0091 Driver for the microwire EEPROM chipsets 93xx46x. The driver
0092 supports both read and write commands and also the command to
0093 erase the whole EEPROM.
0094
0095 This driver can also be built as a module. If so, the module
0096 will be called eeprom_93xx46.
0097
0098 If unsure, say N.
0099
0100 config EEPROM_DIGSY_MTC_CFG
0101 bool "DigsyMTC display configuration EEPROMs device"
0102 depends on GPIO_MPC5200 && SPI_GPIO
0103 help
0104 This option enables access to display configuration EEPROMs
0105 on digsy_mtc board. You have to additionally select Microwire
0106 EEPROM 93XX46 driver. sysfs entries will be created for that
0107 EEPROM allowing to read/write the configuration data or to
0108 erase the whole EEPROM.
0109
0110 If unsure, say N.
0111
0112 config EEPROM_IDT_89HPESX
0113 tristate "IDT 89HPESx PCIe-swtiches EEPROM / CSR support"
0114 depends on I2C && SYSFS
0115 help
0116 Enable this driver to get read/write access to EEPROM / CSRs
0117 over IDT PCIe-swtich i2c-slave interface.
0118
0119 This driver can also be built as a module. If so, the module
0120 will be called idt_89hpesx.
0121
0122 config EEPROM_EE1004
0123 tristate "SPD EEPROMs on DDR4 memory modules"
0124 depends on I2C && SYSFS
0125 help
0126 Enable this driver to get read support to SPD EEPROMs following
0127 the JEDEC EE1004 standard. These are typically found on DDR4
0128 SDRAM memory modules.
0129
0130 This driver can also be built as a module. If so, the module
0131 will be called ee1004.
0132
0133 endmenu