Dear experts,
We are designing a system using a GPIO interrupt to A72 Linux, and a camera connected to R5F. And now we want to get the timestamps of GPIO interrupt and image capture.
There is a gettimeofday API in linux, but it is not synced with R5F.
There is a Timestamp_get64 in R5F RTOS, but it is not syned with A72 Linux.
And I saw there is a Global Time Counter(GTC) in the SoC.
Is it possible to use it? And is there any driver to do that?
From PDK, I can find some code to set & read register. But how to do it in A72 Linux?
Thanks & Best Regards!
ZM