xref: /openbmc/linux/drivers/iio/pressure/Kconfig (revision 03b262f2)
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
917118843SLinus Walleij	tristate "Bosch Sensortec BMP180/BMP280 pressure sensor I2C driver"
10b26b4e91SLinus Walleij	depends on (I2C || SPI_MASTER)
116dba72ecSAkinobu Mita	depends on !(BMP085_I2C=y || BMP085_I2C=m)
12b26b4e91SLinus Walleij	depends on !(BMP085_SPI=y || BMP085_SPI=m)
1317118843SLinus Walleij	select REGMAP
1417118843SLinus Walleij	select BMP280_I2C if (I2C)
15b26b4e91SLinus Walleij	select BMP280_SPI if (SPI_MASTER)
16d5c94568SVlad Dogaru	help
176dba72ecSAkinobu Mita	  Say yes here to build support for Bosch Sensortec BMP180 and BMP280
1814beaa8fSMatt Ranostay	  pressure and temperature sensors. Also supports the BE280 with
1917118843SLinus Walleij	  an additional humidity sensor channel.
20d5c94568SVlad Dogaru
21b26b4e91SLinus Walleij	  To compile this driver as a module, choose M here: the core module
22b26b4e91SLinus Walleij	  will be called bmp280 and you will also get bmp280-i2c for I2C
23b26b4e91SLinus Walleij	  and/or bmp280-spi for SPI support.
2417118843SLinus Walleij
2517118843SLinus Walleijconfig BMP280_I2C
2617118843SLinus Walleij	tristate
2717118843SLinus Walleij	depends on BMP280
2817118843SLinus Walleij	depends on I2C
2917118843SLinus Walleij	select REGMAP_I2C
30d5c94568SVlad Dogaru
31b26b4e91SLinus Walleijconfig BMP280_SPI
32b26b4e91SLinus Walleij	tristate
33b26b4e91SLinus Walleij	depends on BMP280
34b26b4e91SLinus Walleij	depends on SPI_MASTER
35b26b4e91SLinus Walleij	select REGMAP
36b26b4e91SLinus Walleij
37f64a799bSArchana Patniconfig HID_SENSOR_PRESS
38f64a799bSArchana Patni	depends on HID_SENSOR_HUB
39f64a799bSArchana Patni	select IIO_BUFFER
40f64a799bSArchana Patni	select IIO_TRIGGERED_BUFFER
41f64a799bSArchana Patni	select HID_SENSOR_IIO_COMMON
42f64a799bSArchana Patni	select HID_SENSOR_IIO_TRIGGER
43f64a799bSArchana Patni	tristate "HID PRESS"
44f64a799bSArchana Patni	help
45f64a799bSArchana Patni	  Say yes here to build support for the HID SENSOR
46f64a799bSArchana Patni	  Pressure driver
47f64a799bSArchana Patni
48f64a799bSArchana Patni	  To compile this driver as a module, choose M here: the module
49f64a799bSArchana Patni	  will be called hid-sensor-press.
50f64a799bSArchana Patni
51d8469e93SMarek Vasutconfig HP03
52d8469e93SMarek Vasut	tristate "Hope RF HP03 temperature and pressure sensor driver"
53d8469e93SMarek Vasut	depends on I2C
54d8469e93SMarek Vasut	select REGMAP_I2C
55d8469e93SMarek Vasut	help
56d8469e93SMarek Vasut	  Say yes here to build support for Hope RF HP03 pressure and
57d8469e93SMarek Vasut	  temperature sensor.
58d8469e93SMarek Vasut
59d8469e93SMarek Vasut	  To compile this driver as a module, choose M here: the module
60d8469e93SMarek Vasut	  will be called hp03.
61d8469e93SMarek Vasut
623017d90eSPeter Meerwaldconfig MPL115
63c984b9cbSAkinobu Mita	tristate
64c984b9cbSAkinobu Mita
65c984b9cbSAkinobu Mitaconfig MPL115_I2C
663017d90eSPeter Meerwald	tristate "Freescale MPL115A2 pressure sensor driver"
673017d90eSPeter Meerwald	depends on I2C
68c984b9cbSAkinobu Mita	select MPL115
693017d90eSPeter Meerwald	help
703017d90eSPeter Meerwald	  Say yes here to build support for the Freescale MPL115A2
713017d90eSPeter Meerwald	  pressure sensor connected via I2C.
723017d90eSPeter Meerwald
733017d90eSPeter Meerwald	  To compile this driver as a module, choose M here: the module
74c984b9cbSAkinobu Mita	  will be called mpl115_i2c.
75c984b9cbSAkinobu Mita
76c984b9cbSAkinobu Mitaconfig MPL115_SPI
77c984b9cbSAkinobu Mita	tristate "Freescale MPL115A1 pressure sensor driver"
78c984b9cbSAkinobu Mita	depends on SPI_MASTER
79c984b9cbSAkinobu Mita	select MPL115
80c984b9cbSAkinobu Mita	help
81c984b9cbSAkinobu Mita	  Say yes here to build support for the Freescale MPL115A1
82c984b9cbSAkinobu Mita	  pressure sensor connected via SPI.
83c984b9cbSAkinobu Mita
84c984b9cbSAkinobu Mita	  To compile this driver as a module, choose M here: the module
85c984b9cbSAkinobu Mita	  will be called mpl115_spi.
863017d90eSPeter Meerwald
87cc26ad45SPeter Meerwaldconfig MPL3115
88cc26ad45SPeter Meerwald	tristate "Freescale MPL3115A2 pressure sensor driver"
89cc26ad45SPeter Meerwald	depends on I2C
90cc26ad45SPeter Meerwald	select IIO_BUFFER
91cc26ad45SPeter Meerwald	select IIO_TRIGGERED_BUFFER
92cc26ad45SPeter Meerwald	help
93cc26ad45SPeter Meerwald	  Say yes here to build support for the Freescale MPL3115A2
94cc26ad45SPeter Meerwald	  pressure sensor / altimeter.
95cc26ad45SPeter Meerwald
96cc26ad45SPeter Meerwald	  To compile this driver as a module, choose M here: the module
97cc26ad45SPeter Meerwald	  will be called mpl3115.
98cc26ad45SPeter Meerwald
99c0644160STomasz Duszynskiconfig MS5611
100825c50dbSPeter Meerwald	tristate "Measurement Specialties MS5611 pressure sensor driver"
1013d5032a0SArnd Bergmann	select IIO_BUFFER
102713bbb4eSDaniel Baluta	select IIO_TRIGGERED_BUFFER
103c0644160STomasz Duszynski	help
104825c50dbSPeter Meerwald	  Say Y here to build support for the Measurement Specialties
1059690d81aSTomasz Duszynski	  MS5611, MS5607 pressure and temperature sensors.
106c0644160STomasz Duszynski
107c0644160STomasz Duszynski	  To compile this driver as a module, choose M here: the module will
108c0644160STomasz Duszynski	  be called ms5611_core.
109c0644160STomasz Duszynski
110c0644160STomasz Duszynskiconfig MS5611_I2C
111c0644160STomasz Duszynski	tristate "support I2C bus connection"
112c0644160STomasz Duszynski	depends on I2C && MS5611
113c0644160STomasz Duszynski	help
114c0644160STomasz Duszynski	  Say Y here to build I2C 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_i2c.
118c0644160STomasz Duszynski
119c0644160STomasz Duszynskiconfig MS5611_SPI
120c0644160STomasz Duszynski	tristate "support SPI bus connection"
121c0644160STomasz Duszynski	depends on SPI_MASTER && MS5611
122c0644160STomasz Duszynski	help
123c0644160STomasz Duszynski	  Say Y here to build SPI bus support for MS5611.
124c0644160STomasz Duszynski
125c0644160STomasz Duszynski	  To compile this driver as a module, choose M here: the module will
126c0644160STomasz Duszynski	  be called ms5611_spi.
127c0644160STomasz Duszynski
12864a70c65SLudovic Tancerelconfig MS5637
12964a70c65SLudovic Tancerel	tristate "Measurement Specialties MS5637 pressure & temperature sensor"
13064a70c65SLudovic Tancerel	depends on I2C
13164a70c65SLudovic Tancerel	select IIO_MS_SENSORS_I2C
13264a70c65SLudovic Tancerel	help
13364a70c65SLudovic Tancerel	  If you say yes here you get support for the Measurement Specialties
13464a70c65SLudovic Tancerel	  MS5637 pressure and temperature sensor.
1351b75ce65SLudovic Tancerel	  This driver is also used for MS8607 temperature, pressure & humidity
1361b75ce65SLudovic Tancerel	  sensor
13764a70c65SLudovic Tancerel
13864a70c65SLudovic Tancerel	  This driver can also be built as a module. If so, the module will
13964a70c65SLudovic Tancerel	  be called ms5637.
14064a70c65SLudovic Tancerel
141217494e5SDenis CIOCCAconfig IIO_ST_PRESS
14293232cd5SPeter Meerwald	tristate "STMicroelectronics pressure sensor Driver"
143217494e5SDenis CIOCCA	depends on (I2C || SPI_MASTER) && SYSFS
144217494e5SDenis CIOCCA	select IIO_ST_SENSORS_CORE
145217494e5SDenis CIOCCA	select IIO_ST_PRESS_I2C if (I2C)
146217494e5SDenis CIOCCA	select IIO_ST_PRESS_SPI if (SPI_MASTER)
147217494e5SDenis CIOCCA	select IIO_TRIGGERED_BUFFER if (IIO_BUFFER)
148217494e5SDenis CIOCCA	help
14993232cd5SPeter Meerwald	  Say yes here to build support for STMicroelectronics pressure
150e039e2f5SGregor Boirie	  sensors: LPS001WP, LPS25H, LPS331AP, LPS22HB.
151217494e5SDenis CIOCCA
152341673f1SPeter Meerwald	  This driver can also be built as a module. If so, these modules
153341673f1SPeter Meerwald	  will be created:
154217494e5SDenis CIOCCA	  - st_pressure (core functions for the driver [it is mandatory]);
155217494e5SDenis CIOCCA	  - st_pressure_i2c (necessary for the I2C devices [optional*]);
156217494e5SDenis CIOCCA	  - st_pressure_spi (necessary for the SPI devices [optional*]);
157217494e5SDenis CIOCCA
158217494e5SDenis CIOCCA	  (*) one of these is necessary to do something.
159217494e5SDenis CIOCCA
160217494e5SDenis CIOCCAconfig IIO_ST_PRESS_I2C
161217494e5SDenis CIOCCA	tristate
162217494e5SDenis CIOCCA	depends on IIO_ST_PRESS
163217494e5SDenis CIOCCA	depends on IIO_ST_SENSORS_I2C
164217494e5SDenis CIOCCA
165217494e5SDenis CIOCCAconfig IIO_ST_PRESS_SPI
166217494e5SDenis CIOCCA	tristate
167217494e5SDenis CIOCCA	depends on IIO_ST_PRESS
168217494e5SDenis CIOCCA	depends on IIO_ST_SENSORS_SPI
169217494e5SDenis CIOCCA
170a2d8be68SPeter Meerwaldconfig T5403
171a2d8be68SPeter Meerwald	tristate "EPCOS T5403 digital barometric pressure sensor driver"
172a2d8be68SPeter Meerwald	depends on I2C
173a2d8be68SPeter Meerwald	help
174a2d8be68SPeter Meerwald	  Say yes here to build support for the EPCOS T5403 pressure sensor
175a2d8be68SPeter Meerwald	  connected via I2C.
176a2d8be68SPeter Meerwald
177a2d8be68SPeter Meerwald	  To compile this driver as a module, choose M here: the module
178a2d8be68SPeter Meerwald	  will be called t5403.
179a2d8be68SPeter Meerwald
180fa4c9c93SCrestez Dan Leonardconfig HP206C
181fa4c9c93SCrestez Dan Leonard	tristate "HOPERF HP206C precision barometer and altimeter sensor"
182fa4c9c93SCrestez Dan Leonard	depends on I2C
183fa4c9c93SCrestez Dan Leonard	help
184fa4c9c93SCrestez Dan Leonard	  Say yes here to build support for the HOPREF HP206C precision
185fa4c9c93SCrestez Dan Leonard	  barometer and altimeter sensor.
186fa4c9c93SCrestez Dan Leonard
187fa4c9c93SCrestez Dan Leonard	  This driver can also be built as a module. If so, the module will
188fa4c9c93SCrestez Dan Leonard	  be called hp206c.
189fa4c9c93SCrestez Dan Leonard
190*03b262f2SGregor Boirieconfig ZPA2326
191*03b262f2SGregor Boirie	tristate "Murata ZPA2326 pressure sensor driver"
192*03b262f2SGregor Boirie	select IIO_BUFFER
193*03b262f2SGregor Boirie	select IIO_TRIGGERED_BUFFER
194*03b262f2SGregor Boirie	select REGMAP
195*03b262f2SGregor Boirie	select ZPA2326_I2C if I2C
196*03b262f2SGregor Boirie	select ZPA2326_SPI if SPI_MASTER
197*03b262f2SGregor Boirie	help
198*03b262f2SGregor Boirie	  Say Y here to build support for the Murata ZPA2326 pressure and
199*03b262f2SGregor Boirie	  temperature sensor.
200*03b262f2SGregor Boirie
201*03b262f2SGregor Boirie	  To compile this driver as a module, choose M here: the module will
202*03b262f2SGregor Boirie	  be called zpa2326.
203*03b262f2SGregor Boirie
204*03b262f2SGregor Boirieconfig ZPA2326_I2C
205*03b262f2SGregor Boirie	tristate
206*03b262f2SGregor Boirie	select REGMAP_I2C
207*03b262f2SGregor Boirie
208*03b262f2SGregor Boirieconfig ZPA2326_SPI
209*03b262f2SGregor Boirie	tristate
210*03b262f2SGregor Boirie	select REGMAP_SPI
211*03b262f2SGregor Boirie
212217494e5SDenis CIOCCAendmenu
213