xref: /openbmc/linux/drivers/w1/slaves/Kconfig (revision 8ca2f156)
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
19*8ca2f156SHerton Ronaldo Krzesinskiconfig W1_SLAVE_DS2431
20*8ca2f156SHerton Ronaldo Krzesinski	tristate "1kb EEPROM family support (DS2431)"
21*8ca2f156SHerton Ronaldo Krzesinski	help
22*8ca2f156SHerton Ronaldo Krzesinski	  Say Y here if you want to use a 1-wire
23*8ca2f156SHerton Ronaldo Krzesinski	  1kb EEPROM family device (DS2431)
24*8ca2f156SHerton Ronaldo Krzesinski
25bd529cfbSEvgeniy Polyakovconfig W1_SLAVE_DS2433
26bd529cfbSEvgeniy Polyakov	tristate "4kb EEPROM family support (DS2433)"
27bd529cfbSEvgeniy Polyakov	help
28bd529cfbSEvgeniy Polyakov	  Say Y here if you want to use a 1-wire
29bd529cfbSEvgeniy Polyakov	  4kb EEPROM family device (DS2433).
30bd529cfbSEvgeniy Polyakov
31bd529cfbSEvgeniy Polyakovconfig W1_SLAVE_DS2433_CRC
32bd529cfbSEvgeniy Polyakov	bool "Protect DS2433 data with a CRC16"
33f621e1c7SJean-Luc Leger	depends on W1_SLAVE_DS2433
34bd529cfbSEvgeniy Polyakov	select CRC16
35bd529cfbSEvgeniy Polyakov	help
36bd529cfbSEvgeniy Polyakov	  Say Y here to protect DS2433 data with a CRC16.
37bd529cfbSEvgeniy Polyakov	  Each block has 30 bytes of data and a two byte CRC16.
38bd529cfbSEvgeniy Polyakov	  Full block writes are only allowed if the CRC is valid.
39bd529cfbSEvgeniy Polyakov
40d7ce6d1dSAnton Vorontsovconfig W1_SLAVE_DS2760
41d7ce6d1dSAnton Vorontsov	tristate "Dallas 2760 battery monitor chip (HP iPAQ & others)"
42d7ce6d1dSAnton Vorontsov	depends on W1
43d7ce6d1dSAnton Vorontsov	help
44d7ce6d1dSAnton Vorontsov	  If you enable this you will have the DS2760 battery monitor
45d7ce6d1dSAnton Vorontsov	  chip support.
46d7ce6d1dSAnton Vorontsov
47d7ce6d1dSAnton Vorontsov	  The battery monitor chip is used in many batteries/devices
48d7ce6d1dSAnton Vorontsov	  as the one who is responsible for charging/discharging/monitoring
49d7ce6d1dSAnton Vorontsov	  Li+ batteries.
50d7ce6d1dSAnton Vorontsov
51d7ce6d1dSAnton Vorontsov	  If you are unsure, say N.
52d7ce6d1dSAnton Vorontsov
53cfbc6190SMadhusudhan Chikkatureconfig W1_SLAVE_BQ27000
54cfbc6190SMadhusudhan Chikkature	tristate "BQ27000 slave support"
55cfbc6190SMadhusudhan Chikkature	depends on W1
56cfbc6190SMadhusudhan Chikkature	help
57cfbc6190SMadhusudhan Chikkature	  Say Y here if you want to use a hdq
58cfbc6190SMadhusudhan Chikkature	  bq27000 slave support.
59cfbc6190SMadhusudhan Chikkature
60bd529cfbSEvgeniy Polyakovendmenu
61