xref: /openbmc/linux/drivers/iio/pressure/Kconfig (revision cc26ad45)
1217494e5SDenis CIOCCA#
2217494e5SDenis CIOCCA# Pressure drivers
3217494e5SDenis CIOCCA#
43edc84e6SLars-Peter Clausen# When adding new entries keep the list in alphabetical order
53edc84e6SLars-Peter Clausen
693232cd5SPeter Meerwaldmenu "Pressure sensors"
7217494e5SDenis CIOCCA
8cc26ad45SPeter Meerwaldconfig MPL3115
9cc26ad45SPeter Meerwald	tristate "Freescale MPL3115A2 pressure sensor driver"
10cc26ad45SPeter Meerwald	depends on I2C
11cc26ad45SPeter Meerwald	select IIO_BUFFER
12cc26ad45SPeter Meerwald	select IIO_TRIGGERED_BUFFER
13cc26ad45SPeter Meerwald	help
14cc26ad45SPeter Meerwald	  Say yes here to build support for the Freescale MPL3115A2
15cc26ad45SPeter Meerwald	  pressure sensor / altimeter.
16cc26ad45SPeter Meerwald
17cc26ad45SPeter Meerwald          To compile this driver as a module, choose M here: the module
18cc26ad45SPeter Meerwald          will be called mpl3115.
19cc26ad45SPeter Meerwald
20217494e5SDenis CIOCCAconfig IIO_ST_PRESS
2193232cd5SPeter Meerwald	tristate "STMicroelectronics pressure sensor Driver"
22217494e5SDenis CIOCCA	depends on (I2C || SPI_MASTER) && SYSFS
23217494e5SDenis CIOCCA	select IIO_ST_SENSORS_CORE
24217494e5SDenis CIOCCA	select IIO_ST_PRESS_I2C if (I2C)
25217494e5SDenis CIOCCA	select IIO_ST_PRESS_SPI if (SPI_MASTER)
26217494e5SDenis CIOCCA	select IIO_TRIGGERED_BUFFER if (IIO_BUFFER)
27217494e5SDenis CIOCCA	help
2893232cd5SPeter Meerwald	  Say yes here to build support for STMicroelectronics pressure
29d141ab77SDenis CIOCCA	  sensors: LPS001WP, LPS331AP.
30217494e5SDenis CIOCCA
31341673f1SPeter Meerwald	  This driver can also be built as a module. If so, these modules
32341673f1SPeter Meerwald	  will be created:
33217494e5SDenis CIOCCA	  - st_pressure (core functions for the driver [it is mandatory]);
34217494e5SDenis CIOCCA	  - st_pressure_i2c (necessary for the I2C devices [optional*]);
35217494e5SDenis CIOCCA	  - st_pressure_spi (necessary for the SPI devices [optional*]);
36217494e5SDenis CIOCCA
37217494e5SDenis CIOCCA	  (*) one of these is necessary to do something.
38217494e5SDenis CIOCCA
39217494e5SDenis CIOCCAconfig IIO_ST_PRESS_I2C
40217494e5SDenis CIOCCA	tristate
41217494e5SDenis CIOCCA	depends on IIO_ST_PRESS
42217494e5SDenis CIOCCA	depends on IIO_ST_SENSORS_I2C
43217494e5SDenis CIOCCA
44217494e5SDenis CIOCCAconfig IIO_ST_PRESS_SPI
45217494e5SDenis CIOCCA	tristate
46217494e5SDenis CIOCCA	depends on IIO_ST_PRESS
47217494e5SDenis CIOCCA	depends on IIO_ST_SENSORS_SPI
48217494e5SDenis CIOCCA
49217494e5SDenis CIOCCAendmenu
50