xref: /openbmc/linux/drivers/iio/pressure/Kconfig (revision 547840bd)
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 IIO_TRIGGERED_BUFFER
83	select HID_SENSOR_IIO_COMMON
84	select HID_SENSOR_IIO_TRIGGER
85	tristate "HID PRESS"
86	help
87	  Say yes here to build support for the HID SENSOR
88	  Pressure driver
89
90	  To compile this driver as a module, choose M here: the module
91	  will be called hid-sensor-press.
92
93config HP03
94	tristate "Hope RF HP03 temperature and pressure sensor driver"
95	depends on I2C
96	select REGMAP_I2C
97	help
98	  Say yes here to build support for Hope RF HP03 pressure and
99	  temperature sensor.
100
101	  To compile this driver as a module, choose M here: the module
102	  will be called hp03.
103
104config ICP10100
105	tristate "InvenSense ICP-101xx pressure and temperature sensor"
106	depends on I2C
107	select CRC8
108	help
109	  Say yes here to build support for InvenSense ICP-101xx barometric
110	  pressure and temperature sensor.
111
112	  To compile this driver as a module, choose M here: the module
113	  will be called icp10100.
114
115config MPL115
116	tristate
117
118config MPL115_I2C
119	tristate "Freescale MPL115A2 pressure sensor driver"
120	depends on I2C
121	select MPL115
122	help
123	  Say yes here to build support for the Freescale MPL115A2
124	  pressure sensor connected via I2C.
125
126	  To compile this driver as a module, choose M here: the module
127	  will be called mpl115_i2c.
128
129config MPL115_SPI
130	tristate "Freescale MPL115A1 pressure sensor driver"
131	depends on SPI_MASTER
132	select MPL115
133	help
134	  Say yes here to build support for the Freescale MPL115A1
135	  pressure sensor connected via SPI.
136
137	  To compile this driver as a module, choose M here: the module
138	  will be called mpl115_spi.
139
140config MPL3115
141	tristate "Freescale MPL3115A2 pressure sensor driver"
142	depends on I2C
143	select IIO_BUFFER
144	select IIO_TRIGGERED_BUFFER
145	help
146	  Say yes here to build support for the Freescale MPL3115A2
147	  pressure sensor / altimeter.
148
149	  To compile this driver as a module, choose M here: the module
150	  will be called mpl3115.
151
152config MS5611
153	tristate "Measurement Specialties MS5611 pressure sensor driver"
154	select IIO_BUFFER
155	select IIO_TRIGGERED_BUFFER
156	help
157	  Say Y here to build support for the Measurement Specialties
158	  MS5611, MS5607 pressure and temperature sensors.
159
160	  To compile this driver as a module, choose M here: the module will
161	  be called ms5611_core.
162
163config MS5611_I2C
164	tristate "support I2C bus connection"
165	depends on I2C && MS5611
166	help
167	  Say Y here to build I2C bus support for MS5611.
168
169	  To compile this driver as a module, choose M here: the module will
170	  be called ms5611_i2c.
171
172config MS5611_SPI
173	tristate "support SPI bus connection"
174	depends on SPI_MASTER && MS5611
175	help
176	  Say Y here to build SPI bus support for MS5611.
177
178	  To compile this driver as a module, choose M here: the module will
179	  be called ms5611_spi.
180
181config MS5637
182	tristate "Measurement Specialties MS5637 pressure & temperature sensor"
183	depends on I2C
184	select IIO_MS_SENSORS_I2C
185	help
186	  If you say yes here you get support for the Measurement Specialties
187	  MS5637 pressure and temperature sensor.
188	  This driver is also used for MS8607 temperature, pressure & humidity
189	  sensor
190
191	  This driver can also be built as a module. If so, the module will
192	  be called ms5637.
193
194config IIO_ST_PRESS
195	tristate "STMicroelectronics pressure sensor Driver"
196	depends on (I2C || SPI_MASTER) && SYSFS
197	select IIO_ST_SENSORS_CORE
198	select IIO_ST_PRESS_I2C if (I2C)
199	select IIO_ST_PRESS_SPI if (SPI_MASTER)
200	select IIO_TRIGGERED_BUFFER if (IIO_BUFFER)
201	help
202	  Say yes here to build support for STMicroelectronics pressure
203	  sensors: LPS001WP, LPS25H, LPS331AP, LPS22HB, LPS22HH.
204
205	  This driver can also be built as a module. If so, these modules
206	  will be created:
207	  - st_pressure (core functions for the driver [it is mandatory]);
208	  - st_pressure_i2c (necessary for the I2C devices [optional*]);
209	  - st_pressure_spi (necessary for the SPI devices [optional*]);
210
211	  (*) one of these is necessary to do something.
212
213config IIO_ST_PRESS_I2C
214	tristate
215	depends on IIO_ST_PRESS
216	depends on IIO_ST_SENSORS_I2C
217
218config IIO_ST_PRESS_SPI
219	tristate
220	depends on IIO_ST_PRESS
221	depends on IIO_ST_SENSORS_SPI
222
223config T5403
224	tristate "EPCOS T5403 digital barometric pressure sensor driver"
225	depends on I2C
226	help
227	  Say yes here to build support for the EPCOS T5403 pressure sensor
228	  connected via I2C.
229
230	  To compile this driver as a module, choose M here: the module
231	  will be called t5403.
232
233config HP206C
234	tristate "HOPERF HP206C precision barometer and altimeter sensor"
235	depends on I2C
236	help
237	  Say yes here to build support for the HOPREF HP206C precision
238	  barometer and altimeter sensor.
239
240	  This driver can also be built as a module. If so, the module will
241	  be called hp206c.
242
243config ZPA2326
244	tristate "Murata ZPA2326 pressure sensor driver"
245	select IIO_BUFFER
246	select IIO_TRIGGERED_BUFFER
247	select REGMAP
248	select ZPA2326_I2C if I2C
249	select ZPA2326_SPI if SPI_MASTER
250	help
251	  Say Y here to build support for the Murata ZPA2326 pressure and
252	  temperature sensor.
253
254	  To compile this driver as a module, choose M here: the module will
255	  be called zpa2326.
256
257config ZPA2326_I2C
258	tristate
259	select REGMAP_I2C
260
261config ZPA2326_SPI
262	tristate
263	select REGMAP_SPI
264
265endmenu
266