Merge tag 'for-linus-20190706' of git://git.kernel.dk/linux-block
[linux/fpc-iii.git] / drivers / iio / pressure / Kconfig
blobb191811fd7495602538f6656423512fd88fec149
1 # SPDX-License-Identifier: GPL-2.0-only
3 # Pressure drivers
5 # When adding new entries keep the list in alphabetical order
7 menu "Pressure sensors"
9 config 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.
16           To compile this driver as a module, choose M here: the module
17           will be called abp060mg.
19 config 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.
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.
34 config BMP280_I2C
35         tristate
36         depends on BMP280
37         depends on I2C
38         select REGMAP_I2C
40 config BMP280_SPI
41         tristate
42         depends on BMP280
43         depends on SPI_MASTER
44         select REGMAP
46 config 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.
53           To compile this driver as a module, choose M here: the module
54           will be called cros_ec_baro.
56 config 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
67           To compile this driver as a module, choose M here: the module
68           will be called hid-sensor-press.
70 config 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.
78           To compile this driver as a module, choose M here: the module
79           will be called hp03.
81 config MPL115
82         tristate
84 config MPL115_I2C
85         tristate "Freescale MPL115A2 pressure sensor driver"
86         depends on I2C
87         select MPL115
88         help
89           Say yes here to build support for the Freescale MPL115A2
90           pressure sensor connected via I2C.
92           To compile this driver as a module, choose M here: the module
93           will be called mpl115_i2c.
95 config 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.
103           To compile this driver as a module, choose M here: the module
104           will be called mpl115_spi.
106 config 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.
115           To compile this driver as a module, choose M here: the module
116           will be called mpl3115.
118 config MS5611
119         tristate "Measurement Specialties MS5611 pressure sensor driver"
120         select IIO_BUFFER
121         select IIO_TRIGGERED_BUFFER
122         help
123           Say Y here to build support for the Measurement Specialties
124           MS5611, MS5607 pressure and temperature sensors.
126           To compile this driver as a module, choose M here: the module will
127           be called ms5611_core.
129 config 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.
135           To compile this driver as a module, choose M here: the module will
136           be called ms5611_i2c.
138 config 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.
144           To compile this driver as a module, choose M here: the module will
145           be called ms5611_spi.
147 config MS5637
148         tristate "Measurement Specialties MS5637 pressure & temperature sensor"
149         depends on I2C
150         select IIO_MS_SENSORS_I2C
151         help
152           If you say yes here you get support for the Measurement Specialties
153           MS5637 pressure and temperature sensor.
154           This driver is also used for MS8607 temperature, pressure & humidity
155           sensor
157           This driver can also be built as a module. If so, the module will
158           be called ms5637.
160 config IIO_ST_PRESS
161         tristate "STMicroelectronics pressure sensor Driver"
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
168           Say yes here to build support for STMicroelectronics pressure
169           sensors: LPS001WP, LPS25H, LPS331AP, LPS22HB, LPS22HH.
171           This driver can also be built as a module. If so, these modules
172           will be created:
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*]);
177           (*) one of these is necessary to do something.
179 config IIO_ST_PRESS_I2C
180         tristate
181         depends on IIO_ST_PRESS
182         depends on IIO_ST_SENSORS_I2C
184 config IIO_ST_PRESS_SPI
185         tristate
186         depends on IIO_ST_PRESS
187         depends on IIO_ST_SENSORS_SPI
189 config 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.
196           To compile this driver as a module, choose M here: the module
197           will be called t5403.
199 config 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.
206           This driver can also be built as a module. If so, the module will
207           be called hp206c.
209 config 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.
220           To compile this driver as a module, choose M here: the module will
221           be called zpa2326.
223 config ZPA2326_I2C
224         tristate
225         select REGMAP_I2C
227 config ZPA2326_SPI
228         tristate
229         select REGMAP_SPI
231 endmenu