Kconfig 921 B

1234567891011121314151617181920212223242526272829303132333435
  1. #
  2. # Pressure drivers
  3. #
  4. menu "Pressure Sensors"
  5. config IIO_ST_PRESS
  6. tristate "STMicroelectronics pressures Driver"
  7. depends on (I2C || SPI_MASTER) && SYSFS
  8. select IIO_ST_SENSORS_CORE
  9. select IIO_ST_PRESS_I2C if (I2C)
  10. select IIO_ST_PRESS_SPI if (SPI_MASTER)
  11. select IIO_TRIGGERED_BUFFER if (IIO_BUFFER)
  12. help
  13. Say yes here to build support for STMicroelectronics pressures:
  14. LPS331AP.
  15. This driver can also be built as a module. If so, will be created
  16. these modules:
  17. - st_pressure (core functions for the driver [it is mandatory]);
  18. - st_pressure_i2c (necessary for the I2C devices [optional*]);
  19. - st_pressure_spi (necessary for the SPI devices [optional*]);
  20. (*) one of these is necessary to do something.
  21. config IIO_ST_PRESS_I2C
  22. tristate
  23. depends on IIO_ST_PRESS
  24. depends on IIO_ST_SENSORS_I2C
  25. config IIO_ST_PRESS_SPI
  26. tristate
  27. depends on IIO_ST_PRESS
  28. depends on IIO_ST_SENSORS_SPI
  29. endmenu