162306a36Sopenharmony_ci# SPDX-License-Identifier: GPL-2.0-only 262306a36Sopenharmony_ci# 362306a36Sopenharmony_ci# STMicroelectonics LIS3LV02D and similar accelerometers 462306a36Sopenharmony_ci# 562306a36Sopenharmony_ci 662306a36Sopenharmony_ciconfig SENSORS_LIS3_SPI 762306a36Sopenharmony_ci tristate "STMicroeletronics LIS3LV02Dx three-axis digital accelerometer (SPI)" 862306a36Sopenharmony_ci depends on !ACPI && SPI_MASTER && INPUT 962306a36Sopenharmony_ci select SENSORS_LIS3LV02D 1062306a36Sopenharmony_ci help 1162306a36Sopenharmony_ci This driver provides support for the LIS3LV02Dx accelerometer connected 1262306a36Sopenharmony_ci via SPI. The accelerometer data is readable via 1362306a36Sopenharmony_ci /sys/devices/platform/lis3lv02d. 1462306a36Sopenharmony_ci 1562306a36Sopenharmony_ci This driver also provides an absolute input class device, allowing 1662306a36Sopenharmony_ci the laptop to act as a pinball machine-esque joystick. 1762306a36Sopenharmony_ci 1862306a36Sopenharmony_ci This driver can also be built as modules. If so, the core module 1962306a36Sopenharmony_ci will be called lis3lv02d and a specific module for the SPI transport 2062306a36Sopenharmony_ci is called lis3lv02d_spi. 2162306a36Sopenharmony_ci 2262306a36Sopenharmony_ciconfig SENSORS_LIS3_I2C 2362306a36Sopenharmony_ci tristate "STMicroeletronics LIS3LV02Dx three-axis digital accelerometer (I2C)" 2462306a36Sopenharmony_ci depends on I2C && INPUT 2562306a36Sopenharmony_ci select SENSORS_LIS3LV02D 2662306a36Sopenharmony_ci help 2762306a36Sopenharmony_ci This driver provides support for the LIS3LV02Dx accelerometer connected 2862306a36Sopenharmony_ci via I2C. The accelerometer data is readable via 2962306a36Sopenharmony_ci /sys/devices/platform/lis3lv02d. 3062306a36Sopenharmony_ci 3162306a36Sopenharmony_ci This driver also provides an absolute input class device, allowing 3262306a36Sopenharmony_ci the device to act as a pinball machine-esque joystick. 3362306a36Sopenharmony_ci 3462306a36Sopenharmony_ci This driver can also be built as modules. If so, the core module 3562306a36Sopenharmony_ci will be called lis3lv02d and a specific module for the I2C transport 3662306a36Sopenharmony_ci is called lis3lv02d_i2c. 37