Denis CIOCCA | 217494e | 2013-06-03 15:58:00 +0100 | [diff] [blame] | 1 | # |
| 2 | # Pressure drivers |
| 3 | # |
Lars-Peter Clausen | 3edc84e | 2013-07-15 08:45:00 +0100 | [diff] [blame] | 4 | # When adding new entries keep the list in alphabetical order |
| 5 | |
Peter Meerwald | 93232cd | 2013-06-23 22:28:00 +0100 | [diff] [blame] | 6 | menu "Pressure sensors" |
Denis CIOCCA | 217494e | 2013-06-03 15:58:00 +0100 | [diff] [blame] | 7 | |
Peter Meerwald | cc26ad45 | 2013-11-12 19:43:00 +0000 | [diff] [blame] | 8 | config MPL3115 |
| 9 | tristate "Freescale MPL3115A2 pressure sensor driver" |
| 10 | depends on I2C |
| 11 | select IIO_BUFFER |
| 12 | select IIO_TRIGGERED_BUFFER |
| 13 | help |
| 14 | Say yes here to build support for the Freescale MPL3115A2 |
| 15 | pressure sensor / altimeter. |
| 16 | |
| 17 | To compile this driver as a module, choose M here: the module |
| 18 | will be called mpl3115. |
| 19 | |
Denis CIOCCA | 217494e | 2013-06-03 15:58:00 +0100 | [diff] [blame] | 20 | config IIO_ST_PRESS |
Peter Meerwald | 93232cd | 2013-06-23 22:28:00 +0100 | [diff] [blame] | 21 | tristate "STMicroelectronics pressure sensor Driver" |
Denis CIOCCA | 217494e | 2013-06-03 15:58:00 +0100 | [diff] [blame] | 22 | depends on (I2C || SPI_MASTER) && SYSFS |
| 23 | select IIO_ST_SENSORS_CORE |
| 24 | select IIO_ST_PRESS_I2C if (I2C) |
| 25 | select IIO_ST_PRESS_SPI if (SPI_MASTER) |
| 26 | select IIO_TRIGGERED_BUFFER if (IIO_BUFFER) |
| 27 | help |
Peter Meerwald | 93232cd | 2013-06-23 22:28:00 +0100 | [diff] [blame] | 28 | Say yes here to build support for STMicroelectronics pressure |
Denis CIOCCA | d141ab7 | 2013-10-22 19:32:00 +0100 | [diff] [blame] | 29 | sensors: LPS001WP, LPS331AP. |
Denis CIOCCA | 217494e | 2013-06-03 15:58:00 +0100 | [diff] [blame] | 30 | |
Peter Meerwald | 341673f | 2013-06-23 22:28:00 +0100 | [diff] [blame] | 31 | This driver can also be built as a module. If so, these modules |
| 32 | will be created: |
Denis CIOCCA | 217494e | 2013-06-03 15:58:00 +0100 | [diff] [blame] | 33 | - st_pressure (core functions for the driver [it is mandatory]); |
| 34 | - st_pressure_i2c (necessary for the I2C devices [optional*]); |
| 35 | - st_pressure_spi (necessary for the SPI devices [optional*]); |
| 36 | |
| 37 | (*) one of these is necessary to do something. |
| 38 | |
| 39 | config IIO_ST_PRESS_I2C |
| 40 | tristate |
| 41 | depends on IIO_ST_PRESS |
| 42 | depends on IIO_ST_SENSORS_I2C |
| 43 | |
| 44 | config IIO_ST_PRESS_SPI |
| 45 | tristate |
| 46 | depends on IIO_ST_PRESS |
| 47 | depends on IIO_ST_SENSORS_SPI |
| 48 | |
| 49 | endmenu |