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 | |
| 8 | config IIO_ST_PRESS |
Peter Meerwald | 93232cd | 2013-06-23 22:28:00 +0100 | [diff] [blame] | 9 | tristate "STMicroelectronics pressure sensor Driver" |
Denis CIOCCA | 217494e | 2013-06-03 15:58:00 +0100 | [diff] [blame] | 10 | depends on (I2C || SPI_MASTER) && SYSFS |
| 11 | select IIO_ST_SENSORS_CORE |
| 12 | select IIO_ST_PRESS_I2C if (I2C) |
| 13 | select IIO_ST_PRESS_SPI if (SPI_MASTER) |
| 14 | select IIO_TRIGGERED_BUFFER if (IIO_BUFFER) |
| 15 | help |
Peter Meerwald | 93232cd | 2013-06-23 22:28:00 +0100 | [diff] [blame] | 16 | Say yes here to build support for STMicroelectronics pressure |
Denis CIOCCA | d141ab7 | 2013-10-22 19:32:00 +0100 | [diff] [blame^] | 17 | sensors: LPS001WP, LPS331AP. |
Denis CIOCCA | 217494e | 2013-06-03 15:58:00 +0100 | [diff] [blame] | 18 | |
Peter Meerwald | 341673f | 2013-06-23 22:28:00 +0100 | [diff] [blame] | 19 | This driver can also be built as a module. If so, these modules |
| 20 | will be created: |
Denis CIOCCA | 217494e | 2013-06-03 15:58:00 +0100 | [diff] [blame] | 21 | - st_pressure (core functions for the driver [it is mandatory]); |
| 22 | - st_pressure_i2c (necessary for the I2C devices [optional*]); |
| 23 | - st_pressure_spi (necessary for the SPI devices [optional*]); |
| 24 | |
| 25 | (*) one of these is necessary to do something. |
| 26 | |
| 27 | config IIO_ST_PRESS_I2C |
| 28 | tristate |
| 29 | depends on IIO_ST_PRESS |
| 30 | depends on IIO_ST_SENSORS_I2C |
| 31 | |
| 32 | config IIO_ST_PRESS_SPI |
| 33 | tristate |
| 34 | depends on IIO_ST_PRESS |
| 35 | depends on IIO_ST_SENSORS_SPI |
| 36 | |
| 37 | endmenu |