mario tesi 1c5de86012 Updated ASM330LHH driver for HAL 1.0/2.0
Updated driver to support decimal ODRs (CTS/VTS requirement)
and new timestamp management with alignemt of samples timestamp
to AP timestamp.

Signed-off-by: mario tesi <mario.tesi@st.com>
(cherry picked from commit 886f36d914579a01a7ace82fe2ee304593e7d71f)
Git-commit: 886f36d914579a01a7ace82fe2ee304593e7d71f
Git-Repo: https://github.com/STMicroelectronics/
STMems_ASM330LHH_IIO_HAL_Driver.git.

Change-Id: I5224aef722449ee1030b40d7e4b43089cf585ba2
Signed-off-by: Puneet Yatnal <puneet@codeaurora.org>
2020-06-04 06:23:02 -07:00

42 lines
1.1 KiB
Plaintext

config IIO_ST_ASM330LHH
tristate "STMicroelectronics ASM330LHH sensor"
depends on (I2C || SPI)
select IIO_BUFFER
select IIO_KFIFO_BUF
select IIO_ST_ASM330LHH_I2C if (I2C)
select IIO_ST_ASM330LHH_SPI if (SPI_MASTER)
help
Say yes here to build support for STMicroelectronics ASM330LHH imu
sensor.
To compile this driver as a module, choose M here: the module
will be called st_asm330lhh.
config IIO_ST_ASM330LHH_I2C
tristate
depends on IIO_ST_ASM330LHH
config IIO_ST_ASM330LHH_SPI
tristate
depends on IIO_ST_ASM330LHH
config IIO_ST_ASM330LHH_MAY_WAKEUP
bool "Enable wake-up irq"
depends on IIO_ST_ASM330LHH
help
Enable wake-up irq on interrupt line
config IIO_ST_ASM330LHH_EN_TEMPERATURE_FIFO
bool "Enable internal temperature sensor in FIFO"
depends on IIO_ST_ASM330LHH
help
Enable internal temperature sensor channel in FIFO
config ENABLE_ASM_ACC_GYRO_BUFFERING
bool "Enable accel & gyro boot time sensor sample buffering"
depends on IIO_ST_ASM330LHH
help
Say Y here if you want to buffer boot time sensor
samples for ASM330 accelerometer and gyroscope