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