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