• Peng Fan's avatar
    clk: imx: imx8mp: fix a53 cpu clock · 7ab22721
    Peng Fan authored
    The A53 CCM clk root only accepts input up to 1GHz, CCM A53 root
    signoff timing is 1Ghz, however the A53 core which sources from CCM
    root could run above 1GHz which voilates the CCM.
    
    There is a CORE_SEL slice before A53 core, we need configure the
    CORE_SEL slice source from ARM PLL, not A53 CCM clk root.
    
    The A53 CCM clk root should only be used when need to change ARM PLL
    frequency.
    
    Add arm_a53_core clk that could source from arm_a53_div and arm_pll_out.
    Configure a53 ccm root sources from 800MHz sys pll
    Configure a53 core sources from arm_pll_out
    Mark arm_a53_core as critical clk
    Reviewed-by: default avatarJacky Bai <ping.bai@nxp.com>
    Signed-off-by: default avatarPeng Fan <peng.fan@nxp.com>
    Signed-off-by: default avatarShawn Guo <shawnguo@kernel.org>
    7ab22721
imx8mp-clock.h 9.99 KB