OpenCloudOS-Kernel/drivers/iio/imu/inv_icm42600
Jean-Baptiste Maneyrol ec74ae9fd3 iio: imu: inv_icm42600: add accurate timestamping
Add a timestamping mechanism for buffer that provides accurate
event timestamps when using watermark. This mechanism estimates
device internal clock by comparing FIFO interrupts delta time and
device elapsed time computed by parsing FIFO data.

Take interrupt timestamp in hard irq handler and add IIO device
specific timestamp structures in device private allocation.

Signed-off-by: Jean-Baptiste Maneyrol <jmaneyrol@invensense.com>
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
2020-06-27 14:24:42 +01:00
..
Kconfig iio: imu: inv_icm42600: add buffer support in iio devices 2020-06-27 14:23:18 +01:00
Makefile iio: imu: inv_icm42600: add accurate timestamping 2020-06-27 14:24:42 +01:00
inv_icm42600.h iio: imu: inv_icm42600: add accurate timestamping 2020-06-27 14:24:42 +01:00
inv_icm42600_accel.c iio: imu: inv_icm42600: add accurate timestamping 2020-06-27 14:24:42 +01:00
inv_icm42600_buffer.c iio: imu: inv_icm42600: add accurate timestamping 2020-06-27 14:24:42 +01:00
inv_icm42600_buffer.h iio: imu: inv_icm42600: add buffer support in iio devices 2020-06-27 14:23:18 +01:00
inv_icm42600_core.c iio: imu: inv_icm42600: add accurate timestamping 2020-06-27 14:24:42 +01:00
inv_icm42600_gyro.c iio: imu: inv_icm42600: add accurate timestamping 2020-06-27 14:24:42 +01:00
inv_icm42600_i2c.c iio: imu: inv_icm42600: add device interrupt 2020-06-27 14:21:45 +01:00
inv_icm42600_spi.c iio: imu: inv_icm42600: add device interrupt 2020-06-27 14:21:45 +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_timestamp.c iio: imu: inv_icm42600: add accurate timestamping 2020-06-27 14:24:42 +01:00
inv_icm42600_timestamp.h iio: imu: inv_icm42600: add accurate timestamping 2020-06-27 14:24:42 +01:00