linux/drivers/iio/imu/inv_icm42600
Jean-Baptiste Maneyrol bf8367b00c iio: invensense: fix timestamp glitches when switching frequency
When a sensor is running and there is a FIFO frequency change due to
another sensor turned on/off, there are glitches on timestamp. Fix that
by using only interrupt timestamp when there is the corresponding sensor
data in the FIFO.

Delete FIFO period handling and simplify internal functions.

Update integration inside inv_mpu6050 and inv_icm42600 drivers.

Fixes: 0ecc363cce ("iio: make invensense timestamp module generic")
Cc: Stable@vger.kernel.org
Signed-off-by: Jean-Baptiste Maneyrol <jean-baptiste.maneyrol@tdk.com>
Link: https://lore.kernel.org/r/20240426094835.138389-1-inv.git-commit@tdk.com
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
2024-05-03 11:48:56 +01:00
..
inv_icm42600_accel.c iio: imu: inv_icm42600: add support of ICM-42686-P 2024-04-29 20:53:25 +01:00
inv_icm42600_buffer.c iio: invensense: fix timestamp glitches when switching frequency 2024-05-03 11:48:56 +01:00
inv_icm42600_buffer.h iio: imu: inv_icm42600: Fix alignment for DMA safety in buffer code. 2022-06-14 11:53:18 +01:00
inv_icm42600_core.c iio: imu: inv_icm42600: add support of ICM-42686-P 2024-04-29 20:53:25 +01:00
inv_icm42600_gyro.c iio: imu: inv_icm42600: add support of ICM-42686-P 2024-04-29 20:53:25 +01:00
inv_icm42600_i2c.c iio: imu: inv_icm42600: add support of ICM-42686-P 2024-04-29 20:53:25 +01:00
inv_icm42600_spi.c iio: imu: inv_icm42600: add support of ICM-42686-P 2024-04-29 20:53:25 +01:00
inv_icm42600_temp.c iio: imu: inv_icm42600: add temperature sensor support 2020-06-27 14:20:16 +01:00
inv_icm42600_temp.h iio: imu: inv_icm42600: add temperature sensor support 2020-06-27 14:20:16 +01:00
inv_icm42600.h iio: imu: inv_icm42600: add support of ICM-42686-P 2024-04-29 20:53:25 +01:00
Kconfig iio: move inv_icm42600 timestamp module in common 2023-07-20 19:21:28 +01:00
Makefile iio: move inv_icm42600 timestamp module in common 2023-07-20 19:21:28 +01:00