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