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