1# SPDX-License-Identifier: GPL-2.0-only 2 3config IIO_ST_LSM6DSX 4 tristate "ST_LSM6DSx driver for STM 6-axis IMU MEMS sensors" 5 depends on (I2C || SPI || I3C) 6 select IIO_BUFFER 7 select IIO_KFIFO_BUF 8 select IIO_ST_LSM6DSX_I2C if (I2C) 9 select IIO_ST_LSM6DSX_SPI if (SPI_MASTER) 10 select IIO_ST_LSM6DSX_I3C if (I3C) 11 help 12 Say yes here to build support for STMicroelectronics LSM6DSx imu 13 sensor. Supported devices: lsm6ds3, lsm6ds3h, lsm6dsl, lsm6dsm, 14 ism330dlc, lsm6dso, lsm6dsox, asm330lhh, lsm6dsr, lsm6ds3tr-c, 15 ism330dhcx and the accelerometer/gyroscope of lsm9ds1. 16 17 To compile this driver as a module, choose M here: the module 18 will be called st_lsm6dsx. 19 20config IIO_ST_LSM6DSX_I2C 21 tristate 22 depends on IIO_ST_LSM6DSX 23 select REGMAP_I2C 24 25config IIO_ST_LSM6DSX_SPI 26 tristate 27 depends on IIO_ST_LSM6DSX 28 select REGMAP_SPI 29 30config IIO_ST_LSM6DSX_I3C 31 tristate 32 depends on IIO_ST_LSM6DSX 33 select REGMAP_I3C 34