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