Kconfig 997 B

12345678910111213141516171819202122232425262728293031323334353637
  1. #
  2. # Pressure drivers
  3. #
  4. # When adding new entries keep the list in alphabetical order
  5. menu "Pressure sensors"
  6. config IIO_ST_PRESS
  7. tristate "STMicroelectronics pressure sensor 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 pressure
  15. sensors: LPS331AP.
  16. This driver can also be built as a module. If so, these modules
  17. will be created:
  18. - st_pressure (core functions for the driver [it is mandatory]);
  19. - st_pressure_i2c (necessary for the I2C devices [optional*]);
  20. - st_pressure_spi (necessary for the SPI devices [optional*]);
  21. (*) one of these is necessary to do something.
  22. config IIO_ST_PRESS_I2C
  23. tristate
  24. depends on IIO_ST_PRESS
  25. depends on IIO_ST_SENSORS_I2C
  26. config IIO_ST_PRESS_SPI
  27. tristate
  28. depends on IIO_ST_PRESS
  29. depends on IIO_ST_SENSORS_SPI
  30. endmenu