Could we get a better response on how to use IMX8MM GPT under Linux? Seems like we are all stuck on the same step. Driver looks present and like it should work, is there a guide somewhere for how to locate the userspace interface to the driver code?
Kernel patch seems to be discussed here:
Please refer to the case I opened with regard to GPT on kernel 5.4.47.
I'm able to get the driver compiled and invoked, but getting the clocks fails in the init function.
Can you please provide support for kernel 5.4.47?
The driver is on yocto drivers/clocksource/timer-imx-gpt.c
The timer module utilizes four hardware timers, to implement clock source and clock event objects.
This is done with the clocksource_mxc structure of struct clocksource type and clockevent_mxc structure of struct clockevent_device type. Both structures provide routines required for reading current timer values and scheduling the next timer event.
The driver works well if you want to change it you can do it.