brintos

brintos / linux-shallow public Read only

0
0
Text · 1.3 KiB · bb2fec4 Raw
37 lines · plain
1# SPDX-License-Identifier: GPL-2.0-only2#3# STMicroelectonics LIS3LV02D and similar accelerometers4#5 6config SENSORS_LIS3_SPI7	tristate "STMicroeletronics LIS3LV02Dx three-axis digital accelerometer (SPI)"8	depends on !ACPI && SPI_MASTER && INPUT9	select SENSORS_LIS3LV02D10	help11	  This driver provides support for the LIS3LV02Dx accelerometer connected12	  via SPI. The accelerometer data is readable via13	  /sys/devices/platform/lis3lv02d.14 15	  This driver also provides an absolute input class device, allowing16	  the laptop to act as a pinball machine-esque joystick.17 18	  This driver can also be built as modules.  If so, the core module19	  will be called lis3lv02d and a specific module for the SPI transport20	  is called lis3lv02d_spi.21 22config SENSORS_LIS3_I2C23	tristate "STMicroeletronics LIS3LV02Dx three-axis digital accelerometer (I2C)"24	depends on I2C && INPUT25	select SENSORS_LIS3LV02D26	help27	  This driver provides support for the LIS3LV02Dx accelerometer connected28	  via I2C. The accelerometer data is readable via29	  /sys/devices/platform/lis3lv02d.30 31	  This driver also provides an absolute input class device, allowing32	  the device to act as a pinball machine-esque joystick.33 34	  This driver can also be built as modules.  If so, the core module35	  will be called lis3lv02d and a specific module for the I2C transport36	  is called lis3lv02d_i2c.37