xref: /openbmc/linux/drivers/iio/pressure/Kconfig (revision ec8f24b7)
1*ec8f24b7SThomas Gleixner# SPDX-License-Identifier: GPL-2.0-only
2217494e5SDenis CIOCCA#
3217494e5SDenis CIOCCA# Pressure drivers
4217494e5SDenis CIOCCA#
53edc84e6SLars-Peter Clausen# When adding new entries keep the list in alphabetical order
63edc84e6SLars-Peter Clausen
793232cd5SPeter Meerwaldmenu "Pressure sensors"
8217494e5SDenis CIOCCA
99ecca12eSMarcin Malagowskiconfig ABP060MG
109ecca12eSMarcin Malagowski	tristate "Honeywell ABP pressure sensor driver"
119ecca12eSMarcin Malagowski	depends on I2C
129ecca12eSMarcin Malagowski	help
139ecca12eSMarcin Malagowski	  Say yes here to build support for the Honeywell ABP pressure
149ecca12eSMarcin Malagowski	  sensors.
159ecca12eSMarcin Malagowski
169ecca12eSMarcin Malagowski	  To compile this driver as a module, choose M here: the module
179ecca12eSMarcin Malagowski	  will be called abp060mg.
189ecca12eSMarcin Malagowski
19d5c94568SVlad Dogaruconfig BMP280
2017118843SLinus Walleij	tristate "Bosch Sensortec BMP180/BMP280 pressure sensor I2C driver"
21b26b4e91SLinus Walleij	depends on (I2C || SPI_MASTER)
2217118843SLinus Walleij	select REGMAP
2317118843SLinus Walleij	select BMP280_I2C if (I2C)
24b26b4e91SLinus Walleij	select BMP280_SPI if (SPI_MASTER)
25d5c94568SVlad Dogaru	help
266dba72ecSAkinobu Mita	  Say yes here to build support for Bosch Sensortec BMP180 and BMP280
279a043b0bSPeter Meerwald-Stadler	  pressure and temperature sensors. Also supports the BME280 with
2817118843SLinus Walleij	  an additional humidity sensor channel.
29d5c94568SVlad Dogaru
30b26b4e91SLinus Walleij	  To compile this driver as a module, choose M here: the core module
31b26b4e91SLinus Walleij	  will be called bmp280 and you will also get bmp280-i2c for I2C
32b26b4e91SLinus Walleij	  and/or bmp280-spi for SPI support.
3317118843SLinus Walleij
3417118843SLinus Walleijconfig BMP280_I2C
3517118843SLinus Walleij	tristate
3617118843SLinus Walleij	depends on BMP280
3717118843SLinus Walleij	depends on I2C
3817118843SLinus Walleij	select REGMAP_I2C
39d5c94568SVlad Dogaru
40b26b4e91SLinus Walleijconfig BMP280_SPI
41b26b4e91SLinus Walleij	tristate
42b26b4e91SLinus Walleij	depends on BMP280
43b26b4e91SLinus Walleij	depends on SPI_MASTER
44b26b4e91SLinus Walleij	select REGMAP
45b26b4e91SLinus Walleij
46d732248fSGwendal Grignouconfig IIO_CROS_EC_BARO
47d732248fSGwendal Grignou	tristate "ChromeOS EC Barometer Sensor"
48d732248fSGwendal Grignou	depends on IIO_CROS_EC_SENSORS_CORE
49d732248fSGwendal Grignou	help
50d732248fSGwendal Grignou	  Say yes here to build support for the Barometer sensor when
51d732248fSGwendal Grignou	  presented by the ChromeOS EC Sensor hub.
52d732248fSGwendal Grignou
53d732248fSGwendal Grignou	  To compile this driver as a module, choose M here: the module
54d732248fSGwendal Grignou	  will be called cros_ec_baro.
55d732248fSGwendal Grignou
56f64a799bSArchana Patniconfig HID_SENSOR_PRESS
57f64a799bSArchana Patni	depends on HID_SENSOR_HUB
58f64a799bSArchana Patni	select IIO_BUFFER
59f64a799bSArchana Patni	select IIO_TRIGGERED_BUFFER
60f64a799bSArchana Patni	select HID_SENSOR_IIO_COMMON
61f64a799bSArchana Patni	select HID_SENSOR_IIO_TRIGGER
62f64a799bSArchana Patni	tristate "HID PRESS"
63f64a799bSArchana Patni	help
64f64a799bSArchana Patni	  Say yes here to build support for the HID SENSOR
65f64a799bSArchana Patni	  Pressure driver
66f64a799bSArchana Patni
67f64a799bSArchana Patni	  To compile this driver as a module, choose M here: the module
68f64a799bSArchana Patni	  will be called hid-sensor-press.
69f64a799bSArchana Patni
70d8469e93SMarek Vasutconfig HP03
71d8469e93SMarek Vasut	tristate "Hope RF HP03 temperature and pressure sensor driver"
72d8469e93SMarek Vasut	depends on I2C
73d8469e93SMarek Vasut	select REGMAP_I2C
74d8469e93SMarek Vasut	help
75d8469e93SMarek Vasut	  Say yes here to build support for Hope RF HP03 pressure and
76d8469e93SMarek Vasut	  temperature sensor.
77d8469e93SMarek Vasut
78d8469e93SMarek Vasut	  To compile this driver as a module, choose M here: the module
79d8469e93SMarek Vasut	  will be called hp03.
80d8469e93SMarek Vasut
813017d90eSPeter Meerwaldconfig MPL115
82c984b9cbSAkinobu Mita	tristate
83c984b9cbSAkinobu Mita
84c984b9cbSAkinobu Mitaconfig MPL115_I2C
853017d90eSPeter Meerwald	tristate "Freescale MPL115A2 pressure sensor driver"
863017d90eSPeter Meerwald	depends on I2C
87c984b9cbSAkinobu Mita	select MPL115
883017d90eSPeter Meerwald	help
893017d90eSPeter Meerwald	  Say yes here to build support for the Freescale MPL115A2
903017d90eSPeter Meerwald	  pressure sensor connected via I2C.
913017d90eSPeter Meerwald
923017d90eSPeter Meerwald	  To compile this driver as a module, choose M here: the module
93c984b9cbSAkinobu Mita	  will be called mpl115_i2c.
94c984b9cbSAkinobu Mita
95c984b9cbSAkinobu Mitaconfig MPL115_SPI
96c984b9cbSAkinobu Mita	tristate "Freescale MPL115A1 pressure sensor driver"
97c984b9cbSAkinobu Mita	depends on SPI_MASTER
98c984b9cbSAkinobu Mita	select MPL115
99c984b9cbSAkinobu Mita	help
100c984b9cbSAkinobu Mita	  Say yes here to build support for the Freescale MPL115A1
101c984b9cbSAkinobu Mita	  pressure sensor connected via SPI.
102c984b9cbSAkinobu Mita
103c984b9cbSAkinobu Mita	  To compile this driver as a module, choose M here: the module
104c984b9cbSAkinobu Mita	  will be called mpl115_spi.
1053017d90eSPeter Meerwald
106cc26ad45SPeter Meerwaldconfig MPL3115
107cc26ad45SPeter Meerwald	tristate "Freescale MPL3115A2 pressure sensor driver"
108cc26ad45SPeter Meerwald	depends on I2C
109cc26ad45SPeter Meerwald	select IIO_BUFFER
110cc26ad45SPeter Meerwald	select IIO_TRIGGERED_BUFFER
111cc26ad45SPeter Meerwald	help
112cc26ad45SPeter Meerwald	  Say yes here to build support for the Freescale MPL3115A2
113cc26ad45SPeter Meerwald	  pressure sensor / altimeter.
114cc26ad45SPeter Meerwald
115cc26ad45SPeter Meerwald	  To compile this driver as a module, choose M here: the module
116cc26ad45SPeter Meerwald	  will be called mpl3115.
117cc26ad45SPeter Meerwald
118c0644160STomasz Duszynskiconfig MS5611
119825c50dbSPeter Meerwald	tristate "Measurement Specialties MS5611 pressure sensor driver"
1203d5032a0SArnd Bergmann	select IIO_BUFFER
121713bbb4eSDaniel Baluta	select IIO_TRIGGERED_BUFFER
122c0644160STomasz Duszynski	help
123825c50dbSPeter Meerwald	  Say Y here to build support for the Measurement Specialties
1249690d81aSTomasz Duszynski	  MS5611, MS5607 pressure and temperature sensors.
125c0644160STomasz Duszynski
126c0644160STomasz Duszynski	  To compile this driver as a module, choose M here: the module will
127c0644160STomasz Duszynski	  be called ms5611_core.
128c0644160STomasz Duszynski
129c0644160STomasz Duszynskiconfig MS5611_I2C
130c0644160STomasz Duszynski	tristate "support I2C bus connection"
131c0644160STomasz Duszynski	depends on I2C && MS5611
132c0644160STomasz Duszynski	help
133c0644160STomasz Duszynski	  Say Y here to build I2C bus support for MS5611.
134c0644160STomasz Duszynski
135c0644160STomasz Duszynski	  To compile this driver as a module, choose M here: the module will
136c0644160STomasz Duszynski	  be called ms5611_i2c.
137c0644160STomasz Duszynski
138c0644160STomasz Duszynskiconfig MS5611_SPI
139c0644160STomasz Duszynski	tristate "support SPI bus connection"
140c0644160STomasz Duszynski	depends on SPI_MASTER && MS5611
141c0644160STomasz Duszynski	help
142c0644160STomasz Duszynski	  Say Y here to build SPI bus support for MS5611.
143c0644160STomasz Duszynski
144c0644160STomasz Duszynski	  To compile this driver as a module, choose M here: the module will
145c0644160STomasz Duszynski	  be called ms5611_spi.
146c0644160STomasz Duszynski
14764a70c65SLudovic Tancerelconfig MS5637
14864a70c65SLudovic Tancerel	tristate "Measurement Specialties MS5637 pressure & temperature sensor"
14964a70c65SLudovic Tancerel	depends on I2C
15064a70c65SLudovic Tancerel	select IIO_MS_SENSORS_I2C
15164a70c65SLudovic Tancerel	help
15264a70c65SLudovic Tancerel	  If you say yes here you get support for the Measurement Specialties
15364a70c65SLudovic Tancerel	  MS5637 pressure and temperature sensor.
1541b75ce65SLudovic Tancerel	  This driver is also used for MS8607 temperature, pressure & humidity
1551b75ce65SLudovic Tancerel	  sensor
15664a70c65SLudovic Tancerel
15764a70c65SLudovic Tancerel	  This driver can also be built as a module. If so, the module will
15864a70c65SLudovic Tancerel	  be called ms5637.
15964a70c65SLudovic Tancerel
160217494e5SDenis CIOCCAconfig IIO_ST_PRESS
16193232cd5SPeter Meerwald	tristate "STMicroelectronics pressure sensor Driver"
162217494e5SDenis CIOCCA	depends on (I2C || SPI_MASTER) && SYSFS
163217494e5SDenis CIOCCA	select IIO_ST_SENSORS_CORE
164217494e5SDenis CIOCCA	select IIO_ST_PRESS_I2C if (I2C)
165217494e5SDenis CIOCCA	select IIO_ST_PRESS_SPI if (SPI_MASTER)
166217494e5SDenis CIOCCA	select IIO_TRIGGERED_BUFFER if (IIO_BUFFER)
167217494e5SDenis CIOCCA	help
16893232cd5SPeter Meerwald	  Say yes here to build support for STMicroelectronics pressure
169e5aab7b0Smario tesi	  sensors: LPS001WP, LPS25H, LPS331AP, LPS22HB, LPS22HH.
170217494e5SDenis CIOCCA
171341673f1SPeter Meerwald	  This driver can also be built as a module. If so, these modules
172341673f1SPeter Meerwald	  will be created:
173217494e5SDenis CIOCCA	  - st_pressure (core functions for the driver [it is mandatory]);
174217494e5SDenis CIOCCA	  - st_pressure_i2c (necessary for the I2C devices [optional*]);
175217494e5SDenis CIOCCA	  - st_pressure_spi (necessary for the SPI devices [optional*]);
176217494e5SDenis CIOCCA
177217494e5SDenis CIOCCA	  (*) one of these is necessary to do something.
178217494e5SDenis CIOCCA
179217494e5SDenis CIOCCAconfig IIO_ST_PRESS_I2C
180217494e5SDenis CIOCCA	tristate
181217494e5SDenis CIOCCA	depends on IIO_ST_PRESS
182217494e5SDenis CIOCCA	depends on IIO_ST_SENSORS_I2C
183217494e5SDenis CIOCCA
184217494e5SDenis CIOCCAconfig IIO_ST_PRESS_SPI
185217494e5SDenis CIOCCA	tristate
186217494e5SDenis CIOCCA	depends on IIO_ST_PRESS
187217494e5SDenis CIOCCA	depends on IIO_ST_SENSORS_SPI
188217494e5SDenis CIOCCA
189a2d8be68SPeter Meerwaldconfig T5403
190a2d8be68SPeter Meerwald	tristate "EPCOS T5403 digital barometric pressure sensor driver"
191a2d8be68SPeter Meerwald	depends on I2C
192a2d8be68SPeter Meerwald	help
193a2d8be68SPeter Meerwald	  Say yes here to build support for the EPCOS T5403 pressure sensor
194a2d8be68SPeter Meerwald	  connected via I2C.
195a2d8be68SPeter Meerwald
196a2d8be68SPeter Meerwald	  To compile this driver as a module, choose M here: the module
197a2d8be68SPeter Meerwald	  will be called t5403.
198a2d8be68SPeter Meerwald
199fa4c9c93SCrestez Dan Leonardconfig HP206C
200fa4c9c93SCrestez Dan Leonard	tristate "HOPERF HP206C precision barometer and altimeter sensor"
201fa4c9c93SCrestez Dan Leonard	depends on I2C
202fa4c9c93SCrestez Dan Leonard	help
203fa4c9c93SCrestez Dan Leonard	  Say yes here to build support for the HOPREF HP206C precision
204fa4c9c93SCrestez Dan Leonard	  barometer and altimeter sensor.
205fa4c9c93SCrestez Dan Leonard
206fa4c9c93SCrestez Dan Leonard	  This driver can also be built as a module. If so, the module will
207fa4c9c93SCrestez Dan Leonard	  be called hp206c.
208fa4c9c93SCrestez Dan Leonard
20903b262f2SGregor Boirieconfig ZPA2326
21003b262f2SGregor Boirie	tristate "Murata ZPA2326 pressure sensor driver"
21103b262f2SGregor Boirie	select IIO_BUFFER
21203b262f2SGregor Boirie	select IIO_TRIGGERED_BUFFER
21303b262f2SGregor Boirie	select REGMAP
21403b262f2SGregor Boirie	select ZPA2326_I2C if I2C
21503b262f2SGregor Boirie	select ZPA2326_SPI if SPI_MASTER
21603b262f2SGregor Boirie	help
21703b262f2SGregor Boirie	  Say Y here to build support for the Murata ZPA2326 pressure and
21803b262f2SGregor Boirie	  temperature sensor.
21903b262f2SGregor Boirie
22003b262f2SGregor Boirie	  To compile this driver as a module, choose M here: the module will
22103b262f2SGregor Boirie	  be called zpa2326.
22203b262f2SGregor Boirie
22303b262f2SGregor Boirieconfig ZPA2326_I2C
22403b262f2SGregor Boirie	tristate
22503b262f2SGregor Boirie	select REGMAP_I2C
22603b262f2SGregor Boirie
22703b262f2SGregor Boirieconfig ZPA2326_SPI
22803b262f2SGregor Boirie	tristate
22903b262f2SGregor Boirie	select REGMAP_SPI
23003b262f2SGregor Boirie
231217494e5SDenis CIOCCAendmenu
232