This series adds support for the rotation sensor functionality present in
some chips from the ST LSM6DSX IMU family.
The first commit is a fix to a previous commit of mine [1] which made it to
6.19-rcX; the fix technically changes userspace, but this should be OK as
long as it goes in during this release cycle.
Tested on LSM6DSV16X.
[1] https://lore.kernel.org/linux-iio/20251017164255.1251060-3-flavra@baylibre.com/
Francesco Lavra (3):
iio: imu: st_lsm6dsx: set buffer sampling frequency for accelerometer
only
iio: imu: st_lsm6dsx: set FIFO ODR for accelerometer and magnetometer
only
iio: imu: st_lsm6dsx: add support for rotation sensor
drivers/iio/imu/st_lsm6dsx/Makefile | 2 +-
drivers/iio/imu/st_lsm6dsx/st_lsm6dsx.h | 26 +-
.../iio/imu/st_lsm6dsx/st_lsm6dsx_buffer.c | 28 ++-
drivers/iio/imu/st_lsm6dsx/st_lsm6dsx_core.c | 58 +++++
.../iio/imu/st_lsm6dsx/st_lsm6dsx_fusion.c | 224 ++++++++++++++++++
5 files changed, 331 insertions(+), 7 deletions(-)
create mode 100644 drivers/iio/imu/st_lsm6dsx/st_lsm6dsx_fusion.c
--
2.39.5