Linux-libre 4.19.116-gnu
[librecmc/linux-libre.git] / drivers / iio / pressure / Kconfig
1 #
2 # Pressure drivers
3 #
4 # When adding new entries keep the list in alphabetical order
5
6 menu "Pressure sensors"
7
8 config ABP060MG
9         tristate "Honeywell ABP pressure sensor driver"
10         depends on I2C
11         help
12           Say yes here to build support for the Honeywell ABP pressure
13           sensors.
14
15           To compile this driver as a module, choose M here: the module
16           will be called abp060mg.
17
18 config BMP280
19         tristate "Bosch Sensortec BMP180/BMP280 pressure sensor I2C driver"
20         depends on (I2C || SPI_MASTER)
21         select REGMAP
22         select BMP280_I2C if (I2C)
23         select BMP280_SPI if (SPI_MASTER)
24         help
25           Say yes here to build support for Bosch Sensortec BMP180 and BMP280
26           pressure and temperature sensors. Also supports the BME280 with
27           an additional humidity sensor channel.
28
29           To compile this driver as a module, choose M here: the core module
30           will be called bmp280 and you will also get bmp280-i2c for I2C
31           and/or bmp280-spi for SPI support.
32
33 config BMP280_I2C
34         tristate
35         depends on BMP280
36         depends on I2C
37         select REGMAP_I2C
38
39 config BMP280_SPI
40         tristate
41         depends on BMP280
42         depends on SPI_MASTER
43         select REGMAP
44
45 config IIO_CROS_EC_BARO
46         tristate "ChromeOS EC Barometer Sensor"
47         depends on IIO_CROS_EC_SENSORS_CORE
48         help
49           Say yes here to build support for the Barometer sensor when
50           presented by the ChromeOS EC Sensor hub.
51
52           To compile this driver as a module, choose M here: the module
53           will be called cros_ec_baro.
54
55 config HID_SENSOR_PRESS
56         depends on HID_SENSOR_HUB
57         select IIO_BUFFER
58         select IIO_TRIGGERED_BUFFER
59         select HID_SENSOR_IIO_COMMON
60         select HID_SENSOR_IIO_TRIGGER
61         tristate "HID PRESS"
62         help
63           Say yes here to build support for the HID SENSOR
64           Pressure driver
65
66           To compile this driver as a module, choose M here: the module
67           will be called hid-sensor-press.
68
69 config HP03
70         tristate "Hope RF HP03 temperature and pressure sensor driver"
71         depends on I2C
72         select REGMAP_I2C
73         help
74           Say yes here to build support for Hope RF HP03 pressure and
75           temperature sensor.
76
77           To compile this driver as a module, choose M here: the module
78           will be called hp03.
79
80 config MPL115
81         tristate
82
83 config MPL115_I2C
84         tristate "Freescale MPL115A2 pressure sensor driver"
85         depends on I2C
86         select MPL115
87         help
88           Say yes here to build support for the Freescale MPL115A2
89           pressure sensor connected via I2C.
90
91           To compile this driver as a module, choose M here: the module
92           will be called mpl115_i2c.
93
94 config MPL115_SPI
95         tristate "Freescale MPL115A1 pressure sensor driver"
96         depends on SPI_MASTER
97         select MPL115
98         help
99           Say yes here to build support for the Freescale MPL115A1
100           pressure sensor connected via SPI.
101
102           To compile this driver as a module, choose M here: the module
103           will be called mpl115_spi.
104
105 config MPL3115
106         tristate "Freescale MPL3115A2 pressure sensor driver"
107         depends on I2C
108         select IIO_BUFFER
109         select IIO_TRIGGERED_BUFFER
110         help
111           Say yes here to build support for the Freescale MPL3115A2
112           pressure sensor / altimeter.
113
114           To compile this driver as a module, choose M here: the module
115           will be called mpl3115.
116
117 config MS5611
118         tristate "Measurement Specialties MS5611 pressure sensor driver"
119         select IIO_BUFFER
120         select IIO_TRIGGERED_BUFFER
121         help
122           Say Y here to build support for the Measurement Specialties
123           MS5611, MS5607 pressure and temperature sensors.
124
125           To compile this driver as a module, choose M here: the module will
126           be called ms5611_core.
127
128 config MS5611_I2C
129         tristate "support I2C bus connection"
130         depends on I2C && MS5611
131         help
132           Say Y here to build I2C bus support for MS5611.
133
134           To compile this driver as a module, choose M here: the module will
135           be called ms5611_i2c.
136
137 config MS5611_SPI
138         tristate "support SPI bus connection"
139         depends on SPI_MASTER && MS5611
140         help
141           Say Y here to build SPI bus support for MS5611.
142
143           To compile this driver as a module, choose M here: the module will
144           be called ms5611_spi.
145
146 config MS5637
147         tristate "Measurement Specialties MS5637 pressure & temperature sensor"
148         depends on I2C
149         select IIO_MS_SENSORS_I2C
150         help
151           If you say yes here you get support for the Measurement Specialties
152           MS5637 pressure and temperature sensor.
153           This driver is also used for MS8607 temperature, pressure & humidity
154           sensor
155
156           This driver can also be built as a module. If so, the module will
157           be called ms5637.
158
159 config IIO_ST_PRESS
160         tristate "STMicroelectronics pressure sensor Driver"
161         depends on (I2C || SPI_MASTER) && SYSFS
162         select IIO_ST_SENSORS_CORE
163         select IIO_ST_PRESS_I2C if (I2C)
164         select IIO_ST_PRESS_SPI if (SPI_MASTER)
165         select IIO_TRIGGERED_BUFFER if (IIO_BUFFER)
166         help
167           Say yes here to build support for STMicroelectronics pressure
168           sensors: LPS001WP, LPS25H, LPS331AP, LPS22HB.
169
170           This driver can also be built as a module. If so, these modules
171           will be created:
172           - st_pressure (core functions for the driver [it is mandatory]);
173           - st_pressure_i2c (necessary for the I2C devices [optional*]);
174           - st_pressure_spi (necessary for the SPI devices [optional*]);
175
176           (*) one of these is necessary to do something.
177
178 config IIO_ST_PRESS_I2C
179         tristate
180         depends on IIO_ST_PRESS
181         depends on IIO_ST_SENSORS_I2C
182
183 config IIO_ST_PRESS_SPI
184         tristate
185         depends on IIO_ST_PRESS
186         depends on IIO_ST_SENSORS_SPI
187
188 config T5403
189         tristate "EPCOS T5403 digital barometric pressure sensor driver"
190         depends on I2C
191         help
192           Say yes here to build support for the EPCOS T5403 pressure sensor
193           connected via I2C.
194
195           To compile this driver as a module, choose M here: the module
196           will be called t5403.
197
198 config HP206C
199         tristate "HOPERF HP206C precision barometer and altimeter sensor"
200         depends on I2C
201         help
202           Say yes here to build support for the HOPREF HP206C precision
203           barometer and altimeter sensor.
204
205           This driver can also be built as a module. If so, the module will
206           be called hp206c.
207
208 config ZPA2326
209         tristate "Murata ZPA2326 pressure sensor driver"
210         select IIO_BUFFER
211         select IIO_TRIGGERED_BUFFER
212         select REGMAP
213         select ZPA2326_I2C if I2C
214         select ZPA2326_SPI if SPI_MASTER
215         help
216           Say Y here to build support for the Murata ZPA2326 pressure and
217           temperature sensor.
218
219           To compile this driver as a module, choose M here: the module will
220           be called zpa2326.
221
222 config ZPA2326_I2C
223         tristate
224         select REGMAP_I2C
225
226 config ZPA2326_SPI
227         tristate
228         select REGMAP_SPI
229
230 endmenu