forked from ~ljy/RK356X_SDK_RELEASE

hc
2024-01-04 1543e317f1da31b75942316931e8f491a8920811
kernel/drivers/misc/eeprom/Kconfig
....@@ -1,9 +1,12 @@
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
9
+ select REGMAP
710 select REGMAP_I2C
811 help
912 Enable this driver to get read/write support to most I2C EEPROMs
....@@ -33,6 +36,7 @@
3336 tristate "SPI EEPROMs from most vendors"
3437 depends on SPI && SYSFS
3538 select NVMEM
39
+ select NVMEM_SYSFS
3640 help
3741 Enable this driver to get read/write support to most SPI EEPROMs,
3842 after you configure the board init code to know about each eeprom
....@@ -42,12 +46,15 @@
4246 will be called at25.
4347
4448 config EEPROM_LEGACY
45
- tristate "Old I2C EEPROM reader"
49
+ tristate "Old I2C EEPROM reader (DEPRECATED)"
4650 depends on I2C && SYSFS
4751 help
4852 If you say yes here you get read-only access to the EEPROM data
4953 available on modern memory DIMMs and Sony Vaio laptops via I2C. Such
5054 EEPROMs could theoretically be available on other devices as well.
55
+
56
+ This driver is deprecated and will be removed soon, please use the
57
+ better at24 driver instead.
5158
5259 This driver can also be built as a module. If so, the module
5360 will be called eeprom.
....@@ -79,6 +86,7 @@
7986 depends on SPI && SYSFS
8087 select REGMAP
8188 select NVMEM
89
+ select NVMEM_SYSFS
8290 help
8391 Driver for the microwire EEPROM chipsets 93xx46x. The driver
8492 supports both read and write commands and also the command to
....@@ -111,4 +119,15 @@
111119 This driver can also be built as a module. If so, the module
112120 will be called idt_89hpesx.
113121
122
+config EEPROM_EE1004
123
+ tristate "SPD EEPROMs on DDR4 memory modules"
124
+ depends on I2C && SYSFS
125
+ help
126
+ Enable this driver to get read support to SPD EEPROMs following
127
+ the JEDEC EE1004 standard. These are typically found on DDR4
128
+ SDRAM memory modules.
129
+
130
+ This driver can also be built as a module. If so, the module
131
+ will be called ee1004.
132
+
114133 endmenu