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