xref: /openbmc/linux/drivers/w1/slaves/Kconfig (revision 94859308)
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	  DS2408 8-Channel Addressable Switch device support
2489610274SJean-François Dagenais
25aceca285SJean-Francois Dagenaisconfig W1_SLAVE_DS2408_READBACK
26aceca285SJean-Francois Dagenais	bool "Read-back values written to DS2408's output register"
27aceca285SJean-Francois Dagenais	depends on W1_SLAVE_DS2408
28aceca285SJean-Francois Dagenais	default y
29aceca285SJean-Francois Dagenais	help
30aceca285SJean-Francois Dagenais	  Enabling this will cause the driver to read back the values written
31aceca285SJean-Francois Dagenais	  to the chip's output register in order to detect errors.
32aceca285SJean-Francois Dagenais
33aceca285SJean-Francois Dagenais	  This is slower but useful when debugging chips and/or busses.
34aceca285SJean-Francois Dagenais
3531b4ca3eSMariusz Bialonczykconfig W1_SLAVE_DS2413
3631b4ca3eSMariusz Bialonczyk	tristate "Dual Channel Addressable Switch 0x3a family support (DS2413)"
3731b4ca3eSMariusz Bialonczyk	help
3831b4ca3eSMariusz Bialonczyk	  Say Y here if you want to use a 1-wire
3931b4ca3eSMariusz Bialonczyk	  DS2413 Dual Channel Addressable Switch device support
4031b4ca3eSMariusz Bialonczyk
41*94859308SScott Alfterconfig W1_SLAVE_DS2406
42*94859308SScott Alfter	tristate "Dual Channel Addressable Switch 0x12 family support (DS2406)"
43*94859308SScott Alfter	help
44*94859308SScott Alfter	  Say Y or M here if you want to use a 1-wire
45*94859308SScott Alfter	  DS2406 Dual Channel Addressable Switch.  EPROM read/write
46*94859308SScott Alfter	  support for these devices is not implemented.
47*94859308SScott Alfter
4817fecb55SMika Laitioconfig W1_SLAVE_DS2423
4917fecb55SMika Laitio	tristate "Counter 1-wire device (DS2423)"
5017fecb55SMika Laitio	select CRC16
5117fecb55SMika Laitio	help
5217fecb55SMika Laitio	  If you enable this you can read the counter values available
5317fecb55SMika Laitio	  in the DS2423 chipset from the w1_slave file under the
5417fecb55SMika Laitio	  sys file system.
5517fecb55SMika Laitio
5617fecb55SMika Laitio	  Say Y here if you want to use a 1-wire
5717fecb55SMika Laitio	  counter family device (DS2423).
5817fecb55SMika Laitio
598ca2f156SHerton Ronaldo Krzesinskiconfig W1_SLAVE_DS2431
608ca2f156SHerton Ronaldo Krzesinski	tristate "1kb EEPROM family support (DS2431)"
618ca2f156SHerton Ronaldo Krzesinski	help
628ca2f156SHerton Ronaldo Krzesinski	  Say Y here if you want to use a 1-wire
638ca2f156SHerton Ronaldo Krzesinski	  1kb EEPROM family device (DS2431)
648ca2f156SHerton Ronaldo Krzesinski
65bd529cfbSEvgeniy Polyakovconfig W1_SLAVE_DS2433
66bd529cfbSEvgeniy Polyakov	tristate "4kb EEPROM family support (DS2433)"
67bd529cfbSEvgeniy Polyakov	help
68bd529cfbSEvgeniy Polyakov	  Say Y here if you want to use a 1-wire
69bd529cfbSEvgeniy Polyakov	  4kb EEPROM family device (DS2433).
70bd529cfbSEvgeniy Polyakov
71bd529cfbSEvgeniy Polyakovconfig W1_SLAVE_DS2433_CRC
72bd529cfbSEvgeniy Polyakov	bool "Protect DS2433 data with a CRC16"
73f621e1c7SJean-Luc Leger	depends on W1_SLAVE_DS2433
74bd529cfbSEvgeniy Polyakov	select CRC16
75bd529cfbSEvgeniy Polyakov	help
76bd529cfbSEvgeniy Polyakov	  Say Y here to protect DS2433 data with a CRC16.
77bd529cfbSEvgeniy Polyakov	  Each block has 30 bytes of data and a two byte CRC16.
78bd529cfbSEvgeniy Polyakov	  Full block writes are only allowed if the CRC is valid.
79bd529cfbSEvgeniy Polyakov
80d7ce6d1dSAnton Vorontsovconfig W1_SLAVE_DS2760
81d7ce6d1dSAnton Vorontsov	tristate "Dallas 2760 battery monitor chip (HP iPAQ & others)"
82d7ce6d1dSAnton Vorontsov	help
83d7ce6d1dSAnton Vorontsov	  If you enable this you will have the DS2760 battery monitor
84d7ce6d1dSAnton Vorontsov	  chip support.
85d7ce6d1dSAnton Vorontsov
86d7ce6d1dSAnton Vorontsov	  The battery monitor chip is used in many batteries/devices
87d7ce6d1dSAnton Vorontsov	  as the one who is responsible for charging/discharging/monitoring
88d7ce6d1dSAnton Vorontsov	  Li+ batteries.
89d7ce6d1dSAnton Vorontsov
90d7ce6d1dSAnton Vorontsov	  If you are unsure, say N.
91d7ce6d1dSAnton Vorontsov
92275ac746SClifton Barnesconfig W1_SLAVE_DS2780
93275ac746SClifton Barnes	tristate "Dallas 2780 battery monitor chip"
94275ac746SClifton Barnes	help
95275ac746SClifton Barnes	  If you enable this you will have the DS2780 battery monitor
96275ac746SClifton Barnes	  chip support.
97275ac746SClifton Barnes
98275ac746SClifton Barnes	  The battery monitor chip is used in many batteries/devices
99275ac746SClifton Barnes	  as the one who is responsible for charging/discharging/monitoring
100275ac746SClifton Barnes	  Li+ batteries.
101275ac746SClifton Barnes
102275ac746SClifton Barnes	  If you are unsure, say N.
103275ac746SClifton Barnes
104fef37e9aSRenata Sayakhovaconfig W1_SLAVE_DS2781
105fef37e9aSRenata Sayakhova	tristate "Dallas 2781 battery monitor chip"
106fef37e9aSRenata Sayakhova	help
107fef37e9aSRenata Sayakhova	  If you enable this you will have the DS2781 battery monitor
108fef37e9aSRenata Sayakhova	  chip support.
109fef37e9aSRenata Sayakhova
110fef37e9aSRenata Sayakhova	  The battery monitor chip is used in many batteries/devices
111fef37e9aSRenata Sayakhova	  as the one who is responsible for charging/discharging/monitoring
112fef37e9aSRenata Sayakhova	  Li+ batteries.
113fef37e9aSRenata Sayakhova
114fef37e9aSRenata Sayakhova	  If you are unsure, say N.
115fef37e9aSRenata Sayakhova
116fbf7f7b4SMarkus Frankeconfig W1_SLAVE_DS28E04
117fbf7f7b4SMarkus Franke	tristate "4096-Bit Addressable 1-Wire EEPROM with PIO (DS28E04-100)"
118fbf7f7b4SMarkus Franke	select CRC16
119fbf7f7b4SMarkus Franke	help
120fbf7f7b4SMarkus Franke	  If you enable this you will have the DS28E04-100
121fbf7f7b4SMarkus Franke	  chip support.
122fbf7f7b4SMarkus Franke
123fbf7f7b4SMarkus Franke	  Say Y here if you want to use a 1-wire
124fbf7f7b4SMarkus Franke	  4kb EEPROM with PIO family device (DS28E04).
125fbf7f7b4SMarkus Franke
126fbf7f7b4SMarkus Franke	  If you are unsure, say N.
127fbf7f7b4SMarkus Franke
128cfbc6190SMadhusudhan Chikkatureconfig W1_SLAVE_BQ27000
129cfbc6190SMadhusudhan Chikkature	tristate "BQ27000 slave support"
130cfbc6190SMadhusudhan Chikkature	help
131cfbc6190SMadhusudhan Chikkature	  Say Y here if you want to use a hdq
132cfbc6190SMadhusudhan Chikkature	  bq27000 slave support.
133cfbc6190SMadhusudhan Chikkature
134bd529cfbSEvgeniy Polyakovendmenu
135