Kconfig 1.9 KB

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