Kconfig 4.3 KB

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