xref: /openbmc/linux/drivers/iio/pressure/Kconfig (revision 9ecca12e)
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
8*9ecca12eSMarcin Malagowskiconfig ABP060MG
9*9ecca12eSMarcin Malagowski	tristate "Honeywell ABP pressure sensor driver"
10*9ecca12eSMarcin Malagowski	depends on I2C
11*9ecca12eSMarcin Malagowski	help
12*9ecca12eSMarcin Malagowski	  Say yes here to build support for the Honeywell ABP pressure
13*9ecca12eSMarcin Malagowski	  sensors.
14*9ecca12eSMarcin Malagowski
15*9ecca12eSMarcin Malagowski	  To compile this driver as a module, choose M here: the module
16*9ecca12eSMarcin Malagowski	  will be called abp060mg.
17*9ecca12eSMarcin Malagowski
18d5c94568SVlad Dogaruconfig BMP280
1917118843SLinus Walleij	tristate "Bosch Sensortec BMP180/BMP280 pressure sensor I2C driver"
20b26b4e91SLinus Walleij	depends on (I2C || SPI_MASTER)
216dba72ecSAkinobu Mita	depends on !(BMP085_I2C=y || BMP085_I2C=m)
22b26b4e91SLinus Walleij	depends on !(BMP085_SPI=y || BMP085_SPI=m)
2317118843SLinus Walleij	select REGMAP
2417118843SLinus Walleij	select BMP280_I2C if (I2C)
25b26b4e91SLinus Walleij	select BMP280_SPI if (SPI_MASTER)
26d5c94568SVlad Dogaru	help
276dba72ecSAkinobu Mita	  Say yes here to build support for Bosch Sensortec BMP180 and BMP280
2814beaa8fSMatt Ranostay	  pressure and temperature sensors. Also supports the BE280 with
2917118843SLinus Walleij	  an additional humidity sensor channel.
30d5c94568SVlad Dogaru
31b26b4e91SLinus Walleij	  To compile this driver as a module, choose M here: the core module
32b26b4e91SLinus Walleij	  will be called bmp280 and you will also get bmp280-i2c for I2C
33b26b4e91SLinus Walleij	  and/or bmp280-spi for SPI support.
3417118843SLinus Walleij
3517118843SLinus Walleijconfig BMP280_I2C
3617118843SLinus Walleij	tristate
3717118843SLinus Walleij	depends on BMP280
3817118843SLinus Walleij	depends on I2C
3917118843SLinus Walleij	select REGMAP_I2C
40d5c94568SVlad Dogaru
41b26b4e91SLinus Walleijconfig BMP280_SPI
42b26b4e91SLinus Walleij	tristate
43b26b4e91SLinus Walleij	depends on BMP280
44b26b4e91SLinus Walleij	depends on SPI_MASTER
45b26b4e91SLinus Walleij	select REGMAP
46b26b4e91SLinus Walleij
47f64a799bSArchana Patniconfig HID_SENSOR_PRESS
48f64a799bSArchana Patni	depends on HID_SENSOR_HUB
49f64a799bSArchana Patni	select IIO_BUFFER
50f64a799bSArchana Patni	select IIO_TRIGGERED_BUFFER
51f64a799bSArchana Patni	select HID_SENSOR_IIO_COMMON
52f64a799bSArchana Patni	select HID_SENSOR_IIO_TRIGGER
53f64a799bSArchana Patni	tristate "HID PRESS"
54f64a799bSArchana Patni	help
55f64a799bSArchana Patni	  Say yes here to build support for the HID SENSOR
56f64a799bSArchana Patni	  Pressure driver
57f64a799bSArchana Patni
58f64a799bSArchana Patni	  To compile this driver as a module, choose M here: the module
59f64a799bSArchana Patni	  will be called hid-sensor-press.
60f64a799bSArchana Patni
61d8469e93SMarek Vasutconfig HP03
62d8469e93SMarek Vasut	tristate "Hope RF HP03 temperature and pressure sensor driver"
63d8469e93SMarek Vasut	depends on I2C
64d8469e93SMarek Vasut	select REGMAP_I2C
65d8469e93SMarek Vasut	help
66d8469e93SMarek Vasut	  Say yes here to build support for Hope RF HP03 pressure and
67d8469e93SMarek Vasut	  temperature sensor.
68d8469e93SMarek Vasut
69d8469e93SMarek Vasut	  To compile this driver as a module, choose M here: the module
70d8469e93SMarek Vasut	  will be called hp03.
71d8469e93SMarek Vasut
723017d90eSPeter Meerwaldconfig MPL115
73c984b9cbSAkinobu Mita	tristate
74c984b9cbSAkinobu Mita
75c984b9cbSAkinobu Mitaconfig MPL115_I2C
763017d90eSPeter Meerwald	tristate "Freescale MPL115A2 pressure sensor driver"
773017d90eSPeter Meerwald	depends on I2C
78c984b9cbSAkinobu Mita	select MPL115
793017d90eSPeter Meerwald	help
803017d90eSPeter Meerwald	  Say yes here to build support for the Freescale MPL115A2
813017d90eSPeter Meerwald	  pressure sensor connected via I2C.
823017d90eSPeter Meerwald
833017d90eSPeter Meerwald	  To compile this driver as a module, choose M here: the module
84c984b9cbSAkinobu Mita	  will be called mpl115_i2c.
85c984b9cbSAkinobu Mita
86c984b9cbSAkinobu Mitaconfig MPL115_SPI
87c984b9cbSAkinobu Mita	tristate "Freescale MPL115A1 pressure sensor driver"
88c984b9cbSAkinobu Mita	depends on SPI_MASTER
89c984b9cbSAkinobu Mita	select MPL115
90c984b9cbSAkinobu Mita	help
91c984b9cbSAkinobu Mita	  Say yes here to build support for the Freescale MPL115A1
92c984b9cbSAkinobu Mita	  pressure sensor connected via SPI.
93c984b9cbSAkinobu Mita
94c984b9cbSAkinobu Mita	  To compile this driver as a module, choose M here: the module
95c984b9cbSAkinobu Mita	  will be called mpl115_spi.
963017d90eSPeter Meerwald
97cc26ad45SPeter Meerwaldconfig MPL3115
98cc26ad45SPeter Meerwald	tristate "Freescale MPL3115A2 pressure sensor driver"
99cc26ad45SPeter Meerwald	depends on I2C
100cc26ad45SPeter Meerwald	select IIO_BUFFER
101cc26ad45SPeter Meerwald	select IIO_TRIGGERED_BUFFER
102cc26ad45SPeter Meerwald	help
103cc26ad45SPeter Meerwald	  Say yes here to build support for the Freescale MPL3115A2
104cc26ad45SPeter Meerwald	  pressure sensor / altimeter.
105cc26ad45SPeter Meerwald
106cc26ad45SPeter Meerwald	  To compile this driver as a module, choose M here: the module
107cc26ad45SPeter Meerwald	  will be called mpl3115.
108cc26ad45SPeter Meerwald
109c0644160STomasz Duszynskiconfig MS5611
110825c50dbSPeter Meerwald	tristate "Measurement Specialties MS5611 pressure sensor driver"
1113d5032a0SArnd Bergmann	select IIO_BUFFER
112713bbb4eSDaniel Baluta	select IIO_TRIGGERED_BUFFER
113c0644160STomasz Duszynski	help
114825c50dbSPeter Meerwald	  Say Y here to build support for the Measurement Specialties
1159690d81aSTomasz Duszynski	  MS5611, MS5607 pressure and temperature sensors.
116c0644160STomasz Duszynski
117c0644160STomasz Duszynski	  To compile this driver as a module, choose M here: the module will
118c0644160STomasz Duszynski	  be called ms5611_core.
119c0644160STomasz Duszynski
120c0644160STomasz Duszynskiconfig MS5611_I2C
121c0644160STomasz Duszynski	tristate "support I2C bus connection"
122c0644160STomasz Duszynski	depends on I2C && MS5611
123c0644160STomasz Duszynski	help
124c0644160STomasz Duszynski	  Say Y here to build I2C bus support for MS5611.
125c0644160STomasz Duszynski
126c0644160STomasz Duszynski	  To compile this driver as a module, choose M here: the module will
127c0644160STomasz Duszynski	  be called ms5611_i2c.
128c0644160STomasz Duszynski
129c0644160STomasz Duszynskiconfig MS5611_SPI
130c0644160STomasz Duszynski	tristate "support SPI bus connection"
131c0644160STomasz Duszynski	depends on SPI_MASTER && MS5611
132c0644160STomasz Duszynski	help
133c0644160STomasz Duszynski	  Say Y here to build SPI 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_spi.
137c0644160STomasz Duszynski
13864a70c65SLudovic Tancerelconfig MS5637
13964a70c65SLudovic Tancerel	tristate "Measurement Specialties MS5637 pressure & temperature sensor"
14064a70c65SLudovic Tancerel	depends on I2C
14164a70c65SLudovic Tancerel	select IIO_MS_SENSORS_I2C
14264a70c65SLudovic Tancerel	help
14364a70c65SLudovic Tancerel	  If you say yes here you get support for the Measurement Specialties
14464a70c65SLudovic Tancerel	  MS5637 pressure and temperature sensor.
1451b75ce65SLudovic Tancerel	  This driver is also used for MS8607 temperature, pressure & humidity
1461b75ce65SLudovic Tancerel	  sensor
14764a70c65SLudovic Tancerel
14864a70c65SLudovic Tancerel	  This driver can also be built as a module. If so, the module will
14964a70c65SLudovic Tancerel	  be called ms5637.
15064a70c65SLudovic Tancerel
151217494e5SDenis CIOCCAconfig IIO_ST_PRESS
15293232cd5SPeter Meerwald	tristate "STMicroelectronics pressure sensor Driver"
153217494e5SDenis CIOCCA	depends on (I2C || SPI_MASTER) && SYSFS
154217494e5SDenis CIOCCA	select IIO_ST_SENSORS_CORE
155217494e5SDenis CIOCCA	select IIO_ST_PRESS_I2C if (I2C)
156217494e5SDenis CIOCCA	select IIO_ST_PRESS_SPI if (SPI_MASTER)
157217494e5SDenis CIOCCA	select IIO_TRIGGERED_BUFFER if (IIO_BUFFER)
158217494e5SDenis CIOCCA	help
15993232cd5SPeter Meerwald	  Say yes here to build support for STMicroelectronics pressure
160e039e2f5SGregor Boirie	  sensors: LPS001WP, LPS25H, LPS331AP, LPS22HB.
161217494e5SDenis CIOCCA
162341673f1SPeter Meerwald	  This driver can also be built as a module. If so, these modules
163341673f1SPeter Meerwald	  will be created:
164217494e5SDenis CIOCCA	  - st_pressure (core functions for the driver [it is mandatory]);
165217494e5SDenis CIOCCA	  - st_pressure_i2c (necessary for the I2C devices [optional*]);
166217494e5SDenis CIOCCA	  - st_pressure_spi (necessary for the SPI devices [optional*]);
167217494e5SDenis CIOCCA
168217494e5SDenis CIOCCA	  (*) one of these is necessary to do something.
169217494e5SDenis CIOCCA
170217494e5SDenis CIOCCAconfig IIO_ST_PRESS_I2C
171217494e5SDenis CIOCCA	tristate
172217494e5SDenis CIOCCA	depends on IIO_ST_PRESS
173217494e5SDenis CIOCCA	depends on IIO_ST_SENSORS_I2C
174217494e5SDenis CIOCCA
175217494e5SDenis CIOCCAconfig IIO_ST_PRESS_SPI
176217494e5SDenis CIOCCA	tristate
177217494e5SDenis CIOCCA	depends on IIO_ST_PRESS
178217494e5SDenis CIOCCA	depends on IIO_ST_SENSORS_SPI
179217494e5SDenis CIOCCA
180a2d8be68SPeter Meerwaldconfig T5403
181a2d8be68SPeter Meerwald	tristate "EPCOS T5403 digital barometric pressure sensor driver"
182a2d8be68SPeter Meerwald	depends on I2C
183a2d8be68SPeter Meerwald	help
184a2d8be68SPeter Meerwald	  Say yes here to build support for the EPCOS T5403 pressure sensor
185a2d8be68SPeter Meerwald	  connected via I2C.
186a2d8be68SPeter Meerwald
187a2d8be68SPeter Meerwald	  To compile this driver as a module, choose M here: the module
188a2d8be68SPeter Meerwald	  will be called t5403.
189a2d8be68SPeter Meerwald
190fa4c9c93SCrestez Dan Leonardconfig HP206C
191fa4c9c93SCrestez Dan Leonard	tristate "HOPERF HP206C precision barometer and altimeter sensor"
192fa4c9c93SCrestez Dan Leonard	depends on I2C
193fa4c9c93SCrestez Dan Leonard	help
194fa4c9c93SCrestez Dan Leonard	  Say yes here to build support for the HOPREF HP206C precision
195fa4c9c93SCrestez Dan Leonard	  barometer and altimeter sensor.
196fa4c9c93SCrestez Dan Leonard
197fa4c9c93SCrestez Dan Leonard	  This driver can also be built as a module. If so, the module will
198fa4c9c93SCrestez Dan Leonard	  be called hp206c.
199fa4c9c93SCrestez Dan Leonard
20003b262f2SGregor Boirieconfig ZPA2326
20103b262f2SGregor Boirie	tristate "Murata ZPA2326 pressure sensor driver"
20203b262f2SGregor Boirie	select IIO_BUFFER
20303b262f2SGregor Boirie	select IIO_TRIGGERED_BUFFER
20403b262f2SGregor Boirie	select REGMAP
20503b262f2SGregor Boirie	select ZPA2326_I2C if I2C
20603b262f2SGregor Boirie	select ZPA2326_SPI if SPI_MASTER
20703b262f2SGregor Boirie	help
20803b262f2SGregor Boirie	  Say Y here to build support for the Murata ZPA2326 pressure and
20903b262f2SGregor Boirie	  temperature sensor.
21003b262f2SGregor Boirie
21103b262f2SGregor Boirie	  To compile this driver as a module, choose M here: the module will
21203b262f2SGregor Boirie	  be called zpa2326.
21303b262f2SGregor Boirie
21403b262f2SGregor Boirieconfig ZPA2326_I2C
21503b262f2SGregor Boirie	tristate
21603b262f2SGregor Boirie	select REGMAP_I2C
21703b262f2SGregor Boirie
21803b262f2SGregor Boirieconfig ZPA2326_SPI
21903b262f2SGregor Boirie	tristate
22003b262f2SGregor Boirie	select REGMAP_SPI
22103b262f2SGregor Boirie
222217494e5SDenis CIOCCAendmenu
223