[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20260109181528.154127-1-flavra@baylibre.com>
Date: Fri, 9 Jan 2026 19:15:25 +0100
From: Francesco Lavra <flavra@...libre.com>
To: Lorenzo Bianconi <lorenzo@...nel.org>,
Jonathan Cameron <jic23@...nel.org>,
David Lechner <dlechner@...libre.com>,
Nuno Sá <nuno.sa@...log.com>,
Andy Shevchenko <andy@...nel.org>,
linux-iio@...r.kernel.org,
linux-kernel@...r.kernel.org
Subject: [PATCH 0/3] imu: st_lsm6dsx: Add support for rotation sensor
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
Powered by blists - more mailing lists