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)
8 select IIO_ST_LSM6DSX_I2C if (I2C)
9 select IIO_ST_LSM6DSX_SPI if (SPI_MASTER)
11 Say yes here to build support for STMicroelectronics LSM6DSx imu
12 sensor. Supported devices: lsm6ds3, lsm6ds3h, lsm6dsl, lsm6dsm,
13 ism330dlc, lsm6dso, lsm6dsox, asm330lhh, lsm6dsr
15 To compile this driver as a module, choose M here: the module
16 will be called st_lsm6dsx.
18 config IIO_ST_LSM6DSX_I2C
20 depends on IIO_ST_LSM6DSX
23 config IIO_ST_LSM6DSX_SPI
25 depends on IIO_ST_LSM6DSX