As discussed in [1] here is a patch to get the timestamp in the trigger handler from the driver's private data [1] https://lore.kernel.org/linux-iio/Y+%2FLpcc0Wa2VGsGO@carbian/T/#mec923c14d1324ffabfa88dde225eeb227005b48f Mehdi Djait (1): iio: accel: kionix-kx022a: Get the timestamp from the driver's private data in the trigger_handler drivers/iio/accel/kionix-kx022a.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- 2.30.2