Squashed backup commit (no shallow-clone history issues) of xiaomi-mt6833-dev/kernel_xiaomi_mt6833 (lineage-23.2 branch, upstream commit 9eece662e) plus all fixes applied to get everpal_defconfig building clean against a modern (GCC 15.2.0) toolchain -- see the previous commit message on the lineage-23.2 branch (also in this repo history is not available here since this is a squashed snapshot; full incremental history lives in the local DL380 checkout and the upstream GitHub remote). Upstream: https://github.com/xiaomi-mt6833-dev/kernel_xiaomi_mt6833 (lineage-23.2)
38 lines
1.3 KiB
Plaintext
38 lines
1.3 KiB
Plaintext
#
|
|
# STMicroelectonics LIS3LV02D and similar accelerometers
|
|
#
|
|
|
|
config SENSORS_LIS3_SPI
|
|
tristate "STMicroeletronics LIS3LV02Dx three-axis digital accelerometer (SPI)"
|
|
depends on !ACPI && SPI_MASTER && INPUT
|
|
select SENSORS_LIS3LV02D
|
|
default n
|
|
help
|
|
This driver provides support for the LIS3LV02Dx accelerometer connected
|
|
via SPI. The accelerometer data is readable via
|
|
/sys/devices/platform/lis3lv02d.
|
|
|
|
This driver also provides an absolute input class device, allowing
|
|
the laptop to act as a pinball machine-esque joystick.
|
|
|
|
This driver can also be built as modules. If so, the core module
|
|
will be called lis3lv02d and a specific module for the SPI transport
|
|
is called lis3lv02d_spi.
|
|
|
|
config SENSORS_LIS3_I2C
|
|
tristate "STMicroeletronics LIS3LV02Dx three-axis digital accelerometer (I2C)"
|
|
depends on I2C && INPUT
|
|
select SENSORS_LIS3LV02D
|
|
default n
|
|
help
|
|
This driver provides support for the LIS3LV02Dx accelerometer connected
|
|
via I2C. The accelerometer data is readable via
|
|
/sys/devices/platform/lis3lv02d.
|
|
|
|
This driver also provides an absolute input class device, allowing
|
|
the device to act as a pinball machine-esque joystick.
|
|
|
|
This driver can also be built as modules. If so, the core module
|
|
will be called lis3lv02d and a specific module for the I2C transport
|
|
is called lis3lv02d_i2c.
|