2019-05-19 20:07:45 +08:00
|
|
|
# SPDX-License-Identifier: GPL-2.0-only
|
2017-01-11 05:55:18 +08:00
|
|
|
|
|
|
|
config IIO_ST_LSM6DSX
|
|
|
|
tristate "ST_LSM6DSx driver for STM 6-axis IMU MEMS sensors"
|
2019-07-19 21:30:55 +08:00
|
|
|
depends on (I2C || SPI || I3C)
|
2017-01-11 05:55:18 +08:00
|
|
|
select IIO_BUFFER
|
|
|
|
select IIO_KFIFO_BUF
|
|
|
|
select IIO_ST_LSM6DSX_I2C if (I2C)
|
|
|
|
select IIO_ST_LSM6DSX_SPI if (SPI_MASTER)
|
2019-07-19 21:30:55 +08:00
|
|
|
select IIO_ST_LSM6DSX_I3C if (I3C)
|
2017-01-11 05:55:18 +08:00
|
|
|
help
|
|
|
|
Say yes here to build support for STMicroelectronics LSM6DSx imu
|
2018-03-31 04:33:50 +08:00
|
|
|
sensor. Supported devices: lsm6ds3, lsm6ds3h, lsm6dsl, lsm6dsm,
|
2019-08-05 18:18:43 +08:00
|
|
|
ism330dlc, lsm6dso, lsm6dsox, asm330lhh, lsm6dsr, lsm6ds3tr-c,
|
2019-10-24 23:42:33 +08:00
|
|
|
ism330dhcx, lsm6dsrx, lsm6ds0 and the accelerometer/gyroscope
|
|
|
|
of lsm9ds1.
|
2017-01-11 05:55:18 +08:00
|
|
|
|
|
|
|
To compile this driver as a module, choose M here: the module
|
|
|
|
will be called st_lsm6dsx.
|
|
|
|
|
|
|
|
config IIO_ST_LSM6DSX_I2C
|
|
|
|
tristate
|
|
|
|
depends on IIO_ST_LSM6DSX
|
2018-01-02 02:54:44 +08:00
|
|
|
select REGMAP_I2C
|
2017-01-11 05:55:18 +08:00
|
|
|
|
|
|
|
config IIO_ST_LSM6DSX_SPI
|
|
|
|
tristate
|
|
|
|
depends on IIO_ST_LSM6DSX
|
2018-01-02 02:54:44 +08:00
|
|
|
select REGMAP_SPI
|
2019-07-19 21:30:55 +08:00
|
|
|
|
|
|
|
config IIO_ST_LSM6DSX_I3C
|
|
|
|
tristate
|
|
|
|
depends on IIO_ST_LSM6DSX
|
|
|
|
select REGMAP_I3C
|