I see there is a macro in kernel/driver/clk/imx/clk-imx8qm.c as blew:
#define LPCG_ADDR(arg) ((void __iomem *)(base_lpcg + arg));
but there is no the macro in kernel/driver/clk/imx/clk-imx8mq.c.
Is there anyone know why there is no LPCG in imx8mq.c ?
Thanks
BR
Is there anyone can help me ?
Yes, I see.
I means why there is no about "LPCG" in
https://source.codeaurora.org/external/imx/linux-imx/tree/drivers/clk/imx/clk-imx8mq.c
nothing there, you need to choose a valid branch, like 4.19.35
clk-imx8mq.c\imx\clk\drivers - linux-imx - i.MX Linux kernel
There is no LPCG also.
sorry I thought you asked i.mx8qm, for imx8mq, yes clk-imx8mq.c doesn't define LPCG as macro, but clk-imx8mq.c has LPCG part, you can find “/*FIXME, the doc is not ready now */”
for example:
"clks[IMX8MQ_CLK_ECSPI1_ROOT] = imx_clk_gate4("ecspi1_root_clk", "ecspi1", base + 0x4070, 0);"
refer to the chapter Table 5-9. CCGR Mapping Table of i.mx8MM reference manual, you can find CCM_CCGR7, LPCG enable is ECSPI1, offset is 0x4070
HI, Xie
Thank you so much for your reply.
Now I would like to run xen on imx8mq board, split two display system in two domain, hdmi in dom0, mipi-to-hdmi in domu.
How can I split the clk part?
BR