0001 # SPDX-License-Identifier: GPL-2.0-only
0002 #
0003 # 1-wire slaves configuration
0004 #
0005
0006 menu "1-wire Slaves"
0007
0008 config W1_SLAVE_THERM
0009 tristate "Thermal family implementation"
0010 help
0011 Say Y here if you want to connect 1-wire thermal sensors to your
0012 wire.
0013
0014 config W1_SLAVE_SMEM
0015 tristate "Simple 64bit memory family implementation"
0016 help
0017 Say Y here if you want to connect 1-wire
0018 simple 64bit memory rom(ds2401/ds2411/ds1990*) to your wire.
0019
0020 config W1_SLAVE_DS2405
0021 tristate "DS2405 Addressable Switch"
0022 help
0023 Say Y or M here if you want to use a DS2405 1-wire
0024 single-channel addressable switch.
0025 This device can also work as a single-channel
0026 binary remote sensor.
0027
0028 config W1_SLAVE_DS2408
0029 tristate "8-Channel Addressable Switch (IO Expander) 0x29 family support (DS2408)"
0030 help
0031 Say Y here if you want to use a 1-wire
0032 DS2408 8-Channel Addressable Switch device support
0033
0034 config W1_SLAVE_DS2408_READBACK
0035 bool "Read-back values written to DS2408's output register"
0036 depends on W1_SLAVE_DS2408
0037 default y
0038 help
0039 Enabling this will cause the driver to read back the values written
0040 to the chip's output register in order to detect errors.
0041
0042 This is slower but useful when debugging chips and/or busses.
0043
0044 config W1_SLAVE_DS2413
0045 tristate "Dual Channel Addressable Switch 0x3a family support (DS2413)"
0046 help
0047 Say Y here if you want to use a 1-wire
0048 DS2413 Dual Channel Addressable Switch device support
0049
0050 config W1_SLAVE_DS2406
0051 tristate "Dual Channel Addressable Switch 0x12 family support (DS2406)"
0052 select CRC16
0053 help
0054 Say Y or M here if you want to use a 1-wire
0055 DS2406 Dual Channel Addressable Switch. EPROM read/write
0056 support for these devices is not implemented.
0057
0058 config W1_SLAVE_DS2423
0059 tristate "Counter 1-wire device (DS2423)"
0060 select CRC16
0061 help
0062 If you enable this you can read the counter values available
0063 in the DS2423 chipset from the w1_slave file under the
0064 sys file system.
0065
0066 Say Y here if you want to use a 1-wire
0067 counter family device (DS2423).
0068
0069 config W1_SLAVE_DS2805
0070 tristate "112-byte EEPROM support (DS28E05)"
0071 help
0072 Say Y here if you want to use a 1-wire
0073 is a 112-byte user-programmable EEPROM is
0074 organized as 7 pages of 16 bytes each with 64bit
0075 unique number. Requires OverDrive Speed to talk to.
0076
0077 config W1_SLAVE_DS2430
0078 tristate "256b EEPROM family support (DS2430)"
0079 help
0080 Say Y here if you want to use a 1-wire 256bit EEPROM
0081 family device (DS2430).
0082 This EEPROM is organized as one page of 32 bytes for random
0083 access.
0084
0085 config W1_SLAVE_DS2431
0086 tristate "1kb EEPROM family support (DS2431)"
0087 help
0088 Say Y here if you want to use a 1-wire
0089 1kb EEPROM family device (DS2431)
0090
0091 config W1_SLAVE_DS2433
0092 tristate "4kb EEPROM family support (DS2433)"
0093 help
0094 Say Y here if you want to use a 1-wire
0095 4kb EEPROM family device (DS2433).
0096
0097 config W1_SLAVE_DS2433_CRC
0098 bool "Protect DS2433 data with a CRC16"
0099 depends on W1_SLAVE_DS2433
0100 select CRC16
0101 help
0102 Say Y here to protect DS2433 data with a CRC16.
0103 Each block has 30 bytes of data and a two byte CRC16.
0104 Full block writes are only allowed if the CRC is valid.
0105
0106 config W1_SLAVE_DS2438
0107 tristate "DS2438 Smart Battery Monitor 0x26 family support"
0108 help
0109 Say Y here if you want to use a 1-wire
0110 DS2438 Smart Battery Monitor device support
0111
0112 config W1_SLAVE_DS250X
0113 tristate "512b/1kb/16kb EPROM family support"
0114 select CRC16
0115 help
0116 Say Y here if you want to use a 1-wire
0117 512b/1kb/16kb EPROM family device (DS250x).
0118
0119 config W1_SLAVE_DS2780
0120 tristate "Dallas 2780 battery monitor chip"
0121 help
0122 If you enable this you will have the DS2780 battery monitor
0123 chip support.
0124
0125 The battery monitor chip is used in many batteries/devices
0126 as the one who is responsible for charging/discharging/monitoring
0127 Li+ batteries.
0128
0129 If you are unsure, say N.
0130
0131 config W1_SLAVE_DS2781
0132 tristate "Dallas 2781 battery monitor chip"
0133 help
0134 If you enable this you will have the DS2781 battery monitor
0135 chip support.
0136
0137 The battery monitor chip is used in many batteries/devices
0138 as the one who is responsible for charging/discharging/monitoring
0139 Li+ batteries.
0140
0141 If you are unsure, say N.
0142
0143 config W1_SLAVE_DS28E04
0144 tristate "4096-Bit Addressable 1-Wire EEPROM with PIO (DS28E04-100)"
0145 select CRC16
0146 help
0147 If you enable this you will have the DS28E04-100
0148 chip support.
0149
0150 Say Y here if you want to use a 1-wire
0151 4kb EEPROM with PIO family device (DS28E04).
0152
0153 If you are unsure, say N.
0154
0155 config W1_SLAVE_DS28E17
0156 tristate "1-wire-to-I2C master bridge (DS28E17)"
0157 select CRC16
0158 depends on I2C
0159 help
0160 Say Y here if you want to use the DS28E17 1-wire-to-I2C master bridge.
0161 For each DS28E17 detected, a new I2C adapter is created within the
0162 kernel. I2C devices on that bus can be configured to be used by the
0163 kernel and userspace tools as on any other "native" I2C bus.
0164
0165 This driver is also available as a module. If so, the module
0166 will be called w1_ds28e17.
0167
0168 If you are unsure, say N.
0169
0170 endmenu