I would like to use the capture capability of the i.MX8X GPT interfaces. Reading through the i.MX Linux Reference Manual it doesn't appear there is support for a frequency/capture input capability.
https://www.nxp.com/docs/en/reference-manual/IMX_REFERENCE_MANUAL.pdf
I also looked through the driver code and found timer-imx-gpt.c. This appears to match the register interface for the GPT timers (at least the V2 section). But I don't see anything in there with respect to using the capture registers.
I then came across this:
It appears to add capture support to the GPT driver. Has anyone else implemented GPT capture inputs?
Hi Nicholas
for GPT capture example one can look at ../driver_examples/gpt/capture/gpt_capture.c
M4 SDK_MEK-MIMX8QX available on https://mcuxpresso.nxp.com/en/welcome
Best regards
igor