[PATCH v2 0/4] inv_icm42600 driver enhancements
Jean-Baptiste Maneyrol <[email protected]>
| Newsgroups | org.kernel.feeds.b4-sent,org.kernel.vger.linux-iio,org.kernel.vger.linux-kernel |
|---|---|
| Message-ID | <[email protected]> |
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 <[email protected]> --- Changes in v2: - Add commentaries for easing understanding of changes. - Reword commit messages with better explanations. - Link to v1: https://patch.msgid.link/[email protected] To: Jean-Baptiste Maneyrol <[email protected]> To: Jonathan Cameron <[email protected]> To: David Lechner <[email protected]> To: Nuno Sá <[email protected]> To: Andy Shevchenko <[email protected]> Cc: [email protected] Cc: [email protected] --- 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 <[email protected]>