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