xref: /openbmc/linux/drivers/w1/slaves/Kconfig (revision 275ac746)
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
71*275ac746SClifton Barnesconfig W1_SLAVE_DS2780
72*275ac746SClifton Barnes	tristate "Dallas 2780 battery monitor chip"
73*275ac746SClifton Barnes	depends on W1
74*275ac746SClifton Barnes	help
75*275ac746SClifton Barnes	  If you enable this you will have the DS2780 battery monitor
76*275ac746SClifton Barnes	  chip support.
77*275ac746SClifton Barnes
78*275ac746SClifton Barnes	  The battery monitor chip is used in many batteries/devices
79*275ac746SClifton Barnes	  as the one who is responsible for charging/discharging/monitoring
80*275ac746SClifton Barnes	  Li+ batteries.
81*275ac746SClifton Barnes
82*275ac746SClifton Barnes	  If you are unsure, say N.
83*275ac746SClifton Barnes
84cfbc6190SMadhusudhan Chikkatureconfig W1_SLAVE_BQ27000
85cfbc6190SMadhusudhan Chikkature	tristate "BQ27000 slave support"
86cfbc6190SMadhusudhan Chikkature	depends on W1
87cfbc6190SMadhusudhan Chikkature	help
88cfbc6190SMadhusudhan Chikkature	  Say Y here if you want to use a hdq
89cfbc6190SMadhusudhan Chikkature	  bq27000 slave support.
90cfbc6190SMadhusudhan Chikkature
91bd529cfbSEvgeniy Polyakovendmenu
92