# SPDX-License-Identifier: GPL-2.0-only config IIO_ST_ASM330LHHX tristate "STMicroelectronics ASM330LHHX sensor" depends on (I2C || SPI) select IIO_BUFFER select IIO_KFIFO_BUF select IIO_TRIGGERED_BUFFER select IIO_ST_ASM330LHHX_I2C if (I2C) select IIO_ST_ASM330LHHX_SPI if (SPI_MASTER) help Say yes here to build support for STMicroelectronics ASM330LHH, ASM330LHHX, ASM330LHHXG1 imu sensors. To compile this driver as a module, choose M here: the module will be called st_asm330lhhx. config IIO_ST_ASM330LHHX_I2C tristate select REGMAP_I2C depends on IIO_ST_ASM330LHHX config IIO_ST_ASM330LHHX_SPI tristate select REGMAP_SPI depends on IIO_ST_ASM330LHHX config IIO_ST_ASM330LHHX_EN_BASIC_FEATURES bool "Enable internal basic features event detection" depends on IIO_ST_ASM330LHHX help Enable internal basic features event detection sensor config IIO_ST_ASM330LHHX_ASYNC_HW_TIMESTAMP bool "Enable async hw timestamp read" depends on IIO_ST_ASM330LHHX help Enable async task that sends over hw timestamp events. config IIO_ST_ASM330LHHX_MLC_PRELOAD bool "Preload some examples on MLC/FSM core" depends on IIO_ST_ASM330LHHX help Preload some examples on machine learning core and finite state machine. The examples code are hardcoded in to the driver.