forked from ~ljy/RK356X_SDK_RELEASE

hc
2023-12-09 95099d4622f8cb224d94e314c7a8e0df60b13f87
kernel/drivers/misc/eeprom/Kconfig
....@@ -1,9 +1,11 @@
1
+# SPDX-License-Identifier: GPL-2.0-only
12 menu "EEPROM support"
23
34 config EEPROM_AT24
45 tristate "I2C EEPROMs / RAMs / ROMs from most vendors"
56 depends on I2C && SYSFS
67 select NVMEM
8
+ select NVMEM_SYSFS
79 select REGMAP_I2C
810 help
911 Enable this driver to get read/write support to most I2C EEPROMs
....@@ -33,6 +35,7 @@
3335 tristate "SPI EEPROMs from most vendors"
3436 depends on SPI && SYSFS
3537 select NVMEM
38
+ select NVMEM_SYSFS
3639 help
3740 Enable this driver to get read/write support to most SPI EEPROMs,
3841 after you configure the board init code to know about each eeprom
....@@ -42,12 +45,15 @@
4245 will be called at25.
4346
4447 config EEPROM_LEGACY
45
- tristate "Old I2C EEPROM reader"
48
+ tristate "Old I2C EEPROM reader (DEPRECATED)"
4649 depends on I2C && SYSFS
4750 help
4851 If you say yes here you get read-only access to the EEPROM data
4952 available on modern memory DIMMs and Sony Vaio laptops via I2C. Such
5053 EEPROMs could theoretically be available on other devices as well.
54
+
55
+ This driver is deprecated and will be removed soon, please use the
56
+ better at24 driver instead.
5157
5258 This driver can also be built as a module. If so, the module
5359 will be called eeprom.
....@@ -79,6 +85,7 @@
7985 depends on SPI && SYSFS
8086 select REGMAP
8187 select NVMEM
88
+ select NVMEM_SYSFS
8289 help
8390 Driver for the microwire EEPROM chipsets 93xx46x. The driver
8491 supports both read and write commands and also the command to
....@@ -111,4 +118,15 @@
111118 This driver can also be built as a module. If so, the module
112119 will be called idt_89hpesx.
113120
121
+config EEPROM_EE1004
122
+ tristate "SPD EEPROMs on DDR4 memory modules"
123
+ depends on I2C && SYSFS
124
+ help
125
+ Enable this driver to get read support to SPD EEPROMs following
126
+ the JEDEC EE1004 standard. These are typically found on DDR4
127
+ SDRAM memory modules.
128
+
129
+ This driver can also be built as a module. If so, the module
130
+ will be called ee1004.
131
+
114132 endmenu