From: Jean-Baptiste Maneyrol <jean-baptiste.maneyrol@xxxxxxx> ICM-42686-P is a special chip supporting high Full Scale Range (FSR) values. Up to +/-32G for accel and +/-4000dps for gyro. For supporting this chip, we are using dynamic scales tables set at init. Introduce a new sensor state structure for olding pointer to the dynamic table plus the already used timestamp structure. Jean-Baptiste Maneyrol (2): dt-bindings: iio: imu: add icm42686 inside inv_icm42600 iio: imu: inv_icm42600: add support of ICM-42686-P .../bindings/iio/imu/invensense,icm42600.yaml | 1 + drivers/iio/imu/inv_icm42600/inv_icm42600.h | 35 ++++++++ .../iio/imu/inv_icm42600/inv_icm42600_accel.c | 75 ++++++++++++----- .../imu/inv_icm42600/inv_icm42600_buffer.c | 15 ++-- .../iio/imu/inv_icm42600/inv_icm42600_core.c | 20 +++++ .../iio/imu/inv_icm42600/inv_icm42600_gyro.c | 84 ++++++++++++++----- .../iio/imu/inv_icm42600/inv_icm42600_i2c.c | 3 + .../iio/imu/inv_icm42600/inv_icm42600_spi.c | 3 + 8 files changed, 193 insertions(+), 43 deletions(-) -- 2.34.1