xref: /openbmc/linux/drivers/w1/slaves/Kconfig (revision 94c7b6fc)
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_DS2423
42	tristate "Counter 1-wire device (DS2423)"
43	select CRC16
44	help
45	  If you enable this you can read the counter values available
46	  in the DS2423 chipset from the w1_slave file under the
47	  sys file system.
48
49	  Say Y here if you want to use a 1-wire
50	  counter family device (DS2423).
51
52config W1_SLAVE_DS2431
53	tristate "1kb EEPROM family support (DS2431)"
54	help
55	  Say Y here if you want to use a 1-wire
56	  1kb EEPROM family device (DS2431)
57
58config W1_SLAVE_DS2433
59	tristate "4kb EEPROM family support (DS2433)"
60	help
61	  Say Y here if you want to use a 1-wire
62	  4kb EEPROM family device (DS2433).
63
64config W1_SLAVE_DS2433_CRC
65	bool "Protect DS2433 data with a CRC16"
66	depends on W1_SLAVE_DS2433
67	select CRC16
68	help
69	  Say Y here to protect DS2433 data with a CRC16.
70	  Each block has 30 bytes of data and a two byte CRC16.
71	  Full block writes are only allowed if the CRC is valid.
72
73config W1_SLAVE_DS2760
74	tristate "Dallas 2760 battery monitor chip (HP iPAQ & others)"
75	help
76	  If you enable this you will have the DS2760 battery monitor
77	  chip support.
78
79	  The battery monitor chip is used in many batteries/devices
80	  as the one who is responsible for charging/discharging/monitoring
81	  Li+ batteries.
82
83	  If you are unsure, say N.
84
85config W1_SLAVE_DS2780
86	tristate "Dallas 2780 battery monitor chip"
87	help
88	  If you enable this you will have the DS2780 battery monitor
89	  chip support.
90
91	  The battery monitor chip is used in many batteries/devices
92	  as the one who is responsible for charging/discharging/monitoring
93	  Li+ batteries.
94
95	  If you are unsure, say N.
96
97config W1_SLAVE_DS2781
98	tristate "Dallas 2781 battery monitor chip"
99	help
100	  If you enable this you will have the DS2781 battery monitor
101	  chip support.
102
103	  The battery monitor chip is used in many batteries/devices
104	  as the one who is responsible for charging/discharging/monitoring
105	  Li+ batteries.
106
107	  If you are unsure, say N.
108
109config W1_SLAVE_DS28E04
110	tristate "4096-Bit Addressable 1-Wire EEPROM with PIO (DS28E04-100)"
111	select CRC16
112	help
113	  If you enable this you will have the DS28E04-100
114	  chip support.
115
116	  Say Y here if you want to use a 1-wire
117	  4kb EEPROM with PIO family device (DS28E04).
118
119	  If you are unsure, say N.
120
121config W1_SLAVE_BQ27000
122	tristate "BQ27000 slave support"
123	help
124	  Say Y here if you want to use a hdq
125	  bq27000 slave support.
126
127endmenu
128