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