xref: /openbmc/linux/drivers/iio/pressure/Kconfig (revision 17118843)
1217494e5SDenis CIOCCA#
2217494e5SDenis CIOCCA# Pressure drivers
3217494e5SDenis CIOCCA#
43edc84e6SLars-Peter Clausen# When adding new entries keep the list in alphabetical order
53edc84e6SLars-Peter Clausen
693232cd5SPeter Meerwaldmenu "Pressure sensors"
7217494e5SDenis CIOCCA
8d5c94568SVlad Dogaruconfig BMP280
9*17118843SLinus Walleij	tristate "Bosch Sensortec BMP180/BMP280 pressure sensor I2C driver"
10d5c94568SVlad Dogaru	depends on I2C
116dba72ecSAkinobu Mita	depends on !(BMP085_I2C=y || BMP085_I2C=m)
12*17118843SLinus Walleij	select REGMAP
13*17118843SLinus Walleij	select BMP280_I2C if (I2C)
14d5c94568SVlad Dogaru	help
156dba72ecSAkinobu Mita	  Say yes here to build support for Bosch Sensortec BMP180 and BMP280
1614beaa8fSMatt Ranostay	  pressure and temperature sensors. Also supports the BE280 with
17*17118843SLinus Walleij	  an additional humidity sensor channel.
18d5c94568SVlad Dogaru
19*17118843SLinus Walleij	  To compile this driver as a module, choose M here: the modules
20*17118843SLinus Walleij	  will be called bmp280-i2c and bmp280.
21*17118843SLinus Walleij
22*17118843SLinus Walleijconfig BMP280_I2C
23*17118843SLinus Walleij	tristate
24*17118843SLinus Walleij	depends on BMP280
25*17118843SLinus Walleij	depends on I2C
26*17118843SLinus Walleij	select REGMAP_I2C
27d5c94568SVlad Dogaru
28f64a799bSArchana Patniconfig HID_SENSOR_PRESS
29f64a799bSArchana Patni	depends on HID_SENSOR_HUB
30f64a799bSArchana Patni	select IIO_BUFFER
31f64a799bSArchana Patni	select IIO_TRIGGERED_BUFFER
32f64a799bSArchana Patni	select HID_SENSOR_IIO_COMMON
33f64a799bSArchana Patni	select HID_SENSOR_IIO_TRIGGER
34f64a799bSArchana Patni	tristate "HID PRESS"
35f64a799bSArchana Patni	help
36f64a799bSArchana Patni	  Say yes here to build support for the HID SENSOR
37f64a799bSArchana Patni	  Pressure driver
38f64a799bSArchana Patni
39f64a799bSArchana Patni	  To compile this driver as a module, choose M here: the module
40f64a799bSArchana Patni	  will be called hid-sensor-press.
41f64a799bSArchana Patni
42d8469e93SMarek Vasutconfig HP03
43d8469e93SMarek Vasut	tristate "Hope RF HP03 temperature and pressure sensor driver"
44d8469e93SMarek Vasut	depends on I2C
45d8469e93SMarek Vasut	select REGMAP_I2C
46d8469e93SMarek Vasut	help
47d8469e93SMarek Vasut	  Say yes here to build support for Hope RF HP03 pressure and
48d8469e93SMarek Vasut	  temperature sensor.
49d8469e93SMarek Vasut
50d8469e93SMarek Vasut	  To compile this driver as a module, choose M here: the module
51d8469e93SMarek Vasut	  will be called hp03.
52d8469e93SMarek Vasut
533017d90eSPeter Meerwaldconfig MPL115
54c984b9cbSAkinobu Mita	tristate
55c984b9cbSAkinobu Mita
56c984b9cbSAkinobu Mitaconfig MPL115_I2C
573017d90eSPeter Meerwald	tristate "Freescale MPL115A2 pressure sensor driver"
583017d90eSPeter Meerwald	depends on I2C
59c984b9cbSAkinobu Mita	select MPL115
603017d90eSPeter Meerwald	help
613017d90eSPeter Meerwald	  Say yes here to build support for the Freescale MPL115A2
623017d90eSPeter Meerwald	  pressure sensor connected via I2C.
633017d90eSPeter Meerwald
643017d90eSPeter Meerwald	  To compile this driver as a module, choose M here: the module
65c984b9cbSAkinobu Mita	  will be called mpl115_i2c.
66c984b9cbSAkinobu Mita
67c984b9cbSAkinobu Mitaconfig MPL115_SPI
68c984b9cbSAkinobu Mita	tristate "Freescale MPL115A1 pressure sensor driver"
69c984b9cbSAkinobu Mita	depends on SPI_MASTER
70c984b9cbSAkinobu Mita	select MPL115
71c984b9cbSAkinobu Mita	help
72c984b9cbSAkinobu Mita	  Say yes here to build support for the Freescale MPL115A1
73c984b9cbSAkinobu Mita	  pressure sensor connected via SPI.
74c984b9cbSAkinobu Mita
75c984b9cbSAkinobu Mita	  To compile this driver as a module, choose M here: the module
76c984b9cbSAkinobu Mita	  will be called mpl115_spi.
773017d90eSPeter Meerwald
78cc26ad45SPeter Meerwaldconfig MPL3115
79cc26ad45SPeter Meerwald	tristate "Freescale MPL3115A2 pressure sensor driver"
80cc26ad45SPeter Meerwald	depends on I2C
81cc26ad45SPeter Meerwald	select IIO_BUFFER
82cc26ad45SPeter Meerwald	select IIO_TRIGGERED_BUFFER
83cc26ad45SPeter Meerwald	help
84cc26ad45SPeter Meerwald	  Say yes here to build support for the Freescale MPL3115A2
85cc26ad45SPeter Meerwald	  pressure sensor / altimeter.
86cc26ad45SPeter Meerwald
87cc26ad45SPeter Meerwald	  To compile this driver as a module, choose M here: the module
88cc26ad45SPeter Meerwald	  will be called mpl3115.
89cc26ad45SPeter Meerwald
90c0644160STomasz Duszynskiconfig MS5611
91825c50dbSPeter Meerwald	tristate "Measurement Specialties MS5611 pressure sensor driver"
923d5032a0SArnd Bergmann	select IIO_BUFFER
93713bbb4eSDaniel Baluta	select IIO_TRIGGERED_BUFFER
94c0644160STomasz Duszynski	help
95825c50dbSPeter Meerwald	  Say Y here to build support for the Measurement Specialties
969690d81aSTomasz Duszynski	  MS5611, MS5607 pressure and temperature sensors.
97c0644160STomasz Duszynski
98c0644160STomasz Duszynski	  To compile this driver as a module, choose M here: the module will
99c0644160STomasz Duszynski	  be called ms5611_core.
100c0644160STomasz Duszynski
101c0644160STomasz Duszynskiconfig MS5611_I2C
102c0644160STomasz Duszynski	tristate "support I2C bus connection"
103c0644160STomasz Duszynski	depends on I2C && MS5611
104c0644160STomasz Duszynski	help
105c0644160STomasz Duszynski	  Say Y here to build I2C bus support for MS5611.
106c0644160STomasz Duszynski
107c0644160STomasz Duszynski	  To compile this driver as a module, choose M here: the module will
108c0644160STomasz Duszynski	  be called ms5611_i2c.
109c0644160STomasz Duszynski
110c0644160STomasz Duszynskiconfig MS5611_SPI
111c0644160STomasz Duszynski	tristate "support SPI bus connection"
112c0644160STomasz Duszynski	depends on SPI_MASTER && MS5611
113c0644160STomasz Duszynski	help
114c0644160STomasz Duszynski	  Say Y here to build SPI bus support for MS5611.
115c0644160STomasz Duszynski
116c0644160STomasz Duszynski	  To compile this driver as a module, choose M here: the module will
117c0644160STomasz Duszynski	  be called ms5611_spi.
118c0644160STomasz Duszynski
11964a70c65SLudovic Tancerelconfig MS5637
12064a70c65SLudovic Tancerel	tristate "Measurement Specialties MS5637 pressure & temperature sensor"
12164a70c65SLudovic Tancerel	depends on I2C
12264a70c65SLudovic Tancerel	select IIO_MS_SENSORS_I2C
12364a70c65SLudovic Tancerel	help
12464a70c65SLudovic Tancerel	  If you say yes here you get support for the Measurement Specialties
12564a70c65SLudovic Tancerel	  MS5637 pressure and temperature sensor.
1261b75ce65SLudovic Tancerel	  This driver is also used for MS8607 temperature, pressure & humidity
1271b75ce65SLudovic Tancerel	  sensor
12864a70c65SLudovic Tancerel
12964a70c65SLudovic Tancerel	  This driver can also be built as a module. If so, the module will
13064a70c65SLudovic Tancerel	  be called ms5637.
13164a70c65SLudovic Tancerel
132217494e5SDenis CIOCCAconfig IIO_ST_PRESS
13393232cd5SPeter Meerwald	tristate "STMicroelectronics pressure sensor Driver"
134217494e5SDenis CIOCCA	depends on (I2C || SPI_MASTER) && SYSFS
135217494e5SDenis CIOCCA	select IIO_ST_SENSORS_CORE
136217494e5SDenis CIOCCA	select IIO_ST_PRESS_I2C if (I2C)
137217494e5SDenis CIOCCA	select IIO_ST_PRESS_SPI if (SPI_MASTER)
138217494e5SDenis CIOCCA	select IIO_TRIGGERED_BUFFER if (IIO_BUFFER)
139217494e5SDenis CIOCCA	help
14093232cd5SPeter Meerwald	  Say yes here to build support for STMicroelectronics pressure
141e039e2f5SGregor Boirie	  sensors: LPS001WP, LPS25H, LPS331AP, LPS22HB.
142217494e5SDenis CIOCCA
143341673f1SPeter Meerwald	  This driver can also be built as a module. If so, these modules
144341673f1SPeter Meerwald	  will be created:
145217494e5SDenis CIOCCA	  - st_pressure (core functions for the driver [it is mandatory]);
146217494e5SDenis CIOCCA	  - st_pressure_i2c (necessary for the I2C devices [optional*]);
147217494e5SDenis CIOCCA	  - st_pressure_spi (necessary for the SPI devices [optional*]);
148217494e5SDenis CIOCCA
149217494e5SDenis CIOCCA	  (*) one of these is necessary to do something.
150217494e5SDenis CIOCCA
151217494e5SDenis CIOCCAconfig IIO_ST_PRESS_I2C
152217494e5SDenis CIOCCA	tristate
153217494e5SDenis CIOCCA	depends on IIO_ST_PRESS
154217494e5SDenis CIOCCA	depends on IIO_ST_SENSORS_I2C
155217494e5SDenis CIOCCA
156217494e5SDenis CIOCCAconfig IIO_ST_PRESS_SPI
157217494e5SDenis CIOCCA	tristate
158217494e5SDenis CIOCCA	depends on IIO_ST_PRESS
159217494e5SDenis CIOCCA	depends on IIO_ST_SENSORS_SPI
160217494e5SDenis CIOCCA
161a2d8be68SPeter Meerwaldconfig T5403
162a2d8be68SPeter Meerwald	tristate "EPCOS T5403 digital barometric pressure sensor driver"
163a2d8be68SPeter Meerwald	depends on I2C
164a2d8be68SPeter Meerwald	help
165a2d8be68SPeter Meerwald	  Say yes here to build support for the EPCOS T5403 pressure sensor
166a2d8be68SPeter Meerwald	  connected via I2C.
167a2d8be68SPeter Meerwald
168a2d8be68SPeter Meerwald	  To compile this driver as a module, choose M here: the module
169a2d8be68SPeter Meerwald	  will be called t5403.
170a2d8be68SPeter Meerwald
171fa4c9c93SCrestez Dan Leonardconfig HP206C
172fa4c9c93SCrestez Dan Leonard	tristate "HOPERF HP206C precision barometer and altimeter sensor"
173fa4c9c93SCrestez Dan Leonard	depends on I2C
174fa4c9c93SCrestez Dan Leonard	help
175fa4c9c93SCrestez Dan Leonard	  Say yes here to build support for the HOPREF HP206C precision
176fa4c9c93SCrestez Dan Leonard	  barometer and altimeter sensor.
177fa4c9c93SCrestez Dan Leonard
178fa4c9c93SCrestez Dan Leonard	  This driver can also be built as a module. If so, the module will
179fa4c9c93SCrestez Dan Leonard	  be called hp206c.
180fa4c9c93SCrestez Dan Leonard
181217494e5SDenis CIOCCAendmenu
182