Hi, I use imx6ull and Yocto.
The past product uses imx6ull.dtsi before this commit.
MLK-13801-02 ARM: dts: Correct the gpt timer clock source on imx6ul/ull/sll
The GPT timer counter clock should be sourced from GPT_3M clock to avoid counter clock frequency changed due to system bus clock changes. Signed-off-by: Bai Ping <ping.bai@nxp.com> (cherry picked from commit 3f85257a0ab3471f2574d5a34a311d4ef4483f7d)
1. What will occur if we do not change to IMX6UL_CLK_GPT_3M ? System hangs? If so, when or what condition causes this?
2. What is GPT timer counter used for ? Linux Kernel uses it?
Best regards
已解决! 转到解答。
900M should be ok, you can see the detailed information from the source code as below:
on i.MX6ULL, when entering low bus mode, the ARM core * can run at 24MHz to support the low power run mode per * to design team.
From this https://community.nxp.com/t5/i-MX-Processors/iMX6-GPT-linux-kernel-3-0-35/td-p/241982,
it seems Linux Kernel uses GPT. Is it right?
Would you tell me what is the concern if we do not change to IMX6UL_CLK_GPT_3M ?
Best regards
Original gpt per clk parent is from ipg_per clk which may be scaled when system enter low bus mode, as ipg clk will be lower in low bus mode, to keep system clk NOT drift, select gpt per clk parent from OSC which is at fixed freq always
900M should be ok, you can see the detailed information from the source code as below:
on i.MX6ULL, when entering low bus mode, the ARM core * can run at 24MHz to support the low power run mode per * to design team.