hi
my using board is imx8mm evk, need to use GPT to create interrupt every 1ms to do my IRS,
I have some questions.
1, it has 6 GPT, whether it is all the same, customer can use any one
2.kernel 4.9.124, it can not support imx8 GPT in the file of timer-imx-gpt.c. at last I found that it is using imx7d_timer,
it is compatible with "mx7d_timer, "fsl,imx7d-gpt"
gpt1: gpt@302d0000 {
compatible = "fsl,imx8mq-gpt", "fsl,imx7d-gpt";
in timer_imx_gpt.c CLOCKSOURCE_OF_DECLEAR(mx7d_time,fsl,imx7d-gpt,imx6dl_timer_init_dt)
my question is imx8 timer using imx6 driver in the timer-imx-gpt.c.
3. I grep the fsl-imx8mm.dtsi, fsl-imx8mm_evk.dts, it can not config the gpt, how to config gpt in dts
4. could you give me some example about gpt, how to test it can work well.