xref: /openbmc/linux/drivers/w1/slaves/Kconfig (revision 3213486f)
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_DS2805
69	tristate "112-byte EEPROM support (DS28E05)"
70	help
71	  Say Y here if you want to use a 1-wire
72	  is a 112-byte user-programmable EEPROM is
73          organized as 7 pages of 16 bytes each with 64bit
74          unique number. Requires OverDrive Speed to talk to.
75
76config W1_SLAVE_DS2431
77	tristate "1kb EEPROM family support (DS2431)"
78	help
79	  Say Y here if you want to use a 1-wire
80	  1kb EEPROM family device (DS2431)
81
82config W1_SLAVE_DS2433
83	tristate "4kb EEPROM family support (DS2433)"
84	help
85	  Say Y here if you want to use a 1-wire
86	  4kb EEPROM family device (DS2433).
87
88config W1_SLAVE_DS2433_CRC
89	bool "Protect DS2433 data with a CRC16"
90	depends on W1_SLAVE_DS2433
91	select CRC16
92	help
93	  Say Y here to protect DS2433 data with a CRC16.
94	  Each block has 30 bytes of data and a two byte CRC16.
95	  Full block writes are only allowed if the CRC is valid.
96
97config W1_SLAVE_DS2438
98	tristate "DS2438 Smart Battery Monitor 0x26 family support"
99	help
100	  Say Y here if you want to use a 1-wire
101	  DS2438 Smart Battery Monitor device support
102
103config W1_SLAVE_DS2780
104	tristate "Dallas 2780 battery monitor chip"
105	help
106	  If you enable this you will have the DS2780 battery monitor
107	  chip support.
108
109	  The battery monitor chip is used in many batteries/devices
110	  as the one who is responsible for charging/discharging/monitoring
111	  Li+ batteries.
112
113	  If you are unsure, say N.
114
115config W1_SLAVE_DS2781
116	tristate "Dallas 2781 battery monitor chip"
117	help
118	  If you enable this you will have the DS2781 battery monitor
119	  chip support.
120
121	  The battery monitor chip is used in many batteries/devices
122	  as the one who is responsible for charging/discharging/monitoring
123	  Li+ batteries.
124
125	  If you are unsure, say N.
126
127config W1_SLAVE_DS28E04
128	tristate "4096-Bit Addressable 1-Wire EEPROM with PIO (DS28E04-100)"
129	select CRC16
130	help
131	  If you enable this you will have the DS28E04-100
132	  chip support.
133
134	  Say Y here if you want to use a 1-wire
135	  4kb EEPROM with PIO family device (DS28E04).
136
137	  If you are unsure, say N.
138
139config W1_SLAVE_DS28E17
140	tristate "1-wire-to-I2C master bridge (DS28E17)"
141	select CRC16
142	depends on I2C
143	help
144	  Say Y here if you want to use the DS28E17 1-wire-to-I2C master bridge.
145	  For each DS28E17 detected, a new I2C adapter is created within the
146	  kernel. I2C devices on that bus can be configured to be used by the
147	  kernel and userspace tools as on any other "native" I2C bus.
148
149	  This driver is also available as a module. If so, the module
150	  will be called w1_ds28e17.
151
152	  If you are unsure, say N.
153
154endmenu
155