c54417a8db
Move st sensor from /drivers/iio/stm/ folder to /drivers/iio/imu folder. From the branch merge change, the sensor drivers are merged in /drivers/iio/stm folder. As the st_asm330lhhx is an imu sensor, we maintain all the sensors in /drivers/iio/imu/ folder. Change-Id: Ic24171d6146dfc0844391437238d5da9b109c387 Signed-off-by: Raghava Chowdam <quic_rchowdam@quicinc.com>
46 lines
1.3 KiB
Plaintext
46 lines
1.3 KiB
Plaintext
# 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.
|