xref: /openbmc/linux/drivers/w1/slaves/Kconfig (revision ebc4768a)
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
19dd6478d6SMaciej S. Szmigieroconfig W1_SLAVE_DS2405
20dd6478d6SMaciej S. Szmigiero	tristate "DS2405 Addressable Switch"
21dd6478d6SMaciej S. Szmigiero	help
22dd6478d6SMaciej S. Szmigiero	  Say Y or M here if you want to use a DS2405 1-wire
23dd6478d6SMaciej S. Szmigiero	  single-channel addressable switch.
24dd6478d6SMaciej S. Szmigiero	  This device can also work as a single-channel
25dd6478d6SMaciej S. Szmigiero	  binary remote sensor.
26dd6478d6SMaciej S. Szmigiero
2789610274SJean-François Dagenaisconfig W1_SLAVE_DS2408
2889610274SJean-François Dagenais	tristate "8-Channel Addressable Switch (IO Expander) 0x29 family support (DS2408)"
2989610274SJean-François Dagenais	help
3089610274SJean-François Dagenais	  Say Y here if you want to use a 1-wire
3189610274SJean-François Dagenais	  DS2408 8-Channel Addressable Switch device support
3289610274SJean-François Dagenais
33aceca285SJean-Francois Dagenaisconfig W1_SLAVE_DS2408_READBACK
34aceca285SJean-Francois Dagenais	bool "Read-back values written to DS2408's output register"
35aceca285SJean-Francois Dagenais	depends on W1_SLAVE_DS2408
36aceca285SJean-Francois Dagenais	default y
37aceca285SJean-Francois Dagenais	help
38aceca285SJean-Francois Dagenais	  Enabling this will cause the driver to read back the values written
39aceca285SJean-Francois Dagenais	  to the chip's output register in order to detect errors.
40aceca285SJean-Francois Dagenais
41aceca285SJean-Francois Dagenais	  This is slower but useful when debugging chips and/or busses.
42aceca285SJean-Francois Dagenais
4331b4ca3eSMariusz Bialonczykconfig W1_SLAVE_DS2413
4431b4ca3eSMariusz Bialonczyk	tristate "Dual Channel Addressable Switch 0x3a family support (DS2413)"
4531b4ca3eSMariusz Bialonczyk	help
4631b4ca3eSMariusz Bialonczyk	  Say Y here if you want to use a 1-wire
4731b4ca3eSMariusz Bialonczyk	  DS2413 Dual Channel Addressable Switch device support
4831b4ca3eSMariusz Bialonczyk
4994859308SScott Alfterconfig W1_SLAVE_DS2406
5094859308SScott Alfter	tristate "Dual Channel Addressable Switch 0x12 family support (DS2406)"
516b5fa776SArnd Bergmann	select CRC16
5294859308SScott Alfter	help
5394859308SScott Alfter	  Say Y or M here if you want to use a 1-wire
5494859308SScott Alfter	  DS2406 Dual Channel Addressable Switch.  EPROM read/write
5594859308SScott Alfter	  support for these devices is not implemented.
5694859308SScott Alfter
5717fecb55SMika Laitioconfig W1_SLAVE_DS2423
5817fecb55SMika Laitio	tristate "Counter 1-wire device (DS2423)"
5917fecb55SMika Laitio	select CRC16
6017fecb55SMika Laitio	help
6117fecb55SMika Laitio	  If you enable this you can read the counter values available
6217fecb55SMika Laitio	  in the DS2423 chipset from the w1_slave file under the
6317fecb55SMika Laitio	  sys file system.
6417fecb55SMika Laitio
6517fecb55SMika Laitio	  Say Y here if you want to use a 1-wire
6617fecb55SMika Laitio	  counter family device (DS2423).
6717fecb55SMika Laitio
68f6887531SAndrew Worsleyconfig W1_SLAVE_DS2805
69f6887531SAndrew Worsley	tristate "112-byte EEPROM support (DS28E05)"
70f6887531SAndrew Worsley	help
71f6887531SAndrew Worsley	  Say Y here if you want to use a 1-wire
72f6887531SAndrew Worsley	  is a 112-byte user-programmable EEPROM is
73f6887531SAndrew Worsley          organized as 7 pages of 16 bytes each with 64bit
74f6887531SAndrew Worsley          unique number. Requires OverDrive Speed to talk to.
75f6887531SAndrew Worsley
768ca2f156SHerton Ronaldo Krzesinskiconfig W1_SLAVE_DS2431
778ca2f156SHerton Ronaldo Krzesinski	tristate "1kb EEPROM family support (DS2431)"
788ca2f156SHerton Ronaldo Krzesinski	help
798ca2f156SHerton Ronaldo Krzesinski	  Say Y here if you want to use a 1-wire
808ca2f156SHerton Ronaldo Krzesinski	  1kb EEPROM family device (DS2431)
818ca2f156SHerton Ronaldo Krzesinski
82bd529cfbSEvgeniy Polyakovconfig W1_SLAVE_DS2433
83bd529cfbSEvgeniy Polyakov	tristate "4kb EEPROM family support (DS2433)"
84bd529cfbSEvgeniy Polyakov	help
85bd529cfbSEvgeniy Polyakov	  Say Y here if you want to use a 1-wire
86bd529cfbSEvgeniy Polyakov	  4kb EEPROM family device (DS2433).
87bd529cfbSEvgeniy Polyakov
88bd529cfbSEvgeniy Polyakovconfig W1_SLAVE_DS2433_CRC
89bd529cfbSEvgeniy Polyakov	bool "Protect DS2433 data with a CRC16"
90f621e1c7SJean-Luc Leger	depends on W1_SLAVE_DS2433
91bd529cfbSEvgeniy Polyakov	select CRC16
92bd529cfbSEvgeniy Polyakov	help
93bd529cfbSEvgeniy Polyakov	  Say Y here to protect DS2433 data with a CRC16.
94bd529cfbSEvgeniy Polyakov	  Each block has 30 bytes of data and a two byte CRC16.
95bd529cfbSEvgeniy Polyakov	  Full block writes are only allowed if the CRC is valid.
96bd529cfbSEvgeniy Polyakov
97e3af95e6SMariusz Bialonczykconfig W1_SLAVE_DS2438
98e3af95e6SMariusz Bialonczyk	tristate "DS2438 Smart Battery Monitor 0x26 family support"
99e3af95e6SMariusz Bialonczyk	help
100e3af95e6SMariusz Bialonczyk	  Say Y here if you want to use a 1-wire
101e3af95e6SMariusz Bialonczyk	  DS2438 Smart Battery Monitor device support
102e3af95e6SMariusz Bialonczyk
103d7ce6d1dSAnton Vorontsovconfig W1_SLAVE_DS2760
104d7ce6d1dSAnton Vorontsov	tristate "Dallas 2760 battery monitor chip (HP iPAQ & others)"
105d7ce6d1dSAnton Vorontsov	help
106d7ce6d1dSAnton Vorontsov	  If you enable this you will have the DS2760 battery monitor
107d7ce6d1dSAnton Vorontsov	  chip support.
108d7ce6d1dSAnton Vorontsov
109d7ce6d1dSAnton Vorontsov	  The battery monitor chip is used in many batteries/devices
110d7ce6d1dSAnton Vorontsov	  as the one who is responsible for charging/discharging/monitoring
111d7ce6d1dSAnton Vorontsov	  Li+ batteries.
112d7ce6d1dSAnton Vorontsov
113d7ce6d1dSAnton Vorontsov	  If you are unsure, say N.
114d7ce6d1dSAnton Vorontsov
115275ac746SClifton Barnesconfig W1_SLAVE_DS2780
116275ac746SClifton Barnes	tristate "Dallas 2780 battery monitor chip"
117275ac746SClifton Barnes	help
118275ac746SClifton Barnes	  If you enable this you will have the DS2780 battery monitor
119275ac746SClifton Barnes	  chip support.
120275ac746SClifton Barnes
121275ac746SClifton Barnes	  The battery monitor chip is used in many batteries/devices
122275ac746SClifton Barnes	  as the one who is responsible for charging/discharging/monitoring
123275ac746SClifton Barnes	  Li+ batteries.
124275ac746SClifton Barnes
125275ac746SClifton Barnes	  If you are unsure, say N.
126275ac746SClifton Barnes
127fef37e9aSRenata Sayakhovaconfig W1_SLAVE_DS2781
128fef37e9aSRenata Sayakhova	tristate "Dallas 2781 battery monitor chip"
129fef37e9aSRenata Sayakhova	help
130fef37e9aSRenata Sayakhova	  If you enable this you will have the DS2781 battery monitor
131fef37e9aSRenata Sayakhova	  chip support.
132fef37e9aSRenata Sayakhova
133fef37e9aSRenata Sayakhova	  The battery monitor chip is used in many batteries/devices
134fef37e9aSRenata Sayakhova	  as the one who is responsible for charging/discharging/monitoring
135fef37e9aSRenata Sayakhova	  Li+ batteries.
136fef37e9aSRenata Sayakhova
137fef37e9aSRenata Sayakhova	  If you are unsure, say N.
138fef37e9aSRenata Sayakhova
139fbf7f7b4SMarkus Frankeconfig W1_SLAVE_DS28E04
140fbf7f7b4SMarkus Franke	tristate "4096-Bit Addressable 1-Wire EEPROM with PIO (DS28E04-100)"
141fbf7f7b4SMarkus Franke	select CRC16
142fbf7f7b4SMarkus Franke	help
143fbf7f7b4SMarkus Franke	  If you enable this you will have the DS28E04-100
144fbf7f7b4SMarkus Franke	  chip support.
145fbf7f7b4SMarkus Franke
146fbf7f7b4SMarkus Franke	  Say Y here if you want to use a 1-wire
147fbf7f7b4SMarkus Franke	  4kb EEPROM with PIO family device (DS28E04).
148fbf7f7b4SMarkus Franke
149fbf7f7b4SMarkus Franke	  If you are unsure, say N.
150fbf7f7b4SMarkus Franke
151*ebc4768aSJan Kandzioraconfig W1_SLAVE_DS28E17
152*ebc4768aSJan Kandziora	tristate "1-wire-to-I2C master bridge (DS28E17)"
153*ebc4768aSJan Kandziora	select CRC16
154*ebc4768aSJan Kandziora	depends on I2C
155*ebc4768aSJan Kandziora	help
156*ebc4768aSJan Kandziora	  Say Y here if you want to use the DS28E17 1-wire-to-I2C master bridge.
157*ebc4768aSJan Kandziora	  For each DS28E17 detected, a new I2C adapter is created within the
158*ebc4768aSJan Kandziora	  kernel. I2C devices on that bus can be configured to be used by the
159*ebc4768aSJan Kandziora	  kernel and userspace tools as on any other "native" I2C bus.
160*ebc4768aSJan Kandziora
161*ebc4768aSJan Kandziora	  This driver is also available as a module. If so, the module
162*ebc4768aSJan Kandziora	  will be called w1_ds28e17.
163*ebc4768aSJan Kandziora
164*ebc4768aSJan Kandziora	  If you are unsure, say N.
165*ebc4768aSJan Kandziora
166bd529cfbSEvgeniy Polyakovendmenu
167