Kconfig 1.3 KB

123456789101112131415161718192021222324252627282930313233343536
  1. # SPDX-License-Identifier: GPL-2.0-only
  2. #
  3. # STMicroelectonics LIS3LV02D and similar accelerometers
  4. #
  5. config SENSORS_LIS3_SPI
  6. tristate "STMicroeletronics LIS3LV02Dx three-axis digital accelerometer (SPI)"
  7. depends on !ACPI && SPI_MASTER && INPUT
  8. select SENSORS_LIS3LV02D
  9. help
  10. This driver provides support for the LIS3LV02Dx accelerometer connected
  11. via SPI. The accelerometer data is readable via
  12. /sys/devices/platform/lis3lv02d.
  13. This driver also provides an absolute input class device, allowing
  14. the laptop to act as a pinball machine-esque joystick.
  15. This driver can also be built as modules. If so, the core module
  16. will be called lis3lv02d and a specific module for the SPI transport
  17. is called lis3lv02d_spi.
  18. config SENSORS_LIS3_I2C
  19. tristate "STMicroeletronics LIS3LV02Dx three-axis digital accelerometer (I2C)"
  20. depends on I2C && INPUT
  21. select SENSORS_LIS3LV02D
  22. help
  23. This driver provides support for the LIS3LV02Dx accelerometer connected
  24. via I2C. The accelerometer data is readable via
  25. /sys/devices/platform/lis3lv02d.
  26. This driver also provides an absolute input class device, allowing
  27. the device to act as a pinball machine-esque joystick.
  28. This driver can also be built as modules. If so, the core module
  29. will be called lis3lv02d and a specific module for the I2C transport
  30. is called lis3lv02d_i2c.