xref: /openbmc/linux/drivers/w1/slaves/Kconfig (revision 4da722ca)
1#
2# 1-wire slaves configuration
3#
4
5menu "1-wire Slaves"
6
7config W1_SLAVE_THERM
8	tristate "Thermal family implementation"
9	help
10	  Say Y here if you want to connect 1-wire thermal sensors to your
11	  wire.
12
13config W1_SLAVE_SMEM
14	tristate "Simple 64bit memory family implementation"
15	help
16	  Say Y here if you want to connect 1-wire
17	  simple 64bit memory rom(ds2401/ds2411/ds1990*) to your wire.
18
19config W1_SLAVE_DS2405
20	tristate "DS2405 Addressable Switch"
21	help
22	  Say Y or M here if you want to use a DS2405 1-wire
23	  single-channel addressable switch.
24	  This device can also work as a single-channel
25	  binary remote sensor.
26
27config W1_SLAVE_DS2408
28	tristate "8-Channel Addressable Switch (IO Expander) 0x29 family support (DS2408)"
29	help
30	  Say Y here if you want to use a 1-wire
31	  DS2408 8-Channel Addressable Switch device support
32
33config W1_SLAVE_DS2408_READBACK
34	bool "Read-back values written to DS2408's output register"
35	depends on W1_SLAVE_DS2408
36	default y
37	help
38	  Enabling this will cause the driver to read back the values written
39	  to the chip's output register in order to detect errors.
40
41	  This is slower but useful when debugging chips and/or busses.
42
43config W1_SLAVE_DS2413
44	tristate "Dual Channel Addressable Switch 0x3a family support (DS2413)"
45	help
46	  Say Y here if you want to use a 1-wire
47	  DS2413 Dual Channel Addressable Switch device support
48
49config W1_SLAVE_DS2406
50	tristate "Dual Channel Addressable Switch 0x12 family support (DS2406)"
51	select CRC16
52	help
53	  Say Y or M here if you want to use a 1-wire
54	  DS2406 Dual Channel Addressable Switch.  EPROM read/write
55	  support for these devices is not implemented.
56
57config W1_SLAVE_DS2423
58	tristate "Counter 1-wire device (DS2423)"
59	select CRC16
60	help
61	  If you enable this you can read the counter values available
62	  in the DS2423 chipset from the w1_slave file under the
63	  sys file system.
64
65	  Say Y here if you want to use a 1-wire
66	  counter family device (DS2423).
67
68config W1_SLAVE_DS2431
69	tristate "1kb EEPROM family support (DS2431)"
70	help
71	  Say Y here if you want to use a 1-wire
72	  1kb EEPROM family device (DS2431)
73
74config W1_SLAVE_DS2433
75	tristate "4kb EEPROM family support (DS2433)"
76	help
77	  Say Y here if you want to use a 1-wire
78	  4kb EEPROM family device (DS2433).
79
80config W1_SLAVE_DS2433_CRC
81	bool "Protect DS2433 data with a CRC16"
82	depends on W1_SLAVE_DS2433
83	select CRC16
84	help
85	  Say Y here to protect DS2433 data with a CRC16.
86	  Each block has 30 bytes of data and a two byte CRC16.
87	  Full block writes are only allowed if the CRC is valid.
88
89config 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
95config W1_SLAVE_DS2760
96	tristate "Dallas 2760 battery monitor chip (HP iPAQ & others)"
97	help
98	  If you enable this you will have the DS2760 battery monitor
99	  chip support.
100
101	  The battery monitor chip is used in many batteries/devices
102	  as the one who is responsible for charging/discharging/monitoring
103	  Li+ batteries.
104
105	  If you are unsure, say N.
106
107config W1_SLAVE_DS2780
108	tristate "Dallas 2780 battery monitor chip"
109	help
110	  If you enable this you will have the DS2780 battery monitor
111	  chip support.
112
113	  The battery monitor chip is used in many batteries/devices
114	  as the one who is responsible for charging/discharging/monitoring
115	  Li+ batteries.
116
117	  If you are unsure, say N.
118
119config W1_SLAVE_DS2781
120	tristate "Dallas 2781 battery monitor chip"
121	help
122	  If you enable this you will have the DS2781 battery monitor
123	  chip support.
124
125	  The battery monitor chip is used in many batteries/devices
126	  as the one who is responsible for charging/discharging/monitoring
127	  Li+ batteries.
128
129	  If you are unsure, say N.
130
131config W1_SLAVE_DS28E04
132	tristate "4096-Bit Addressable 1-Wire EEPROM with PIO (DS28E04-100)"
133	select CRC16
134	help
135	  If you enable this you will have the DS28E04-100
136	  chip support.
137
138	  Say Y here if you want to use a 1-wire
139	  4kb EEPROM with PIO family device (DS28E04).
140
141	  If you are unsure, say N.
142
143config W1_SLAVE_BQ27000
144	tristate "BQ27000 slave support"
145	help
146	  Say Y here if you want to use a hdq
147	  bq27000 slave support.
148
149endmenu
150