[PATCH v2 0/4] inv_icm42600 driver enhancements
From: Jean-Baptiste Maneyrol via B4 Relay
Date: Mon Aug 24 2026 - 08:38:31 EST
This series add enhancements patches to inv_icm42600 driver.
It includes:
1. Move of MEMS stabilization sleep before FIFO configuration to avoid
pushing incorrect data.
2. Use a fixed FIFO frame of 16 bits to avoid a bug of dynamic FIFO
configuration changed triggered by the sleep move.
3. Simplify watermark computation using gcd.
4. Enhance support of high frequency streaming by avoiding read of FIFO
count for watermark interrupt.
Signed-off-by: Jean-Baptiste Maneyrol <jean-baptiste.maneyrol@xxxxxxx>
---
Changes in v2:
- Add commentaries for easing understanding of changes.
- Reword commit messages with better explanations.
- Link to v1: https://patch.msgid.link/20260820-inv-icm42600-enhacements-v1-0-075a881db557@xxxxxxx
To: Jean-Baptiste Maneyrol <jean-baptiste.maneyrol@xxxxxxx>
To: Jonathan Cameron <jic23@xxxxxxxxxx>
To: David Lechner <dlechner@xxxxxxxxxxxx>
To: Nuno Sá <nuno.sa@xxxxxxxxxx>
To: Andy Shevchenko <andy@xxxxxxxxxx>
Cc: linux-iio@xxxxxxxxxxxxxxx
Cc: linux-kernel@xxxxxxxxxxxxxxx
---
Jean-Baptiste Maneyrol (4):
iio: imu: inv_icm42600: sleep before enabling FIFO data
iio: imu: inv_icm42600: use 2 sensors fixed packet size of 16 bytes
iio: imu: inv_icm42600: simplify watermark computation by using GCD
iio: imu: inv_icm42600: do not read FIFO count for watermark it
drivers/iio/imu/inv_icm42600/inv_icm42600.h | 4 +-
drivers/iio/imu/inv_icm42600/inv_icm42600_accel.c | 16 ++-
drivers/iio/imu/inv_icm42600/inv_icm42600_buffer.c | 112 +++++++++------------
drivers/iio/imu/inv_icm42600/inv_icm42600_gyro.c | 16 ++-
4 files changed, 73 insertions(+), 75 deletions(-)
---
base-commit: 53c022f51fbe540fffee2121ce9ed3e15266c9a4
change-id: 20260709-inv-icm42600-enhacements-1e0e18e6f868
Best regards,
--
Jean-Baptiste Maneyrol <jean-baptiste.maneyrol@xxxxxxx>