xref: /openbmc/linux/drivers/w1/slaves/Kconfig (revision 17fecb55)
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*17fecb55SMika Laitioconfig W1_SLAVE_DS2423
20*17fecb55SMika Laitio	tristate "Counter 1-wire device (DS2423)"
21*17fecb55SMika Laitio	select CRC16
22*17fecb55SMika Laitio	help
23*17fecb55SMika Laitio	  If you enable this you can read the counter values available
24*17fecb55SMika Laitio	  in the DS2423 chipset from the w1_slave file under the
25*17fecb55SMika Laitio	  sys file system.
26*17fecb55SMika Laitio
27*17fecb55SMika Laitio	  Say Y here if you want to use a 1-wire
28*17fecb55SMika Laitio	  counter family device (DS2423).
29*17fecb55SMika Laitio
308ca2f156SHerton Ronaldo Krzesinskiconfig W1_SLAVE_DS2431
318ca2f156SHerton Ronaldo Krzesinski	tristate "1kb EEPROM family support (DS2431)"
328ca2f156SHerton Ronaldo Krzesinski	help
338ca2f156SHerton Ronaldo Krzesinski	  Say Y here if you want to use a 1-wire
348ca2f156SHerton Ronaldo Krzesinski	  1kb EEPROM family device (DS2431)
358ca2f156SHerton Ronaldo Krzesinski
36bd529cfbSEvgeniy Polyakovconfig W1_SLAVE_DS2433
37bd529cfbSEvgeniy Polyakov	tristate "4kb EEPROM family support (DS2433)"
38bd529cfbSEvgeniy Polyakov	help
39bd529cfbSEvgeniy Polyakov	  Say Y here if you want to use a 1-wire
40bd529cfbSEvgeniy Polyakov	  4kb EEPROM family device (DS2433).
41bd529cfbSEvgeniy Polyakov
42bd529cfbSEvgeniy Polyakovconfig W1_SLAVE_DS2433_CRC
43bd529cfbSEvgeniy Polyakov	bool "Protect DS2433 data with a CRC16"
44f621e1c7SJean-Luc Leger	depends on W1_SLAVE_DS2433
45bd529cfbSEvgeniy Polyakov	select CRC16
46bd529cfbSEvgeniy Polyakov	help
47bd529cfbSEvgeniy Polyakov	  Say Y here to protect DS2433 data with a CRC16.
48bd529cfbSEvgeniy Polyakov	  Each block has 30 bytes of data and a two byte CRC16.
49bd529cfbSEvgeniy Polyakov	  Full block writes are only allowed if the CRC is valid.
50bd529cfbSEvgeniy Polyakov
51d7ce6d1dSAnton Vorontsovconfig W1_SLAVE_DS2760
52d7ce6d1dSAnton Vorontsov	tristate "Dallas 2760 battery monitor chip (HP iPAQ & others)"
53d7ce6d1dSAnton Vorontsov	depends on W1
54d7ce6d1dSAnton Vorontsov	help
55d7ce6d1dSAnton Vorontsov	  If you enable this you will have the DS2760 battery monitor
56d7ce6d1dSAnton Vorontsov	  chip support.
57d7ce6d1dSAnton Vorontsov
58d7ce6d1dSAnton Vorontsov	  The battery monitor chip is used in many batteries/devices
59d7ce6d1dSAnton Vorontsov	  as the one who is responsible for charging/discharging/monitoring
60d7ce6d1dSAnton Vorontsov	  Li+ batteries.
61d7ce6d1dSAnton Vorontsov
62d7ce6d1dSAnton Vorontsov	  If you are unsure, say N.
63d7ce6d1dSAnton Vorontsov
64cfbc6190SMadhusudhan Chikkatureconfig W1_SLAVE_BQ27000
65cfbc6190SMadhusudhan Chikkature	tristate "BQ27000 slave support"
66cfbc6190SMadhusudhan Chikkature	depends on W1
67cfbc6190SMadhusudhan Chikkature	help
68cfbc6190SMadhusudhan Chikkature	  Say Y here if you want to use a hdq
69cfbc6190SMadhusudhan Chikkature	  bq27000 slave support.
70cfbc6190SMadhusudhan Chikkature
71bd529cfbSEvgeniy Polyakovendmenu
72