Why there is no LPCG in imx8mq.c

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Why there is no LPCG in imx8mq.c

1,189 Views
hongxingyu1982
Contributor III

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

0 Kudos
6 Replies

1,088 Views
hongxingyu1982
Contributor III

Is there anyone  can help me ?

0 Kudos

1,088 Views
hongxingyu1982
Contributor III
0 Kudos

1,088 Views
joanxie
NXP TechSupport
NXP TechSupport

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 

0 Kudos

1,088 Views
hongxingyu1982
Contributor III

There is no LPCG also.

0 Kudos

1,088 Views
joanxie
NXP TechSupport
NXP TechSupport

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

 

0 Kudos

1,088 Views
hongxingyu1982
Contributor III

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

0 Kudos