xref: /openbmc/linux/drivers/iio/pressure/Kconfig (revision b34e08d5)
1#
2# Pressure drivers
3#
4# When adding new entries keep the list in alphabetical order
5
6menu "Pressure sensors"
7
8config 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
22config 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
34config IIO_ST_PRESS
35	tristate "STMicroelectronics pressure sensor Driver"
36	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
42	  Say yes here to build support for STMicroelectronics pressure
43	  sensors: LPS001WP, LPS25H, LPS331AP.
44
45	  This driver can also be built as a module. If so, these modules
46	  will be created:
47	  - 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
64