Kconfig 4.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170
  1. # SPDX-License-Identifier: GPL-2.0-only
  2. #
  3. # 1-wire slaves configuration
  4. #
  5. menu "1-wire Slaves"
  6. config W1_SLAVE_THERM
  7. tristate "Thermal family implementation"
  8. help
  9. Say Y here if you want to connect 1-wire thermal sensors to your
  10. wire.
  11. config W1_SLAVE_SMEM
  12. tristate "Simple 64bit memory family implementation"
  13. help
  14. Say Y here if you want to connect 1-wire
  15. simple 64bit memory rom(ds2401/ds2411/ds1990*) to your wire.
  16. config W1_SLAVE_DS2405
  17. tristate "DS2405 Addressable Switch"
  18. help
  19. Say Y or M here if you want to use a DS2405 1-wire
  20. single-channel addressable switch.
  21. This device can also work as a single-channel
  22. binary remote sensor.
  23. config W1_SLAVE_DS2408
  24. tristate "8-Channel Addressable Switch (IO Expander) 0x29 family support (DS2408)"
  25. help
  26. Say Y here if you want to use a 1-wire
  27. DS2408 8-Channel Addressable Switch device support
  28. config W1_SLAVE_DS2408_READBACK
  29. bool "Read-back values written to DS2408's output register"
  30. depends on W1_SLAVE_DS2408
  31. default y
  32. help
  33. Enabling this will cause the driver to read back the values written
  34. to the chip's output register in order to detect errors.
  35. This is slower but useful when debugging chips and/or busses.
  36. config W1_SLAVE_DS2413
  37. tristate "Dual Channel Addressable Switch 0x3a family support (DS2413)"
  38. help
  39. Say Y here if you want to use a 1-wire
  40. DS2413 Dual Channel Addressable Switch device support
  41. config W1_SLAVE_DS2406
  42. tristate "Dual Channel Addressable Switch 0x12 family support (DS2406)"
  43. select CRC16
  44. help
  45. Say Y or M here if you want to use a 1-wire
  46. DS2406 Dual Channel Addressable Switch. EPROM read/write
  47. support for these devices is not implemented.
  48. config W1_SLAVE_DS2423
  49. tristate "Counter 1-wire device (DS2423)"
  50. select CRC16
  51. help
  52. If you enable this you can read the counter values available
  53. in the DS2423 chipset from the w1_slave file under the
  54. sys file system.
  55. Say Y here if you want to use a 1-wire
  56. counter family device (DS2423).
  57. config W1_SLAVE_DS2805
  58. tristate "112-byte EEPROM support (DS28E05)"
  59. help
  60. Say Y here if you want to use a 1-wire
  61. is a 112-byte user-programmable EEPROM is
  62. organized as 7 pages of 16 bytes each with 64bit
  63. unique number. Requires OverDrive Speed to talk to.
  64. config W1_SLAVE_DS2430
  65. tristate "256b EEPROM family support (DS2430)"
  66. help
  67. Say Y here if you want to use a 1-wire 256bit EEPROM
  68. family device (DS2430).
  69. This EEPROM is organized as one page of 32 bytes for random
  70. access.
  71. config W1_SLAVE_DS2431
  72. tristate "1kb EEPROM family support (DS2431)"
  73. help
  74. Say Y here if you want to use a 1-wire
  75. 1kb EEPROM family device (DS2431)
  76. config W1_SLAVE_DS2433
  77. tristate "4kb EEPROM family support (DS2433)"
  78. help
  79. Say Y here if you want to use a 1-wire
  80. 4kb EEPROM family device (DS2433).
  81. config W1_SLAVE_DS2433_CRC
  82. bool "Protect DS2433 data with a CRC16"
  83. depends on W1_SLAVE_DS2433
  84. select CRC16
  85. help
  86. Say Y here to protect DS2433 data with a CRC16.
  87. Each block has 30 bytes of data and a two byte CRC16.
  88. Full block writes are only allowed if the CRC is valid.
  89. config W1_SLAVE_DS2438
  90. tristate "DS2438 Smart Battery Monitor 0x26 family support"
  91. help
  92. Say Y here if you want to use a 1-wire
  93. DS2438 Smart Battery Monitor device support
  94. config W1_SLAVE_DS250X
  95. tristate "512b/1kb/16kb EPROM family support"
  96. select CRC16
  97. help
  98. Say Y here if you want to use a 1-wire
  99. 512b/1kb/16kb EPROM family device (DS250x).
  100. config W1_SLAVE_DS2780
  101. tristate "Dallas 2780 battery monitor chip"
  102. help
  103. If you enable this you will have the DS2780 battery monitor
  104. chip support.
  105. The battery monitor chip is used in many batteries/devices
  106. as the one who is responsible for charging/discharging/monitoring
  107. Li+ batteries.
  108. If you are unsure, say N.
  109. config W1_SLAVE_DS2781
  110. tristate "Dallas 2781 battery monitor chip"
  111. help
  112. If you enable this you will have the DS2781 battery monitor
  113. chip support.
  114. The battery monitor chip is used in many batteries/devices
  115. as the one who is responsible for charging/discharging/monitoring
  116. Li+ batteries.
  117. If you are unsure, say N.
  118. config W1_SLAVE_DS28E04
  119. tristate "4096-Bit Addressable 1-Wire EEPROM with PIO (DS28E04-100)"
  120. select CRC16
  121. help
  122. If you enable this you will have the DS28E04-100
  123. chip support.
  124. Say Y here if you want to use a 1-wire
  125. 4kb EEPROM with PIO family device (DS28E04).
  126. If you are unsure, say N.
  127. config W1_SLAVE_DS28E17
  128. tristate "1-wire-to-I2C master bridge (DS28E17)"
  129. select CRC16
  130. depends on I2C
  131. help
  132. Say Y here if you want to use the DS28E17 1-wire-to-I2C master bridge.
  133. For each DS28E17 detected, a new I2C adapter is created within the
  134. kernel. I2C devices on that bus can be configured to be used by the
  135. kernel and userspace tools as on any other "native" I2C bus.
  136. This driver is also available as a module. If so, the module
  137. will be called w1_ds28e17.
  138. If you are unsure, say N.
  139. endmenu