1 # SPDX-License-Identifier: GPL-2.0-only
4 tristate "ST_LSM6DSx driver for STM 6-axis IMU MEMS sensors"
5 depends on (I2C || SPI || I3C)
7 select IIO_TRIGGERED_BUFFER
9 select IIO_ST_LSM6DSX_I2C if (I2C)
10 select IIO_ST_LSM6DSX_SPI if (SPI_MASTER)
11 select IIO_ST_LSM6DSX_I3C if (I3C)
13 Say yes here to build support for STMicroelectronics LSM6DSx imu
41 To compile this driver as a module, choose M here: the module
42 will be called st_lsm6dsx.
44 config IIO_ST_LSM6DSX_I2C
46 depends on IIO_ST_LSM6DSX
49 config IIO_ST_LSM6DSX_SPI
51 depends on IIO_ST_LSM6DSX
54 config IIO_ST_LSM6DSX_I3C
56 depends on IIO_ST_LSM6DSX