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