Re: [PATCH v2 10/12] iio: imu: inv_icm42600: add accurate timestamping

2020-05-31 Thread Jonathan Cameron
On Wed, 27 May 2020 20:57:09 +0200 Jean-Baptiste Maneyrol wrote: > 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

[PATCH v2 10/12] iio: imu: inv_icm42600: add accurate timestamping

2020-05-27 Thread Jean-Baptiste Maneyrol
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