Kconfig 1.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  1. # SPDX-License-Identifier: GPL-2.0-only
  2. config IIO_ST_ASM330LHHX
  3. tristate "STMicroelectronics ASM330LHHX sensor"
  4. depends on (I2C || SPI)
  5. select IIO_BUFFER
  6. select IIO_KFIFO_BUF
  7. select IIO_TRIGGERED_BUFFER
  8. select IIO_ST_ASM330LHHX_I2C if (I2C)
  9. select IIO_ST_ASM330LHHX_SPI if (SPI_MASTER)
  10. help
  11. Say yes here to build support for STMicroelectronics ASM330LHH,
  12. ASM330LHHX, ASM330LHHXG1 imu sensors.
  13. To compile this driver as a module, choose M here: the module
  14. will be called st_asm330lhhx.
  15. config IIO_ST_ASM330LHHX_I2C
  16. tristate
  17. select REGMAP_I2C
  18. depends on IIO_ST_ASM330LHHX
  19. config IIO_ST_ASM330LHHX_SPI
  20. tristate
  21. select REGMAP_SPI
  22. depends on IIO_ST_ASM330LHHX
  23. config IIO_ST_ASM330LHHX_EN_BASIC_FEATURES
  24. bool "Enable internal basic features event detection"
  25. depends on IIO_ST_ASM330LHHX
  26. help
  27. Enable internal basic features event detection sensor
  28. config IIO_ST_ASM330LHHX_ASYNC_HW_TIMESTAMP
  29. bool "Enable async hw timestamp read"
  30. depends on IIO_ST_ASM330LHHX
  31. help
  32. Enable async task that sends over hw timestamp events.
  33. config IIO_ST_ASM330LHHX_MLC_PRELOAD
  34. bool "Preload some examples on MLC/FSM core"
  35. depends on IIO_ST_ASM330LHHX
  36. help
  37. Preload some examples on machine learning core and finite state
  38. machine. The examples code are hardcoded in to the driver.