diff options
author | Peng Fan <peng.fan@nxp.com> | 2020-01-13 16:10:52 +0800 |
---|---|---|
committer | Peng Fan <peng.fan@nxp.com> | 2020-01-13 18:40:33 +0800 |
commit | a5a750b51272a225ac27e0760d1dc5287c1532ee (patch) | |
tree | 12c565f81b952a803f612908c5bbbf9f37cf0d13 /include | |
parent | abe1b58ae5e8f3b8319454914e4e2d767002d4df (diff) |
MLK-23228-2 clk: imx: imx8mm: fix a53 cpu clock
A53 CCM clk root only accepts input up to 1GHz, however
the A53 core could run above 1GHz which voliates the CCM limitation.
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
Enable arm_pll_out to avoid disable the clock when set a53 core parent.
Fixes: ba5625c3e272 ("clk: imx: Add clock driver support for imx8mm")
Reviewed-by: Jacky Bai <ping.bai@nxp.com>
Signed-off-by: Peng Fan <peng.fan@nxp.com>
Diffstat (limited to 'include')
-rw-r--r-- | include/dt-bindings/clock/imx8mm-clock.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/include/dt-bindings/clock/imx8mm-clock.h b/include/dt-bindings/clock/imx8mm-clock.h index 07e6c686f3ef..81a2436ef5a9 100644 --- a/include/dt-bindings/clock/imx8mm-clock.h +++ b/include/dt-bindings/clock/imx8mm-clock.h @@ -247,7 +247,8 @@ #define IMX8MM_CLK_SNVS_ROOT 228 #define IMX8MM_CLK_GIC 229 +#define IMX8MM_CLK_A53_CORE 230 -#define IMX8MM_CLK_END 230 +#define IMX8MM_CLK_END 231 #endif |