xref: /openbmc/linux/drivers/iio/pressure/Kconfig (revision 078a55fc)
1#
2# Pressure drivers
3#
4menu "Pressure Sensors"
5
6config IIO_ST_PRESS
7	tristate "STMicroelectronics pressures Driver"
8	depends on (I2C || SPI_MASTER) && SYSFS
9	select IIO_ST_SENSORS_CORE
10	select IIO_ST_PRESS_I2C if (I2C)
11	select IIO_ST_PRESS_SPI if (SPI_MASTER)
12	select IIO_TRIGGERED_BUFFER if (IIO_BUFFER)
13	help
14	  Say yes here to build support for STMicroelectronics pressures:
15	  LPS331AP.
16
17	  This driver can also be built as a module. If so, will be created
18	  these modules:
19	  - st_pressure (core functions for the driver [it is mandatory]);
20	  - st_pressure_i2c (necessary for the I2C devices [optional*]);
21	  - st_pressure_spi (necessary for the SPI devices [optional*]);
22
23	  (*) one of these is necessary to do something.
24
25config IIO_ST_PRESS_I2C
26	tristate
27	depends on IIO_ST_PRESS
28	depends on IIO_ST_SENSORS_I2C
29
30config IIO_ST_PRESS_SPI
31	tristate
32	depends on IIO_ST_PRESS
33	depends on IIO_ST_SENSORS_SPI
34
35endmenu
36