xref: /linux/drivers/iio/pressure/Kconfig (revision 4b660dbd9ee2059850fd30e0df420ca7a38a1856)
1# SPDX-License-Identifier: GPL-2.0-only
2#
3# Pressure drivers
4#
5# When adding new entries keep the list in alphabetical order
6
7menu "Pressure sensors"
8
9config ABP060MG
10	tristate "Honeywell ABP pressure sensor driver"
11	depends on I2C
12	help
13	  Say yes here to build support for the Honeywell ABP pressure
14	  sensors.
15
16	  To compile this driver as a module, choose M here: the module
17	  will be called abp060mg.
18
19config ROHM_BM1390
20	tristate "ROHM BM1390GLV-Z pressure sensor driver"
21	depends on I2C
22	help
23	  Support for the ROHM BM1390 pressure sensor. The BM1390GLV-Z
24	  can measure pressures ranging from 300 hPa to 1300 hPa with
25	  configurable measurement averaging and internal FIFO. The
26	  sensor does also provide temperature measurements.
27
28config BMP280
29	tristate "Bosch Sensortec BMP180/BMP280/BMP380/BMP580 pressure sensor driver"
30	depends on (I2C || SPI_MASTER)
31	select REGMAP
32	select BMP280_I2C if (I2C)
33	select BMP280_SPI if (SPI_MASTER)
34	help
35	  Say yes here to build support for Bosch Sensortec BMP180, BMP280, BMP380
36	  and BMP580 pressure and temperature sensors. Also supports the BME280 with
37	  an additional humidity sensor channel.
38
39	  To compile this driver as a module, choose M here: the core module
40	  will be called bmp280 and you will also get bmp280-i2c for I2C
41	  and/or bmp280-spi for SPI support.
42
43config BMP280_I2C
44	tristate
45	depends on BMP280
46	depends on I2C
47	select REGMAP_I2C
48
49config BMP280_SPI
50	tristate
51	depends on BMP280
52	depends on SPI_MASTER
53	select REGMAP
54
55config IIO_CROS_EC_BARO
56	tristate "ChromeOS EC Barometer Sensor"
57	depends on IIO_CROS_EC_SENSORS_CORE
58	help
59	  Say yes here to build support for the Barometer sensor when
60	  presented by the ChromeOS EC Sensor hub.
61
62	  To compile this driver as a module, choose M here: the module
63	  will be called cros_ec_baro.
64
65config DLHL60D
66	tristate "All Sensors DLHL60D and DLHL60G low voltage digital pressure sensors"
67	depends on I2C
68	select IIO_BUFFER
69	select IIO_TRIGGERED_BUFFER
70	help
71	  Say yes here to build support for the All Sensors DLH series
72	  pressure sensors driver.
73
74	  To compile this driver as a module, choose M here: the module
75	  will be called dlhl60d.
76
77config DPS310
78	tristate "Infineon DPS310 pressure and temperature sensor"
79	depends on I2C
80	select REGMAP_I2C
81	help
82	  Support for the Infineon DPS310 digital barometric pressure sensor.
83	  It can be accessed over I2C bus.
84
85	  This driver can also be built as a module.  If so, the module will be
86	  called dps310.
87
88config HID_SENSOR_PRESS
89	depends on HID_SENSOR_HUB
90	select IIO_BUFFER
91	select HID_SENSOR_IIO_COMMON
92	select HID_SENSOR_IIO_TRIGGER
93	tristate "HID PRESS"
94	help
95	  Say yes here to build support for the HID SENSOR
96	  Pressure driver
97
98	  To compile this driver as a module, choose M here: the module
99	  will be called hid-sensor-press.
100
101config HP03
102	tristate "Hope RF HP03 temperature and pressure sensor driver"
103	depends on I2C
104	select REGMAP_I2C
105	help
106	  Say yes here to build support for Hope RF HP03 pressure and
107	  temperature sensor.
108
109	  To compile this driver as a module, choose M here: the module
110	  will be called hp03.
111
112config HSC030PA
113	tristate "Honeywell HSC/SSC TruStability pressure sensor series"
114	depends on (I2C || SPI_MASTER)
115	select HSC030PA_I2C if I2C
116	select HSC030PA_SPI if SPI_MASTER
117	select IIO_BUFFER
118	select IIO_TRIGGERED_BUFFER
119	help
120	  Say Y here to build support for the Honeywell TruStability
121	  HSC and SSC pressure and temperature sensor series.
122
123	  To compile this driver as a module, choose M here: the module
124	  will be called hsc030pa.
125
126config HSC030PA_I2C
127	tristate
128	depends on HSC030PA
129	depends on I2C
130
131config HSC030PA_SPI
132	tristate
133	depends on HSC030PA
134	depends on SPI_MASTER
135
136config ICP10100
137	tristate "InvenSense ICP-101xx pressure and temperature sensor"
138	depends on I2C
139	select CRC8
140	help
141	  Say yes here to build support for InvenSense ICP-101xx barometric
142	  pressure and temperature sensor.
143
144	  To compile this driver as a module, choose M here: the module
145	  will be called icp10100.
146
147config MPL115
148	tristate
149
150config MPL115_I2C
151	tristate "Freescale MPL115A2 pressure sensor driver"
152	depends on I2C
153	select MPL115
154	help
155	  Say yes here to build support for the Freescale MPL115A2
156	  pressure sensor connected via I2C.
157
158	  To compile this driver as a module, choose M here: the module
159	  will be called mpl115_i2c.
160
161config MPL115_SPI
162	tristate "Freescale MPL115A1 pressure sensor driver"
163	depends on SPI_MASTER
164	select MPL115
165	help
166	  Say yes here to build support for the Freescale MPL115A1
167	  pressure sensor connected via SPI.
168
169	  To compile this driver as a module, choose M here: the module
170	  will be called mpl115_spi.
171
172config MPL3115
173	tristate "Freescale MPL3115A2 pressure sensor driver"
174	depends on I2C
175	select IIO_BUFFER
176	select IIO_TRIGGERED_BUFFER
177	help
178	  Say yes here to build support for the Freescale MPL3115A2
179	  pressure sensor / altimeter.
180
181	  To compile this driver as a module, choose M here: the module
182	  will be called mpl3115.
183
184config MPRLS0025PA
185	tristate "Honeywell MPRLS0025PA (MicroPressure sensors series)"
186	depends on (I2C || SPI_MASTER)
187	select MPRLS0025PA_I2C if I2C
188	select MPRLS0025PA_SPI if SPI_MASTER
189	select IIO_BUFFER
190	select IIO_TRIGGERED_BUFFER
191	help
192	  Say Y here to build support for the Honeywell MicroPressure pressure
193	  sensor series. There are many different types with different pressure
194	  range. These ranges can be set up in the device tree.
195
196	  To compile this driver as a module, choose M here: the module will be
197	  called mprls0025pa.
198
199config MPRLS0025PA_I2C
200	tristate
201	depends on MPRLS0025PA
202	depends on I2C
203
204config MPRLS0025PA_SPI
205	tristate
206	depends on MPRLS0025PA
207	depends on SPI_MASTER
208
209config MS5611
210	tristate "Measurement Specialties MS5611 pressure sensor driver"
211	select IIO_BUFFER
212	select IIO_TRIGGERED_BUFFER
213	help
214	  Say Y here to build support for the Measurement Specialties
215	  MS5611, MS5607 pressure and temperature sensors.
216
217	  To compile this driver as a module, choose M here: the module will
218	  be called ms5611_core.
219
220config MS5611_I2C
221	tristate "support I2C bus connection"
222	depends on I2C && MS5611
223	help
224	  Say Y here to build I2C bus support for MS5611.
225
226	  To compile this driver as a module, choose M here: the module will
227	  be called ms5611_i2c.
228
229config MS5611_SPI
230	tristate "support SPI bus connection"
231	depends on SPI_MASTER && MS5611
232	help
233	  Say Y here to build SPI bus support for MS5611.
234
235	  To compile this driver as a module, choose M here: the module will
236	  be called ms5611_spi.
237
238config MS5637
239	tristate "Measurement Specialties MS5637 pressure & temperature sensor"
240	depends on I2C
241	select IIO_MS_SENSORS_I2C
242	help
243	  If you say yes here you get support for the Measurement Specialties
244	  MS5637 pressure and temperature sensor.
245	  This driver is also used for MS8607 temperature, pressure & humidity
246	  sensor
247
248	  This driver can also be built as a module. If so, the module will
249	  be called ms5637.
250
251config IIO_ST_PRESS
252	tristate "STMicroelectronics pressure sensor Driver"
253	depends on (I2C || SPI_MASTER) && SYSFS
254	select IIO_ST_SENSORS_CORE
255	select IIO_TRIGGERED_BUFFER if (IIO_BUFFER)
256	help
257	  Say yes here to build support for STMicroelectronics pressure
258	  sensors: LPS001WP, LPS25H, LPS331AP, LPS22HB, LPS22HH.
259
260	  Also need to enable at least one of I2C and SPI interface drivers
261	  below.
262
263config IIO_ST_PRESS_I2C
264	tristate "STMicroelectronics pressure sensor I2C Interface"
265	depends on I2C && IIO_ST_PRESS
266	default I2C && IIO_ST_PRESS
267	select IIO_ST_SENSORS_I2C
268	help
269	  Build support for STMicroelectronics pressure sensor I2C interface.
270
271	  To compile this driver as a module, choose M here. The module
272	  will be called st_pressure_i2c.
273
274config IIO_ST_PRESS_SPI
275	tristate "STMicroelectronics pressure sensor SPI Interface"
276	depends on SPI_MASTER && IIO_ST_PRESS
277	default SPI_MASTER && IIO_ST_PRESS
278	select IIO_ST_SENSORS_SPI
279	help
280	  Build support for STMicroelectronics pressure sensor SPI interface.
281
282	  To compile this driver as a module, choose M here. The module
283	  will be called st_pressure_spi.
284
285config T5403
286	tristate "EPCOS T5403 digital barometric pressure sensor driver"
287	depends on I2C
288	help
289	  Say yes here to build support for the EPCOS T5403 pressure sensor
290	  connected via I2C.
291
292	  To compile this driver as a module, choose M here: the module
293	  will be called t5403.
294
295config HP206C
296	tristate "HOPERF HP206C precision barometer and altimeter sensor"
297	depends on I2C
298	help
299	  Say yes here to build support for the HOPREF HP206C precision
300	  barometer and altimeter sensor.
301
302	  This driver can also be built as a module. If so, the module will
303	  be called hp206c.
304
305config ZPA2326
306	tristate "Murata ZPA2326 pressure sensor driver"
307	select IIO_BUFFER
308	select IIO_TRIGGERED_BUFFER
309	select REGMAP
310	select ZPA2326_I2C if I2C
311	select ZPA2326_SPI if SPI_MASTER
312	help
313	  Say Y here to build support for the Murata ZPA2326 pressure and
314	  temperature sensor.
315
316	  To compile this driver as a module, choose M here: the module will
317	  be called zpa2326.
318
319config ZPA2326_I2C
320	tristate
321	select REGMAP_I2C
322
323config ZPA2326_SPI
324	tristate
325	select REGMAP_SPI
326
327endmenu
328