xref: /openbmc/linux/drivers/iio/pressure/Kconfig (revision f64a799b)
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
8f64a799bSArchana Patniconfig HID_SENSOR_PRESS
9f64a799bSArchana Patni	depends on HID_SENSOR_HUB
10f64a799bSArchana Patni	select IIO_BUFFER
11f64a799bSArchana Patni	select IIO_TRIGGERED_BUFFER
12f64a799bSArchana Patni	select HID_SENSOR_IIO_COMMON
13f64a799bSArchana Patni	select HID_SENSOR_IIO_TRIGGER
14f64a799bSArchana Patni	tristate "HID PRESS"
15f64a799bSArchana Patni	help
16f64a799bSArchana Patni	  Say yes here to build support for the HID SENSOR
17f64a799bSArchana Patni	  Pressure driver
18f64a799bSArchana Patni
19f64a799bSArchana Patni          To compile this driver as a module, choose M here: the module
20f64a799bSArchana Patni          will be called hid-sensor-press.
21f64a799bSArchana Patni
22cc26ad45SPeter Meerwaldconfig MPL3115
23cc26ad45SPeter Meerwald	tristate "Freescale MPL3115A2 pressure sensor driver"
24cc26ad45SPeter Meerwald	depends on I2C
25cc26ad45SPeter Meerwald	select IIO_BUFFER
26cc26ad45SPeter Meerwald	select IIO_TRIGGERED_BUFFER
27cc26ad45SPeter Meerwald	help
28cc26ad45SPeter Meerwald	  Say yes here to build support for the Freescale MPL3115A2
29cc26ad45SPeter Meerwald	  pressure sensor / altimeter.
30cc26ad45SPeter Meerwald
31cc26ad45SPeter Meerwald          To compile this driver as a module, choose M here: the module
32cc26ad45SPeter Meerwald          will be called mpl3115.
33cc26ad45SPeter Meerwald
34217494e5SDenis CIOCCAconfig IIO_ST_PRESS
3593232cd5SPeter Meerwald	tristate "STMicroelectronics pressure sensor Driver"
36217494e5SDenis CIOCCA	depends on (I2C || SPI_MASTER) && SYSFS
37217494e5SDenis CIOCCA	select IIO_ST_SENSORS_CORE
38217494e5SDenis CIOCCA	select IIO_ST_PRESS_I2C if (I2C)
39217494e5SDenis CIOCCA	select IIO_ST_PRESS_SPI if (SPI_MASTER)
40217494e5SDenis CIOCCA	select IIO_TRIGGERED_BUFFER if (IIO_BUFFER)
41217494e5SDenis CIOCCA	help
4293232cd5SPeter Meerwald	  Say yes here to build support for STMicroelectronics pressure
43d141ab77SDenis CIOCCA	  sensors: LPS001WP, LPS331AP.
44217494e5SDenis CIOCCA
45341673f1SPeter Meerwald	  This driver can also be built as a module. If so, these modules
46341673f1SPeter Meerwald	  will be created:
47217494e5SDenis CIOCCA	  - st_pressure (core functions for the driver [it is mandatory]);
48217494e5SDenis CIOCCA	  - st_pressure_i2c (necessary for the I2C devices [optional*]);
49217494e5SDenis CIOCCA	  - st_pressure_spi (necessary for the SPI devices [optional*]);
50217494e5SDenis CIOCCA
51217494e5SDenis CIOCCA	  (*) one of these is necessary to do something.
52217494e5SDenis CIOCCA
53217494e5SDenis CIOCCAconfig IIO_ST_PRESS_I2C
54217494e5SDenis CIOCCA	tristate
55217494e5SDenis CIOCCA	depends on IIO_ST_PRESS
56217494e5SDenis CIOCCA	depends on IIO_ST_SENSORS_I2C
57217494e5SDenis CIOCCA
58217494e5SDenis CIOCCAconfig IIO_ST_PRESS_SPI
59217494e5SDenis CIOCCA	tristate
60217494e5SDenis CIOCCA	depends on IIO_ST_PRESS
61217494e5SDenis CIOCCA	depends on IIO_ST_SENSORS_SPI
62217494e5SDenis CIOCCA
63217494e5SDenis CIOCCAendmenu
64