58 lines · plain
1# SPDX-License-Identifier: GPL-2.0-only2 3config IIO_ST_LSM6DSX4 tristate "ST_LSM6DSx driver for STM 6-axis IMU MEMS sensors"5 depends on (I2C || SPI || I3C)6 select IIO_BUFFER7 select IIO_TRIGGERED_BUFFER8 select IIO_KFIFO_BUF9 select IIO_ST_LSM6DSX_I2C if (I2C)10 select IIO_ST_LSM6DSX_SPI if (SPI_MASTER)11 select IIO_ST_LSM6DSX_I3C if (I3C)12 help13 Say yes here to build support for STMicroelectronics LSM6DSx imu14 sensor.15 Supported devices:16 - asm330lhb17 - asm330lhh18 - asm330lhhx19 - asm330lhhxg120 - ism330dhcx21 - ism330dlc22 - ism330is23 - lsm6ds024 - lsm6ds325 - lsm6ds3h26 - lsm6ds3tr-c27 - lsm6dsl28 - lsm6dsm29 - lsm6dso30 - lsm6dso16is31 - lsm6dsop32 - lsm6dsox33 - lsm6dsr34 - lsm6dsrx35 - lsm6dst36 - lsm6dstx37 - lsm6dsv38 - lsm6dsv16x39 - lsm9ds140 41 To compile this driver as a module, choose M here: the module42 will be called st_lsm6dsx.43 44config IIO_ST_LSM6DSX_I2C45 tristate46 depends on IIO_ST_LSM6DSX47 select REGMAP_I2C48 49config IIO_ST_LSM6DSX_SPI50 tristate51 depends on IIO_ST_LSM6DSX52 select REGMAP_SPI53 54config IIO_ST_LSM6DSX_I3C55 tristate56 depends on IIO_ST_LSM6DSX57 select REGMAP_I3C58