Kconfig 986 B

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