iio: pressure: ms5611: Add triggered buffer support
[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 BMP280 pressure sensor driver"
10         depends on I2C
11         select REGMAP_I2C
12         help
13           Say yes here to build support for Bosch Sensortec BMP280
14           pressure and temperature sensor.
15
16           To compile this driver as a module, choose M here: the module
17           will be called bmp280.
18
19 config HID_SENSOR_PRESS
20         depends on HID_SENSOR_HUB
21         select IIO_BUFFER
22         select IIO_TRIGGERED_BUFFER
23         select HID_SENSOR_IIO_COMMON
24         select HID_SENSOR_IIO_TRIGGER
25         tristate "HID PRESS"
26         help
27           Say yes here to build support for the HID SENSOR
28           Pressure driver
29
30           To compile this driver as a module, choose M here: the module
31           will be called hid-sensor-press.
32
33 config MPL115
34         tristate
35
36 config MPL115_I2C
37         tristate "Freescale MPL115A2 pressure sensor driver"
38         depends on I2C
39         select MPL115
40         help
41           Say yes here to build support for the Freescale MPL115A2
42           pressure sensor connected via I2C.
43
44           To compile this driver as a module, choose M here: the module
45           will be called mpl115_i2c.
46
47 config MPL115_SPI
48         tristate "Freescale MPL115A1 pressure sensor driver"
49         depends on SPI_MASTER
50         select MPL115
51         help
52           Say yes here to build support for the Freescale MPL115A1
53           pressure sensor connected via SPI.
54
55           To compile this driver as a module, choose M here: the module
56           will be called mpl115_spi.
57
58 config MPL3115
59         tristate "Freescale MPL3115A2 pressure sensor driver"
60         depends on I2C
61         select IIO_BUFFER
62         select IIO_TRIGGERED_BUFFER
63         help
64           Say yes here to build support for the Freescale MPL3115A2
65           pressure sensor / altimeter.
66
67           To compile this driver as a module, choose M here: the module
68           will be called mpl3115.
69
70 config MS5611
71         tristate "Measurement Specialties MS5611 pressure sensor driver"
72         select IIO_TRIGGERED_BUFFER
73         help
74           Say Y here to build support for the Measurement Specialties
75           MS5611, MS5607 pressure and temperature sensors.
76
77           To compile this driver as a module, choose M here: the module will
78           be called ms5611_core.
79
80 config MS5611_I2C
81         tristate "support I2C bus connection"
82         depends on I2C && MS5611
83         help
84           Say Y here to build I2C bus support for MS5611.
85
86           To compile this driver as a module, choose M here: the module will
87           be called ms5611_i2c.
88
89 config MS5611_SPI
90         tristate "support SPI bus connection"
91         depends on SPI_MASTER && MS5611
92         help
93           Say Y here to build SPI bus support for MS5611.
94
95           To compile this driver as a module, choose M here: the module will
96           be called ms5611_spi.
97
98 config MS5637
99         tristate "Measurement Specialties MS5637 pressure & temperature sensor"
100         depends on I2C
101         select IIO_MS_SENSORS_I2C
102         help
103           If you say yes here you get support for the Measurement Specialties
104           MS5637 pressure and temperature sensor.
105           This driver is also used for MS8607 temperature, pressure & humidity
106           sensor
107
108           This driver can also be built as a module. If so, the module will
109           be called ms5637.
110
111 config IIO_ST_PRESS
112         tristate "STMicroelectronics pressure sensor Driver"
113         depends on (I2C || SPI_MASTER) && SYSFS
114         select IIO_ST_SENSORS_CORE
115         select IIO_ST_PRESS_I2C if (I2C)
116         select IIO_ST_PRESS_SPI if (SPI_MASTER)
117         select IIO_TRIGGERED_BUFFER if (IIO_BUFFER)
118         help
119           Say yes here to build support for STMicroelectronics pressure
120           sensors: LPS001WP, LPS25H, LPS331AP.
121
122           This driver can also be built as a module. If so, these modules
123           will be created:
124           - st_pressure (core functions for the driver [it is mandatory]);
125           - st_pressure_i2c (necessary for the I2C devices [optional*]);
126           - st_pressure_spi (necessary for the SPI devices [optional*]);
127
128           (*) one of these is necessary to do something.
129
130 config IIO_ST_PRESS_I2C
131         tristate
132         depends on IIO_ST_PRESS
133         depends on IIO_ST_SENSORS_I2C
134
135 config IIO_ST_PRESS_SPI
136         tristate
137         depends on IIO_ST_PRESS
138         depends on IIO_ST_SENSORS_SPI
139
140 config T5403
141         tristate "EPCOS T5403 digital barometric pressure sensor driver"
142         depends on I2C
143         help
144           Say yes here to build support for the EPCOS T5403 pressure sensor
145           connected via I2C.
146
147           To compile this driver as a module, choose M here: the module
148           will be called t5403.
149
150 endmenu