18c2ecf20Sopenharmony_ci# SPDX-License-Identifier: GPL-2.0-only 28c2ecf20Sopenharmony_ci# 38c2ecf20Sopenharmony_ci# STMicroelectonics LIS3LV02D and similar accelerometers 48c2ecf20Sopenharmony_ci# 58c2ecf20Sopenharmony_ci 68c2ecf20Sopenharmony_ciconfig SENSORS_LIS3_SPI 78c2ecf20Sopenharmony_ci tristate "STMicroeletronics LIS3LV02Dx three-axis digital accelerometer (SPI)" 88c2ecf20Sopenharmony_ci depends on !ACPI && SPI_MASTER && INPUT 98c2ecf20Sopenharmony_ci select SENSORS_LIS3LV02D 108c2ecf20Sopenharmony_ci help 118c2ecf20Sopenharmony_ci This driver provides support for the LIS3LV02Dx accelerometer connected 128c2ecf20Sopenharmony_ci via SPI. The accelerometer data is readable via 138c2ecf20Sopenharmony_ci /sys/devices/platform/lis3lv02d. 148c2ecf20Sopenharmony_ci 158c2ecf20Sopenharmony_ci This driver also provides an absolute input class device, allowing 168c2ecf20Sopenharmony_ci the laptop to act as a pinball machine-esque joystick. 178c2ecf20Sopenharmony_ci 188c2ecf20Sopenharmony_ci This driver can also be built as modules. If so, the core module 198c2ecf20Sopenharmony_ci will be called lis3lv02d and a specific module for the SPI transport 208c2ecf20Sopenharmony_ci is called lis3lv02d_spi. 218c2ecf20Sopenharmony_ci 228c2ecf20Sopenharmony_ciconfig SENSORS_LIS3_I2C 238c2ecf20Sopenharmony_ci tristate "STMicroeletronics LIS3LV02Dx three-axis digital accelerometer (I2C)" 248c2ecf20Sopenharmony_ci depends on I2C && INPUT 258c2ecf20Sopenharmony_ci select SENSORS_LIS3LV02D 268c2ecf20Sopenharmony_ci help 278c2ecf20Sopenharmony_ci This driver provides support for the LIS3LV02Dx accelerometer connected 288c2ecf20Sopenharmony_ci via I2C. The accelerometer data is readable via 298c2ecf20Sopenharmony_ci /sys/devices/platform/lis3lv02d. 308c2ecf20Sopenharmony_ci 318c2ecf20Sopenharmony_ci This driver also provides an absolute input class device, allowing 328c2ecf20Sopenharmony_ci the device to act as a pinball machine-esque joystick. 338c2ecf20Sopenharmony_ci 348c2ecf20Sopenharmony_ci This driver can also be built as modules. If so, the core module 358c2ecf20Sopenharmony_ci will be called lis3lv02d and a specific module for the I2C transport 368c2ecf20Sopenharmony_ci is called lis3lv02d_i2c. 37