1*4882a593Smuzhiyun# SPDX-License-Identifier: GPL-2.0-only 2*4882a593Smuzhiyunmenu "EEPROM support" 3*4882a593Smuzhiyun 4*4882a593Smuzhiyunconfig EEPROM_AT24 5*4882a593Smuzhiyun tristate "I2C EEPROMs / RAMs / ROMs from most vendors" 6*4882a593Smuzhiyun depends on I2C && SYSFS 7*4882a593Smuzhiyun select NVMEM 8*4882a593Smuzhiyun select NVMEM_SYSFS 9*4882a593Smuzhiyun select REGMAP_I2C 10*4882a593Smuzhiyun help 11*4882a593Smuzhiyun Enable this driver to get read/write support to most I2C EEPROMs 12*4882a593Smuzhiyun and compatible devices like FRAMs, SRAMs, ROMs etc. After you 13*4882a593Smuzhiyun configure the driver to know about each chip on your target 14*4882a593Smuzhiyun board. Use these generic chip names, instead of vendor-specific 15*4882a593Smuzhiyun ones like at24c64, 24lc02 or fm24c04: 16*4882a593Smuzhiyun 17*4882a593Smuzhiyun 24c00, 24c01, 24c02, spd (readonly 24c02), 24c04, 24c08, 18*4882a593Smuzhiyun 24c16, 24c32, 24c64, 24c128, 24c256, 24c512, 24c1024, 24c2048 19*4882a593Smuzhiyun 20*4882a593Smuzhiyun Unless you like data loss puzzles, always be sure that any chip 21*4882a593Smuzhiyun you configure as a 24c32 (32 kbit) or larger is NOT really a 22*4882a593Smuzhiyun 24c16 (16 kbit) or smaller, and vice versa. Marking the chip 23*4882a593Smuzhiyun as read-only won't help recover from this. Also, if your chip 24*4882a593Smuzhiyun has any software write-protect mechanism you may want to review the 25*4882a593Smuzhiyun code to make sure this driver won't turn it on by accident. 26*4882a593Smuzhiyun 27*4882a593Smuzhiyun If you use this with an SMBus adapter instead of an I2C adapter, 28*4882a593Smuzhiyun full functionality is not available. Only smaller devices are 29*4882a593Smuzhiyun supported (24c16 and below, max 4 kByte). 30*4882a593Smuzhiyun 31*4882a593Smuzhiyun This driver can also be built as a module. If so, the module 32*4882a593Smuzhiyun will be called at24. 33*4882a593Smuzhiyun 34*4882a593Smuzhiyunconfig EEPROM_AT25 35*4882a593Smuzhiyun tristate "SPI EEPROMs from most vendors" 36*4882a593Smuzhiyun depends on SPI && SYSFS 37*4882a593Smuzhiyun select NVMEM 38*4882a593Smuzhiyun select NVMEM_SYSFS 39*4882a593Smuzhiyun help 40*4882a593Smuzhiyun Enable this driver to get read/write support to most SPI EEPROMs, 41*4882a593Smuzhiyun after you configure the board init code to know about each eeprom 42*4882a593Smuzhiyun on your target board. 43*4882a593Smuzhiyun 44*4882a593Smuzhiyun This driver can also be built as a module. If so, the module 45*4882a593Smuzhiyun will be called at25. 46*4882a593Smuzhiyun 47*4882a593Smuzhiyunconfig EEPROM_LEGACY 48*4882a593Smuzhiyun tristate "Old I2C EEPROM reader (DEPRECATED)" 49*4882a593Smuzhiyun depends on I2C && SYSFS 50*4882a593Smuzhiyun help 51*4882a593Smuzhiyun If you say yes here you get read-only access to the EEPROM data 52*4882a593Smuzhiyun available on modern memory DIMMs and Sony Vaio laptops via I2C. Such 53*4882a593Smuzhiyun EEPROMs could theoretically be available on other devices as well. 54*4882a593Smuzhiyun 55*4882a593Smuzhiyun This driver is deprecated and will be removed soon, please use the 56*4882a593Smuzhiyun better at24 driver instead. 57*4882a593Smuzhiyun 58*4882a593Smuzhiyun This driver can also be built as a module. If so, the module 59*4882a593Smuzhiyun will be called eeprom. 60*4882a593Smuzhiyun 61*4882a593Smuzhiyunconfig EEPROM_MAX6875 62*4882a593Smuzhiyun tristate "Maxim MAX6874/5 power supply supervisor" 63*4882a593Smuzhiyun depends on I2C 64*4882a593Smuzhiyun help 65*4882a593Smuzhiyun If you say yes here you get read-only support for the user EEPROM of 66*4882a593Smuzhiyun the Maxim MAX6874/5 EEPROM-programmable, quad power-supply 67*4882a593Smuzhiyun sequencer/supervisor. 68*4882a593Smuzhiyun 69*4882a593Smuzhiyun All other features of this chip should be accessed via i2c-dev. 70*4882a593Smuzhiyun 71*4882a593Smuzhiyun This driver can also be built as a module. If so, the module 72*4882a593Smuzhiyun will be called max6875. 73*4882a593Smuzhiyun 74*4882a593Smuzhiyun 75*4882a593Smuzhiyunconfig EEPROM_93CX6 76*4882a593Smuzhiyun tristate "EEPROM 93CX6 support" 77*4882a593Smuzhiyun help 78*4882a593Smuzhiyun This is a driver for the EEPROM chipsets 93c46 and 93c66. 79*4882a593Smuzhiyun The driver supports both read as well as write commands. 80*4882a593Smuzhiyun 81*4882a593Smuzhiyun If unsure, say N. 82*4882a593Smuzhiyun 83*4882a593Smuzhiyunconfig EEPROM_93XX46 84*4882a593Smuzhiyun tristate "Microwire EEPROM 93XX46 support" 85*4882a593Smuzhiyun depends on SPI && SYSFS 86*4882a593Smuzhiyun select REGMAP 87*4882a593Smuzhiyun select NVMEM 88*4882a593Smuzhiyun select NVMEM_SYSFS 89*4882a593Smuzhiyun help 90*4882a593Smuzhiyun Driver for the microwire EEPROM chipsets 93xx46x. The driver 91*4882a593Smuzhiyun supports both read and write commands and also the command to 92*4882a593Smuzhiyun erase the whole EEPROM. 93*4882a593Smuzhiyun 94*4882a593Smuzhiyun This driver can also be built as a module. If so, the module 95*4882a593Smuzhiyun will be called eeprom_93xx46. 96*4882a593Smuzhiyun 97*4882a593Smuzhiyun If unsure, say N. 98*4882a593Smuzhiyun 99*4882a593Smuzhiyunconfig EEPROM_DIGSY_MTC_CFG 100*4882a593Smuzhiyun bool "DigsyMTC display configuration EEPROMs device" 101*4882a593Smuzhiyun depends on GPIO_MPC5200 && SPI_GPIO 102*4882a593Smuzhiyun help 103*4882a593Smuzhiyun This option enables access to display configuration EEPROMs 104*4882a593Smuzhiyun on digsy_mtc board. You have to additionally select Microwire 105*4882a593Smuzhiyun EEPROM 93XX46 driver. sysfs entries will be created for that 106*4882a593Smuzhiyun EEPROM allowing to read/write the configuration data or to 107*4882a593Smuzhiyun erase the whole EEPROM. 108*4882a593Smuzhiyun 109*4882a593Smuzhiyun If unsure, say N. 110*4882a593Smuzhiyun 111*4882a593Smuzhiyunconfig EEPROM_IDT_89HPESX 112*4882a593Smuzhiyun tristate "IDT 89HPESx PCIe-swtiches EEPROM / CSR support" 113*4882a593Smuzhiyun depends on I2C && SYSFS 114*4882a593Smuzhiyun help 115*4882a593Smuzhiyun Enable this driver to get read/write access to EEPROM / CSRs 116*4882a593Smuzhiyun over IDT PCIe-swtich i2c-slave interface. 117*4882a593Smuzhiyun 118*4882a593Smuzhiyun This driver can also be built as a module. If so, the module 119*4882a593Smuzhiyun will be called idt_89hpesx. 120*4882a593Smuzhiyun 121*4882a593Smuzhiyunconfig EEPROM_EE1004 122*4882a593Smuzhiyun tristate "SPD EEPROMs on DDR4 memory modules" 123*4882a593Smuzhiyun depends on I2C && SYSFS 124*4882a593Smuzhiyun help 125*4882a593Smuzhiyun Enable this driver to get read support to SPD EEPROMs following 126*4882a593Smuzhiyun the JEDEC EE1004 standard. These are typically found on DDR4 127*4882a593Smuzhiyun SDRAM memory modules. 128*4882a593Smuzhiyun 129*4882a593Smuzhiyun This driver can also be built as a module. If so, the module 130*4882a593Smuzhiyun will be called ee1004. 131*4882a593Smuzhiyun 132*4882a593Smuzhiyunendmenu 133