0001 # SPDX-License-Identifier: GPL-2.0-only
0002 #
0003 # STMicroelectonics LIS3LV02D and similar accelerometers
0004 #
0005
0006 config SENSORS_LIS3_SPI
0007 tristate "STMicroeletronics LIS3LV02Dx three-axis digital accelerometer (SPI)"
0008 depends on !ACPI && SPI_MASTER && INPUT
0009 select SENSORS_LIS3LV02D
0010 help
0011 This driver provides support for the LIS3LV02Dx accelerometer connected
0012 via SPI. The accelerometer data is readable via
0013 /sys/devices/platform/lis3lv02d.
0014
0015 This driver also provides an absolute input class device, allowing
0016 the laptop to act as a pinball machine-esque joystick.
0017
0018 This driver can also be built as modules. If so, the core module
0019 will be called lis3lv02d and a specific module for the SPI transport
0020 is called lis3lv02d_spi.
0021
0022 config SENSORS_LIS3_I2C
0023 tristate "STMicroeletronics LIS3LV02Dx three-axis digital accelerometer (I2C)"
0024 depends on I2C && INPUT
0025 select SENSORS_LIS3LV02D
0026 help
0027 This driver provides support for the LIS3LV02Dx accelerometer connected
0028 via I2C. The accelerometer data is readable via
0029 /sys/devices/platform/lis3lv02d.
0030
0031 This driver also provides an absolute input class device, allowing
0032 the device to act as a pinball machine-esque joystick.
0033
0034 This driver can also be built as modules. If so, the core module
0035 will be called lis3lv02d and a specific module for the I2C transport
0036 is called lis3lv02d_i2c.