Kconfig 1.6 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556
  1. #
  2. # Accelerometer drivers
  3. #
  4. # When adding new entries keep the list in alphabetical order
  5. menu "Accelerometers"
  6. config HID_SENSOR_ACCEL_3D
  7. depends on HID_SENSOR_HUB
  8. select IIO_BUFFER
  9. select IIO_TRIGGERED_BUFFER
  10. select HID_SENSOR_IIO_COMMON
  11. select HID_SENSOR_IIO_TRIGGER
  12. tristate "HID Accelerometers 3D"
  13. help
  14. Say yes here to build support for the HID SENSOR
  15. accelerometers 3D.
  16. config IIO_ST_ACCEL_3AXIS
  17. tristate "STMicroelectronics accelerometers 3-Axis Driver"
  18. depends on (I2C || SPI_MASTER) && SYSFS
  19. select IIO_ST_SENSORS_CORE
  20. select IIO_ST_ACCEL_I2C_3AXIS if (I2C)
  21. select IIO_ST_ACCEL_SPI_3AXIS if (SPI_MASTER)
  22. select IIO_TRIGGERED_BUFFER if (IIO_BUFFER)
  23. help
  24. Say yes here to build support for STMicroelectronics accelerometers:
  25. LSM303DLH, LSM303DLHC, LIS3DH, LSM330D, LSM330DL, LSM330DLC,
  26. LIS331DLH, LSM303DL, LSM303DLM, LSM330.
  27. This driver can also be built as a module. If so, these modules
  28. will be created:
  29. - st_accel (core functions for the driver [it is mandatory]);
  30. - st_accel_i2c (necessary for the I2C devices [optional*]);
  31. - st_accel_spi (necessary for the SPI devices [optional*]);
  32. (*) one of these is necessary to do something.
  33. config IIO_ST_ACCEL_I2C_3AXIS
  34. tristate
  35. depends on IIO_ST_ACCEL_3AXIS
  36. depends on IIO_ST_SENSORS_I2C
  37. config IIO_ST_ACCEL_SPI_3AXIS
  38. tristate
  39. depends on IIO_ST_ACCEL_3AXIS
  40. depends on IIO_ST_SENSORS_SPI
  41. config KXSD9
  42. tristate "Kionix KXSD9 Accelerometer Driver"
  43. depends on SPI
  44. help
  45. Say yes here to build support for the Kionix KXSD9 accelerometer.
  46. Currently this only supports the device via an SPI interface.
  47. endmenu