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