blob: 6215761b3c5387cd8f890813928ec74abeec653a [file] [log] [blame]
Denis CIOCCA217494e2013-06-03 15:58:00 +01001#
2# Pressure drivers
3#
Lars-Peter Clausen3edc84e2013-07-15 08:45:00 +01004# When adding new entries keep the list in alphabetical order
5
Peter Meerwald93232cd2013-06-23 22:28:00 +01006menu "Pressure sensors"
Denis CIOCCA217494e2013-06-03 15:58:00 +01007
Archana Patnif64a7992014-02-20 06:30:00 +00008config 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
Peter Meerwaldcc26ad452013-11-12 19:43:00 +000022config MPL3115
23 tristate "Freescale MPL3115A2 pressure sensor driver"
24 depends on I2C
25 select IIO_BUFFER
26 select IIO_TRIGGERED_BUFFER
27 help
28 Say yes here to build support for the Freescale MPL3115A2
29 pressure sensor / altimeter.
30
31 To compile this driver as a module, choose M here: the module
32 will be called mpl3115.
33
Denis CIOCCA217494e2013-06-03 15:58:00 +010034config IIO_ST_PRESS
Peter Meerwald93232cd2013-06-23 22:28:00 +010035 tristate "STMicroelectronics pressure sensor Driver"
Denis CIOCCA217494e2013-06-03 15:58:00 +010036 depends on (I2C || SPI_MASTER) && SYSFS
37 select IIO_ST_SENSORS_CORE
38 select IIO_ST_PRESS_I2C if (I2C)
39 select IIO_ST_PRESS_SPI if (SPI_MASTER)
40 select IIO_TRIGGERED_BUFFER if (IIO_BUFFER)
41 help
Peter Meerwald93232cd2013-06-23 22:28:00 +010042 Say yes here to build support for STMicroelectronics pressure
Denis CIOCCAd141ab72013-10-22 19:32:00 +010043 sensors: LPS001WP, LPS331AP.
Denis CIOCCA217494e2013-06-03 15:58:00 +010044
Peter Meerwald341673f2013-06-23 22:28:00 +010045 This driver can also be built as a module. If so, these modules
46 will be created:
Denis CIOCCA217494e2013-06-03 15:58:00 +010047 - st_pressure (core functions for the driver [it is mandatory]);
48 - st_pressure_i2c (necessary for the I2C devices [optional*]);
49 - st_pressure_spi (necessary for the SPI devices [optional*]);
50
51 (*) one of these is necessary to do something.
52
53config IIO_ST_PRESS_I2C
54 tristate
55 depends on IIO_ST_PRESS
56 depends on IIO_ST_SENSORS_I2C
57
58config IIO_ST_PRESS_SPI
59 tristate
60 depends on IIO_ST_PRESS
61 depends on IIO_ST_SENSORS_SPI
62
63endmenu