xref: /openbmc/linux/drivers/misc/lis3lv02d/Kconfig (revision ff606677)
1ff606677SJean Delvare#
2ff606677SJean Delvare# STMicroelectonics LIS3LV02D and similar accelerometers
3ff606677SJean Delvare#
4ff606677SJean Delvare
5ff606677SJean Delvareconfig SENSORS_LIS3_SPI
6ff606677SJean Delvare	tristate "STMicroeletronics LIS3LV02Dx three-axis digital accelerometer (SPI)"
7ff606677SJean Delvare	depends on !ACPI && SPI_MASTER && INPUT
8ff606677SJean Delvare	select SENSORS_LIS3LV02D
9ff606677SJean Delvare	default n
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	default n
27ff606677SJean Delvare	help
28ff606677SJean Delvare	  This driver provides support for the LIS3LV02Dx accelerometer connected
29ff606677SJean Delvare	  via I2C. The accelerometer data is readable via
30ff606677SJean Delvare	  /sys/devices/platform/lis3lv02d.
31ff606677SJean Delvare
32ff606677SJean Delvare	  This driver also provides an absolute input class device, allowing
33ff606677SJean Delvare	  the device to act as a pinball machine-esque joystick.
34ff606677SJean Delvare
35ff606677SJean Delvare	  This driver can also be built as modules.  If so, the core module
36ff606677SJean Delvare	  will be called lis3lv02d and a specific module for the I2C transport
37ff606677SJean Delvare	  is called lis3lv02d_i2c.
38