Merge tag 'iio-for-3.17a' of git://git.kernel.org/pub/scm/linux/kernel/git/jic23...
[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 HID_SENSOR_PRESS
9         depends on HID_SENSOR_HUB
10         select IIO_BUFFER
11         select IIO_TRIGGERED_BUFFER
12         select HID_SENSOR_IIO_COMMON
13         select HID_SENSOR_IIO_TRIGGER
14         tristate "HID PRESS"
15         help
16           Say yes here to build support for the HID SENSOR
17           Pressure driver
18
19           To compile this driver as a module, choose M here: the module
20           will be called hid-sensor-press.
21
22 config MPL115
23         tristate "Freescale MPL115A2 pressure sensor driver"
24         depends on I2C
25         help
26           Say yes here to build support for the Freescale MPL115A2
27           pressure sensor connected via I2C.
28
29           To compile this driver as a module, choose M here: the module
30           will be called mpl115.
31
32 config MPL3115
33         tristate "Freescale MPL3115A2 pressure sensor driver"
34         depends on I2C
35         select IIO_BUFFER
36         select IIO_TRIGGERED_BUFFER
37         help
38           Say yes here to build support for the Freescale MPL3115A2
39           pressure sensor / altimeter.
40
41           To compile this driver as a module, choose M here: the module
42           will be called mpl3115.
43
44 config IIO_ST_PRESS
45         tristate "STMicroelectronics pressure sensor Driver"
46         depends on (I2C || SPI_MASTER) && SYSFS
47         select IIO_ST_SENSORS_CORE
48         select IIO_ST_PRESS_I2C if (I2C)
49         select IIO_ST_PRESS_SPI if (SPI_MASTER)
50         select IIO_TRIGGERED_BUFFER if (IIO_BUFFER)
51         help
52           Say yes here to build support for STMicroelectronics pressure
53           sensors: LPS001WP, LPS25H, LPS331AP.
54
55           This driver can also be built as a module. If so, these modules
56           will be created:
57           - st_pressure (core functions for the driver [it is mandatory]);
58           - st_pressure_i2c (necessary for the I2C devices [optional*]);
59           - st_pressure_spi (necessary for the SPI devices [optional*]);
60
61           (*) one of these is necessary to do something.
62
63 config IIO_ST_PRESS_I2C
64         tristate
65         depends on IIO_ST_PRESS
66         depends on IIO_ST_SENSORS_I2C
67
68 config IIO_ST_PRESS_SPI
69         tristate
70         depends on IIO_ST_PRESS
71         depends on IIO_ST_SENSORS_SPI
72
73 config T5403
74         tristate "EPCOS T5403 digital barometric pressure sensor driver"
75         depends on I2C
76         help
77           Say yes here to build support for the EPCOS T5403 pressure sensor
78           connected via I2C.
79
80           To compile this driver as a module, choose M here: the module
81           will be called t5403.
82
83 endmenu