treewide: Add SPDX license identifier - Makefile/Kconfig
[linux-2.6-block.git] / drivers / iio / pressure / Kconfig
CommitLineData
ec8f24b7 1# SPDX-License-Identifier: GPL-2.0-only
217494e5
DC
2#
3# Pressure drivers
4#
3edc84e6
LPC
5# When adding new entries keep the list in alphabetical order
6
93232cd5 7menu "Pressure sensors"
217494e5 8
9ecca12e
MM
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
d5c94568 19config BMP280
17118843 20 tristate "Bosch Sensortec BMP180/BMP280 pressure sensor I2C driver"
b26b4e91 21 depends on (I2C || SPI_MASTER)
17118843
LW
22 select REGMAP
23 select BMP280_I2C if (I2C)
b26b4e91 24 select BMP280_SPI if (SPI_MASTER)
d5c94568 25 help
6dba72ec 26 Say yes here to build support for Bosch Sensortec BMP180 and BMP280
9a043b0b 27 pressure and temperature sensors. Also supports the BME280 with
17118843 28 an additional humidity sensor channel.
d5c94568 29
b26b4e91
LW
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.
17118843
LW
33
34config BMP280_I2C
35 tristate
36 depends on BMP280
37 depends on I2C
38 select REGMAP_I2C
d5c94568 39
b26b4e91
LW
40config BMP280_SPI
41 tristate
42 depends on BMP280
43 depends on SPI_MASTER
44 select REGMAP
45
d732248f
GG
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
f64a799b
AP
56config HID_SENSOR_PRESS
57 depends on HID_SENSOR_HUB
58 select IIO_BUFFER
59 select IIO_TRIGGERED_BUFFER
60 select HID_SENSOR_IIO_COMMON
61 select HID_SENSOR_IIO_TRIGGER
62 tristate "HID PRESS"
63 help
64 Say yes here to build support for the HID SENSOR
65 Pressure driver
66
21cb454d
JC
67 To compile this driver as a module, choose M here: the module
68 will be called hid-sensor-press.
f64a799b 69
d8469e93
MV
70config HP03
71 tristate "Hope RF HP03 temperature and pressure sensor driver"
72 depends on I2C
73 select REGMAP_I2C
74 help
75 Say yes here to build support for Hope RF HP03 pressure and
76 temperature sensor.
77
78 To compile this driver as a module, choose M here: the module
79 will be called hp03.
80
3017d90e 81config MPL115
c984b9cb
AM
82 tristate
83
84config MPL115_I2C
3017d90e
PM
85 tristate "Freescale MPL115A2 pressure sensor driver"
86 depends on I2C
c984b9cb 87 select MPL115
3017d90e
PM
88 help
89 Say yes here to build support for the Freescale MPL115A2
90 pressure sensor connected via I2C.
91
21cb454d
JC
92 To compile this driver as a module, choose M here: the module
93 will be called mpl115_i2c.
c984b9cb
AM
94
95config MPL115_SPI
96 tristate "Freescale MPL115A1 pressure sensor driver"
97 depends on SPI_MASTER
98 select MPL115
99 help
100 Say yes here to build support for the Freescale MPL115A1
101 pressure sensor connected via SPI.
102
21cb454d
JC
103 To compile this driver as a module, choose M here: the module
104 will be called mpl115_spi.
3017d90e 105
cc26ad45
PM
106config MPL3115
107 tristate "Freescale MPL3115A2 pressure sensor driver"
108 depends on I2C
109 select IIO_BUFFER
110 select IIO_TRIGGERED_BUFFER
111 help
112 Say yes here to build support for the Freescale MPL3115A2
113 pressure sensor / altimeter.
114
21cb454d
JC
115 To compile this driver as a module, choose M here: the module
116 will be called mpl3115.
cc26ad45 117
c0644160 118config MS5611
825c50db 119 tristate "Measurement Specialties MS5611 pressure sensor driver"
3d5032a0 120 select IIO_BUFFER
713bbb4e 121 select IIO_TRIGGERED_BUFFER
c0644160 122 help
825c50db 123 Say Y here to build support for the Measurement Specialties
9690d81a 124 MS5611, MS5607 pressure and temperature sensors.
c0644160
TD
125
126 To compile this driver as a module, choose M here: the module will
127 be called ms5611_core.
128
129config MS5611_I2C
130 tristate "support I2C bus connection"
131 depends on I2C && MS5611
132 help
133 Say Y here to build I2C bus support for MS5611.
134
135 To compile this driver as a module, choose M here: the module will
136 be called ms5611_i2c.
137
138config MS5611_SPI
139 tristate "support SPI bus connection"
140 depends on SPI_MASTER && MS5611
141 help
142 Say Y here to build SPI bus support for MS5611.
143
144 To compile this driver as a module, choose M here: the module will
145 be called ms5611_spi.
146
64a70c65
LT
147config MS5637
148 tristate "Measurement Specialties MS5637 pressure & temperature sensor"
149 depends on I2C
21cb454d 150 select IIO_MS_SENSORS_I2C
64a70c65
LT
151 help
152 If you say yes here you get support for the Measurement Specialties
153 MS5637 pressure and temperature sensor.
1b75ce65
LT
154 This driver is also used for MS8607 temperature, pressure & humidity
155 sensor
64a70c65
LT
156
157 This driver can also be built as a module. If so, the module will
158 be called ms5637.
159
217494e5 160config IIO_ST_PRESS
93232cd5 161 tristate "STMicroelectronics pressure sensor Driver"
217494e5
DC
162 depends on (I2C || SPI_MASTER) && SYSFS
163 select IIO_ST_SENSORS_CORE
164 select IIO_ST_PRESS_I2C if (I2C)
165 select IIO_ST_PRESS_SPI if (SPI_MASTER)
166 select IIO_TRIGGERED_BUFFER if (IIO_BUFFER)
167 help
93232cd5 168 Say yes here to build support for STMicroelectronics pressure
e5aab7b0 169 sensors: LPS001WP, LPS25H, LPS331AP, LPS22HB, LPS22HH.
217494e5 170
341673f1
PM
171 This driver can also be built as a module. If so, these modules
172 will be created:
217494e5
DC
173 - st_pressure (core functions for the driver [it is mandatory]);
174 - st_pressure_i2c (necessary for the I2C devices [optional*]);
175 - st_pressure_spi (necessary for the SPI devices [optional*]);
176
177 (*) one of these is necessary to do something.
178
179config IIO_ST_PRESS_I2C
180 tristate
181 depends on IIO_ST_PRESS
182 depends on IIO_ST_SENSORS_I2C
183
184config IIO_ST_PRESS_SPI
185 tristate
186 depends on IIO_ST_PRESS
187 depends on IIO_ST_SENSORS_SPI
188
a2d8be68
PM
189config T5403
190 tristate "EPCOS T5403 digital barometric pressure sensor driver"
191 depends on I2C
192 help
193 Say yes here to build support for the EPCOS T5403 pressure sensor
194 connected via I2C.
195
21cb454d
JC
196 To compile this driver as a module, choose M here: the module
197 will be called t5403.
a2d8be68 198
fa4c9c93
CDL
199config HP206C
200 tristate "HOPERF HP206C precision barometer and altimeter sensor"
201 depends on I2C
202 help
203 Say yes here to build support for the HOPREF HP206C precision
204 barometer and altimeter sensor.
205
206 This driver can also be built as a module. If so, the module will
207 be called hp206c.
208
03b262f2
GB
209config ZPA2326
210 tristate "Murata ZPA2326 pressure sensor driver"
211 select IIO_BUFFER
212 select IIO_TRIGGERED_BUFFER
213 select REGMAP
214 select ZPA2326_I2C if I2C
215 select ZPA2326_SPI if SPI_MASTER
216 help
217 Say Y here to build support for the Murata ZPA2326 pressure and
218 temperature sensor.
219
220 To compile this driver as a module, choose M here: the module will
221 be called zpa2326.
222
223config ZPA2326_I2C
224 tristate
225 select REGMAP_I2C
226
227config ZPA2326_SPI
228 tristate
229 select REGMAP_SPI
230
217494e5 231endmenu