Link: https://lore.kernel.org/r/20260217200002.683975158@linuxfoundation.org Tested-by: Florian Fainelli <florian.fainelli@broadcom.com> Tested-by: Takeshi Ogasawara <takeshi.ogasawara@futuring-girl.com> Tested-by: Peter Schneider <pschneider1968@googlemail.com> Tested-by: Jon Hunter <jonathanh@nvidia.com> Tested-by: Salvatore Bonaccorso <carnil@debian.org> Tested-by: Brett A C Sheffield <bacs@librecast.net> Tested-by: Mark Brown <broonie@kernel.org> Tested-by: Luna Jernberg <droidbittin@gmail.com> Tested-by: Ronald Warsow <rwarsow@gmx.de> Tested-by: Justin M. Forbes <jforbes@fedoraproject.org> Tested-by: Ron Economos <re@w6rz.net> Tested-by: Miguel Ojeda <ojeda@kernel.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
37 lines
1.3 KiB
Plaintext
37 lines
1.3 KiB
Plaintext
# SPDX-License-Identifier: GPL-2.0-only
|
|
#
|
|
# STMicroelectonics LIS3LV02D and similar accelerometers
|
|
#
|
|
|
|
config SENSORS_LIS3_SPI
|
|
tristate "STMicroelectronics LIS3LV02Dx three-axis digital accelerometer (SPI)"
|
|
depends on !ACPI && SPI_MASTER && INPUT
|
|
select SENSORS_LIS3LV02D
|
|
help
|
|
This driver provides support for the LIS3LV02Dx accelerometer connected
|
|
via SPI. The accelerometer data is readable via
|
|
/sys/devices/faux/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 "STMicroelectronics LIS3LV02Dx three-axis digital accelerometer (I2C)"
|
|
depends on I2C && INPUT
|
|
select SENSORS_LIS3LV02D
|
|
help
|
|
This driver provides support for the LIS3LV02Dx accelerometer connected
|
|
via I2C. The accelerometer data is readable via
|
|
/sys/devices/faux/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.
|