xref: /openbmc/linux/drivers/iio/pressure/Kconfig (revision a531b0c2)
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 pressure sensor I2C 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 and BMP280
27	  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 MS5611
152	tristate "Measurement Specialties MS5611 pressure sensor driver"
153	select IIO_BUFFER
154	select IIO_TRIGGERED_BUFFER
155	help
156	  Say Y here to build support for the Measurement Specialties
157	  MS5611, MS5607 pressure and temperature sensors.
158
159	  To compile this driver as a module, choose M here: the module will
160	  be called ms5611_core.
161
162config MS5611_I2C
163	tristate "support I2C bus connection"
164	depends on I2C && MS5611
165	help
166	  Say Y here to build I2C bus support for MS5611.
167
168	  To compile this driver as a module, choose M here: the module will
169	  be called ms5611_i2c.
170
171config MS5611_SPI
172	tristate "support SPI bus connection"
173	depends on SPI_MASTER && MS5611
174	help
175	  Say Y here to build SPI bus support for MS5611.
176
177	  To compile this driver as a module, choose M here: the module will
178	  be called ms5611_spi.
179
180config MS5637
181	tristate "Measurement Specialties MS5637 pressure & temperature sensor"
182	depends on I2C
183	select IIO_MS_SENSORS_I2C
184	help
185	  If you say yes here you get support for the Measurement Specialties
186	  MS5637 pressure and temperature sensor.
187	  This driver is also used for MS8607 temperature, pressure & humidity
188	  sensor
189
190	  This driver can also be built as a module. If so, the module will
191	  be called ms5637.
192
193config IIO_ST_PRESS
194	tristate "STMicroelectronics pressure sensor Driver"
195	depends on (I2C || SPI_MASTER) && SYSFS
196	select IIO_ST_SENSORS_CORE
197	select IIO_ST_PRESS_I2C if (I2C)
198	select IIO_ST_PRESS_SPI if (SPI_MASTER)
199	select IIO_TRIGGERED_BUFFER if (IIO_BUFFER)
200	help
201	  Say yes here to build support for STMicroelectronics pressure
202	  sensors: LPS001WP, LPS25H, LPS331AP, LPS22HB, LPS22HH.
203
204	  This driver can also be built as a module. If so, these modules
205	  will be created:
206	  - st_pressure (core functions for the driver [it is mandatory]);
207	  - st_pressure_i2c (necessary for the I2C devices [optional*]);
208	  - st_pressure_spi (necessary for the SPI devices [optional*]);
209
210	  (*) one of these is necessary to do something.
211
212config IIO_ST_PRESS_I2C
213	tristate
214	depends on IIO_ST_PRESS
215	depends on IIO_ST_SENSORS_I2C
216
217config IIO_ST_PRESS_SPI
218	tristate
219	depends on IIO_ST_PRESS
220	depends on IIO_ST_SENSORS_SPI
221
222config T5403
223	tristate "EPCOS T5403 digital barometric pressure sensor driver"
224	depends on I2C
225	help
226	  Say yes here to build support for the EPCOS T5403 pressure sensor
227	  connected via I2C.
228
229	  To compile this driver as a module, choose M here: the module
230	  will be called t5403.
231
232config HP206C
233	tristate "HOPERF HP206C precision barometer and altimeter sensor"
234	depends on I2C
235	help
236	  Say yes here to build support for the HOPREF HP206C precision
237	  barometer and altimeter sensor.
238
239	  This driver can also be built as a module. If so, the module will
240	  be called hp206c.
241
242config ZPA2326
243	tristate "Murata ZPA2326 pressure sensor driver"
244	select IIO_BUFFER
245	select IIO_TRIGGERED_BUFFER
246	select REGMAP
247	select ZPA2326_I2C if I2C
248	select ZPA2326_SPI if SPI_MASTER
249	help
250	  Say Y here to build support for the Murata ZPA2326 pressure and
251	  temperature sensor.
252
253	  To compile this driver as a module, choose M here: the module will
254	  be called zpa2326.
255
256config ZPA2326_I2C
257	tristate
258	select REGMAP_I2C
259
260config ZPA2326_SPI
261	tristate
262	select REGMAP_SPI
263
264endmenu
265