xref: /openbmc/linux/drivers/w1/slaves/Kconfig (revision fbf7f7b4)
1bd529cfbSEvgeniy Polyakov#
2bd529cfbSEvgeniy Polyakov# 1-wire slaves configuration
3bd529cfbSEvgeniy Polyakov#
4bd529cfbSEvgeniy Polyakov
5bd529cfbSEvgeniy Polyakovmenu "1-wire Slaves"
6bd529cfbSEvgeniy Polyakov
7bd529cfbSEvgeniy Polyakovconfig W1_SLAVE_THERM
8bd529cfbSEvgeniy Polyakov	tristate "Thermal family implementation"
9bd529cfbSEvgeniy Polyakov	help
1089040b21SEvgeniy Polyakov	  Say Y here if you want to connect 1-wire thermal sensors to your
11bd529cfbSEvgeniy Polyakov	  wire.
12bd529cfbSEvgeniy Polyakov
13bd529cfbSEvgeniy Polyakovconfig W1_SLAVE_SMEM
14bd529cfbSEvgeniy Polyakov	tristate "Simple 64bit memory family implementation"
15bd529cfbSEvgeniy Polyakov	help
16bd529cfbSEvgeniy Polyakov	  Say Y here if you want to connect 1-wire
1789040b21SEvgeniy Polyakov	  simple 64bit memory rom(ds2401/ds2411/ds1990*) to your wire.
18bd529cfbSEvgeniy Polyakov
1989610274SJean-François Dagenaisconfig W1_SLAVE_DS2408
2089610274SJean-François Dagenais        tristate "8-Channel Addressable Switch (IO Expander) 0x29 family support (DS2408)"
2189610274SJean-François Dagenais        help
2289610274SJean-François Dagenais          Say Y here if you want to use a 1-wire
2389610274SJean-François Dagenais
2489610274SJean-François Dagenais		  DS2408 8-Channel Addressable Switch device support
2589610274SJean-François Dagenais
2617fecb55SMika Laitioconfig W1_SLAVE_DS2423
2717fecb55SMika Laitio	tristate "Counter 1-wire device (DS2423)"
2817fecb55SMika Laitio	select CRC16
2917fecb55SMika Laitio	help
3017fecb55SMika Laitio	  If you enable this you can read the counter values available
3117fecb55SMika Laitio	  in the DS2423 chipset from the w1_slave file under the
3217fecb55SMika Laitio	  sys file system.
3317fecb55SMika Laitio
3417fecb55SMika Laitio	  Say Y here if you want to use a 1-wire
3517fecb55SMika Laitio	  counter family device (DS2423).
3617fecb55SMika Laitio
378ca2f156SHerton Ronaldo Krzesinskiconfig W1_SLAVE_DS2431
388ca2f156SHerton Ronaldo Krzesinski	tristate "1kb EEPROM family support (DS2431)"
398ca2f156SHerton Ronaldo Krzesinski	help
408ca2f156SHerton Ronaldo Krzesinski	  Say Y here if you want to use a 1-wire
418ca2f156SHerton Ronaldo Krzesinski	  1kb EEPROM family device (DS2431)
428ca2f156SHerton Ronaldo Krzesinski
43bd529cfbSEvgeniy Polyakovconfig W1_SLAVE_DS2433
44bd529cfbSEvgeniy Polyakov	tristate "4kb EEPROM family support (DS2433)"
45bd529cfbSEvgeniy Polyakov	help
46bd529cfbSEvgeniy Polyakov	  Say Y here if you want to use a 1-wire
47bd529cfbSEvgeniy Polyakov	  4kb EEPROM family device (DS2433).
48bd529cfbSEvgeniy Polyakov
49bd529cfbSEvgeniy Polyakovconfig W1_SLAVE_DS2433_CRC
50bd529cfbSEvgeniy Polyakov	bool "Protect DS2433 data with a CRC16"
51f621e1c7SJean-Luc Leger	depends on W1_SLAVE_DS2433
52bd529cfbSEvgeniy Polyakov	select CRC16
53bd529cfbSEvgeniy Polyakov	help
54bd529cfbSEvgeniy Polyakov	  Say Y here to protect DS2433 data with a CRC16.
55bd529cfbSEvgeniy Polyakov	  Each block has 30 bytes of data and a two byte CRC16.
56bd529cfbSEvgeniy Polyakov	  Full block writes are only allowed if the CRC is valid.
57bd529cfbSEvgeniy Polyakov
58d7ce6d1dSAnton Vorontsovconfig W1_SLAVE_DS2760
59d7ce6d1dSAnton Vorontsov	tristate "Dallas 2760 battery monitor chip (HP iPAQ & others)"
60d7ce6d1dSAnton Vorontsov	depends on W1
61d7ce6d1dSAnton Vorontsov	help
62d7ce6d1dSAnton Vorontsov	  If you enable this you will have the DS2760 battery monitor
63d7ce6d1dSAnton Vorontsov	  chip support.
64d7ce6d1dSAnton Vorontsov
65d7ce6d1dSAnton Vorontsov	  The battery monitor chip is used in many batteries/devices
66d7ce6d1dSAnton Vorontsov	  as the one who is responsible for charging/discharging/monitoring
67d7ce6d1dSAnton Vorontsov	  Li+ batteries.
68d7ce6d1dSAnton Vorontsov
69d7ce6d1dSAnton Vorontsov	  If you are unsure, say N.
70d7ce6d1dSAnton Vorontsov
71275ac746SClifton Barnesconfig W1_SLAVE_DS2780
72275ac746SClifton Barnes	tristate "Dallas 2780 battery monitor chip"
73275ac746SClifton Barnes	depends on W1
74275ac746SClifton Barnes	help
75275ac746SClifton Barnes	  If you enable this you will have the DS2780 battery monitor
76275ac746SClifton Barnes	  chip support.
77275ac746SClifton Barnes
78275ac746SClifton Barnes	  The battery monitor chip is used in many batteries/devices
79275ac746SClifton Barnes	  as the one who is responsible for charging/discharging/monitoring
80275ac746SClifton Barnes	  Li+ batteries.
81275ac746SClifton Barnes
82275ac746SClifton Barnes	  If you are unsure, say N.
83275ac746SClifton Barnes
84fef37e9aSRenata Sayakhovaconfig W1_SLAVE_DS2781
85fef37e9aSRenata Sayakhova	tristate "Dallas 2781 battery monitor chip"
86fef37e9aSRenata Sayakhova	depends on W1
87fef37e9aSRenata Sayakhova	help
88fef37e9aSRenata Sayakhova	  If you enable this you will have the DS2781 battery monitor
89fef37e9aSRenata Sayakhova	  chip support.
90fef37e9aSRenata Sayakhova
91fef37e9aSRenata Sayakhova	  The battery monitor chip is used in many batteries/devices
92fef37e9aSRenata Sayakhova	  as the one who is responsible for charging/discharging/monitoring
93fef37e9aSRenata Sayakhova	  Li+ batteries.
94fef37e9aSRenata Sayakhova
95fef37e9aSRenata Sayakhova	  If you are unsure, say N.
96fef37e9aSRenata Sayakhova
97*fbf7f7b4SMarkus Frankeconfig W1_SLAVE_DS28E04
98*fbf7f7b4SMarkus Franke	tristate "4096-Bit Addressable 1-Wire EEPROM with PIO (DS28E04-100)"
99*fbf7f7b4SMarkus Franke	depends on W1
100*fbf7f7b4SMarkus Franke	select CRC16
101*fbf7f7b4SMarkus Franke	help
102*fbf7f7b4SMarkus Franke	  If you enable this you will have the DS28E04-100
103*fbf7f7b4SMarkus Franke	  chip support.
104*fbf7f7b4SMarkus Franke
105*fbf7f7b4SMarkus Franke	  Say Y here if you want to use a 1-wire
106*fbf7f7b4SMarkus Franke	  4kb EEPROM with PIO family device (DS28E04).
107*fbf7f7b4SMarkus Franke
108*fbf7f7b4SMarkus Franke	  If you are unsure, say N.
109*fbf7f7b4SMarkus Franke
110cfbc6190SMadhusudhan Chikkatureconfig W1_SLAVE_BQ27000
111cfbc6190SMadhusudhan Chikkature	tristate "BQ27000 slave support"
112cfbc6190SMadhusudhan Chikkature	depends on W1
113cfbc6190SMadhusudhan Chikkature	help
114cfbc6190SMadhusudhan Chikkature	  Say Y here if you want to use a hdq
115cfbc6190SMadhusudhan Chikkature	  bq27000 slave support.
116cfbc6190SMadhusudhan Chikkature
117bd529cfbSEvgeniy Polyakovendmenu
118