blob: 15cd416365c152c906121c2aba0d4db6abf78b36 [file] [log] [blame]
Denis CIOCCA217494e2013-06-03 15:58:00 +01001#
2# Pressure drivers
3#
Lars-Peter Clausen3edc84e2013-07-15 08:45:00 +01004# When adding new entries keep the list in alphabetical order
5
Peter Meerwald93232cd2013-06-23 22:28:00 +01006menu "Pressure sensors"
Denis CIOCCA217494e2013-06-03 15:58:00 +01007
Vlad Dogarud5c94562014-10-21 11:09:58 +03008config BMP280
Linus Walleij17118842016-06-30 03:48:50 +02009 tristate "Bosch Sensortec BMP180/BMP280 pressure sensor I2C driver"
Linus Walleijb26b4e92016-06-30 03:48:51 +020010 depends on (I2C || SPI_MASTER)
Linus Walleij17118842016-06-30 03:48:50 +020011 select REGMAP
12 select BMP280_I2C if (I2C)
Linus Walleijb26b4e92016-06-30 03:48:51 +020013 select BMP280_SPI if (SPI_MASTER)
Vlad Dogarud5c94562014-10-21 11:09:58 +030014 help
Akinobu Mita6dba72e2016-04-24 22:52:10 +090015 Say yes here to build support for Bosch Sensortec BMP180 and BMP280
Matt Ranostay14beaa82016-05-04 22:57:30 -070016 pressure and temperature sensors. Also supports the BE280 with
Linus Walleij17118842016-06-30 03:48:50 +020017 an additional humidity sensor channel.
Vlad Dogarud5c94562014-10-21 11:09:58 +030018
Linus Walleijb26b4e92016-06-30 03:48:51 +020019 To compile this driver as a module, choose M here: the core module
20 will be called bmp280 and you will also get bmp280-i2c for I2C
21 and/or bmp280-spi for SPI support.
Linus Walleij17118842016-06-30 03:48:50 +020022
23config BMP280_I2C
24 tristate
25 depends on BMP280
26 depends on I2C
27 select REGMAP_I2C
Vlad Dogarud5c94562014-10-21 11:09:58 +030028
Linus Walleijb26b4e92016-06-30 03:48:51 +020029config BMP280_SPI
30 tristate
31 depends on BMP280
32 depends on SPI_MASTER
33 select REGMAP
34
Archana Patnif64a7992014-02-20 06:30:00 +000035config HID_SENSOR_PRESS
36 depends on HID_SENSOR_HUB
37 select IIO_BUFFER
38 select IIO_TRIGGERED_BUFFER
39 select HID_SENSOR_IIO_COMMON
40 select HID_SENSOR_IIO_TRIGGER
41 tristate "HID PRESS"
42 help
43 Say yes here to build support for the HID SENSOR
44 Pressure driver
45
Jonathan Cameron21cb4542016-01-24 17:06:50 +000046 To compile this driver as a module, choose M here: the module
47 will be called hid-sensor-press.
Archana Patnif64a7992014-02-20 06:30:00 +000048
Marek Vasutd8469e92016-04-18 16:05:24 +020049config HP03
50 tristate "Hope RF HP03 temperature and pressure sensor driver"
51 depends on I2C
52 select REGMAP_I2C
53 help
54 Say yes here to build support for Hope RF HP03 pressure and
55 temperature sensor.
56
57 To compile this driver as a module, choose M here: the module
58 will be called hp03.
59
Peter Meerwald3017d902014-02-05 16:58:00 +000060config MPL115
Akinobu Mitac984b9c2016-01-16 01:00:03 +090061 tristate
62
63config MPL115_I2C
Peter Meerwald3017d902014-02-05 16:58:00 +000064 tristate "Freescale MPL115A2 pressure sensor driver"
65 depends on I2C
Akinobu Mitac984b9c2016-01-16 01:00:03 +090066 select MPL115
Peter Meerwald3017d902014-02-05 16:58:00 +000067 help
68 Say yes here to build support for the Freescale MPL115A2
69 pressure sensor connected via I2C.
70
Jonathan Cameron21cb4542016-01-24 17:06:50 +000071 To compile this driver as a module, choose M here: the module
72 will be called mpl115_i2c.
Akinobu Mitac984b9c2016-01-16 01:00:03 +090073
74config MPL115_SPI
75 tristate "Freescale MPL115A1 pressure sensor driver"
76 depends on SPI_MASTER
77 select MPL115
78 help
79 Say yes here to build support for the Freescale MPL115A1
80 pressure sensor connected via SPI.
81
Jonathan Cameron21cb4542016-01-24 17:06:50 +000082 To compile this driver as a module, choose M here: the module
83 will be called mpl115_spi.
Peter Meerwald3017d902014-02-05 16:58:00 +000084
Peter Meerwaldcc26ad452013-11-12 19:43:00 +000085config MPL3115
86 tristate "Freescale MPL3115A2 pressure sensor driver"
87 depends on I2C
88 select IIO_BUFFER
89 select IIO_TRIGGERED_BUFFER
90 help
91 Say yes here to build support for the Freescale MPL3115A2
92 pressure sensor / altimeter.
93
Jonathan Cameron21cb4542016-01-24 17:06:50 +000094 To compile this driver as a module, choose M here: the module
95 will be called mpl3115.
Peter Meerwaldcc26ad452013-11-12 19:43:00 +000096
Tomasz Duszynskic0644162015-03-14 21:29:31 +010097config MS5611
Peter Meerwald825c50d2015-06-16 21:27:03 +020098 tristate "Measurement Specialties MS5611 pressure sensor driver"
Arnd Bergmann3d5032a2016-02-16 15:55:07 +010099 select IIO_BUFFER
Daniel Baluta713bbb42016-02-03 18:50:38 +0200100 select IIO_TRIGGERED_BUFFER
Tomasz Duszynskic0644162015-03-14 21:29:31 +0100101 help
Peter Meerwald825c50d2015-06-16 21:27:03 +0200102 Say Y here to build support for the Measurement Specialties
Tomasz Duszynski9690d81a2015-06-23 20:45:48 +0200103 MS5611, MS5607 pressure and temperature sensors.
Tomasz Duszynskic0644162015-03-14 21:29:31 +0100104
105 To compile this driver as a module, choose M here: the module will
106 be called ms5611_core.
107
108config MS5611_I2C
109 tristate "support I2C bus connection"
110 depends on I2C && MS5611
111 help
112 Say Y here to build I2C bus support for MS5611.
113
114 To compile this driver as a module, choose M here: the module will
115 be called ms5611_i2c.
116
117config MS5611_SPI
118 tristate "support SPI bus connection"
119 depends on SPI_MASTER && MS5611
120 help
121 Say Y here to build SPI bus support for MS5611.
122
123 To compile this driver as a module, choose M here: the module will
124 be called ms5611_spi.
125
Ludovic Tancerel64a70c62015-10-01 16:13:40 +0200126config MS5637
127 tristate "Measurement Specialties MS5637 pressure & temperature sensor"
128 depends on I2C
Jonathan Cameron21cb4542016-01-24 17:06:50 +0000129 select IIO_MS_SENSORS_I2C
Ludovic Tancerel64a70c62015-10-01 16:13:40 +0200130 help
131 If you say yes here you get support for the Measurement Specialties
132 MS5637 pressure and temperature sensor.
Ludovic Tancerel1b75ce62015-10-01 16:13:41 +0200133 This driver is also used for MS8607 temperature, pressure & humidity
134 sensor
Ludovic Tancerel64a70c62015-10-01 16:13:40 +0200135
136 This driver can also be built as a module. If so, the module will
137 be called ms5637.
138
Denis CIOCCA217494e2013-06-03 15:58:00 +0100139config IIO_ST_PRESS
Peter Meerwald93232cd2013-06-23 22:28:00 +0100140 tristate "STMicroelectronics pressure sensor Driver"
Denis CIOCCA217494e2013-06-03 15:58:00 +0100141 depends on (I2C || SPI_MASTER) && SYSFS
142 select IIO_ST_SENSORS_CORE
143 select IIO_ST_PRESS_I2C if (I2C)
144 select IIO_ST_PRESS_SPI if (SPI_MASTER)
145 select IIO_TRIGGERED_BUFFER if (IIO_BUFFER)
146 help
Peter Meerwald93232cd2013-06-23 22:28:00 +0100147 Say yes here to build support for STMicroelectronics pressure
Gregor Boiriee039e2f2016-04-19 11:18:32 +0200148 sensors: LPS001WP, LPS25H, LPS331AP, LPS22HB.
Denis CIOCCA217494e2013-06-03 15:58:00 +0100149
Peter Meerwald341673f2013-06-23 22:28:00 +0100150 This driver can also be built as a module. If so, these modules
151 will be created:
Denis CIOCCA217494e2013-06-03 15:58:00 +0100152 - st_pressure (core functions for the driver [it is mandatory]);
153 - st_pressure_i2c (necessary for the I2C devices [optional*]);
154 - st_pressure_spi (necessary for the SPI devices [optional*]);
155
156 (*) one of these is necessary to do something.
157
158config IIO_ST_PRESS_I2C
159 tristate
160 depends on IIO_ST_PRESS
161 depends on IIO_ST_SENSORS_I2C
162
163config IIO_ST_PRESS_SPI
164 tristate
165 depends on IIO_ST_PRESS
166 depends on IIO_ST_SENSORS_SPI
167
Peter Meerwalda2d8be62014-02-06 20:44:00 +0000168config T5403
169 tristate "EPCOS T5403 digital barometric pressure sensor driver"
170 depends on I2C
171 help
172 Say yes here to build support for the EPCOS T5403 pressure sensor
173 connected via I2C.
174
Jonathan Cameron21cb4542016-01-24 17:06:50 +0000175 To compile this driver as a module, choose M here: the module
176 will be called t5403.
Peter Meerwalda2d8be62014-02-06 20:44:00 +0000177
Crestez Dan Leonardfa4c9c92016-03-29 19:14:27 +0300178config HP206C
179 tristate "HOPERF HP206C precision barometer and altimeter sensor"
180 depends on I2C
181 help
182 Say yes here to build support for the HOPREF HP206C precision
183 barometer and altimeter sensor.
184
185 This driver can also be built as a module. If so, the module will
186 be called hp206c.
187
Gregor Boirie03b262f2016-09-13 14:23:14 +0200188config ZPA2326
189 tristate "Murata ZPA2326 pressure sensor driver"
190 select IIO_BUFFER
191 select IIO_TRIGGERED_BUFFER
192 select REGMAP
193 select ZPA2326_I2C if I2C
194 select ZPA2326_SPI if SPI_MASTER
195 help
196 Say Y here to build support for the Murata ZPA2326 pressure and
197 temperature sensor.
198
199 To compile this driver as a module, choose M here: the module will
200 be called zpa2326.
201
202config ZPA2326_I2C
203 tristate
204 select REGMAP_I2C
205
206config ZPA2326_SPI
207 tristate
208 select REGMAP_SPI
209
Denis CIOCCA217494e2013-06-03 15:58:00 +0100210endmenu