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