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