xref: /openbmc/linux/drivers/w1/slaves/Kconfig (revision e5c86679)
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_DS2760
90	tristate "Dallas 2760 battery monitor chip (HP iPAQ & others)"
91	help
92	  If you enable this you will have the DS2760 battery monitor
93	  chip support.
94
95	  The battery monitor chip is used in many batteries/devices
96	  as the one who is responsible for charging/discharging/monitoring
97	  Li+ batteries.
98
99	  If you are unsure, say N.
100
101config W1_SLAVE_DS2780
102	tristate "Dallas 2780 battery monitor chip"
103	help
104	  If you enable this you will have the DS2780 battery monitor
105	  chip support.
106
107	  The battery monitor chip is used in many batteries/devices
108	  as the one who is responsible for charging/discharging/monitoring
109	  Li+ batteries.
110
111	  If you are unsure, say N.
112
113config W1_SLAVE_DS2781
114	tristate "Dallas 2781 battery monitor chip"
115	help
116	  If you enable this you will have the DS2781 battery monitor
117	  chip support.
118
119	  The battery monitor chip is used in many batteries/devices
120	  as the one who is responsible for charging/discharging/monitoring
121	  Li+ batteries.
122
123	  If you are unsure, say N.
124
125config W1_SLAVE_DS28E04
126	tristate "4096-Bit Addressable 1-Wire EEPROM with PIO (DS28E04-100)"
127	select CRC16
128	help
129	  If you enable this you will have the DS28E04-100
130	  chip support.
131
132	  Say Y here if you want to use a 1-wire
133	  4kb EEPROM with PIO family device (DS28E04).
134
135	  If you are unsure, say N.
136
137config W1_SLAVE_BQ27000
138	tristate "BQ27000 slave support"
139	help
140	  Say Y here if you want to use a hdq
141	  bq27000 slave support.
142
143endmenu
144