mirror of
https://github.com/Fishwaldo/linux-bl808.git
synced 2025-04-22 06:03:57 +00:00
clk: imx8mq: Add the missing ARM clock
Add the ARM clock as imx_clk_cpu type. Will be used by cpufreq. Signed-off-by: Abel Vesa <abel.vesa@nxp.com> Reviewed-by: Lucas Stach <l.stach@pengutronix.de> Signed-off-by: Stephen Boyd <sboyd@kernel.org>
This commit is contained in:
parent
45a359e80d
commit
db27e40b27
1 changed files with 6 additions and 0 deletions
|
@ -568,6 +568,12 @@ static int imx8mq_clocks_probe(struct platform_device *pdev)
|
||||||
clks[IMX8MQ_GPT_3M_CLK] = imx_clk_fixed_factor("gpt_3m", "osc_25m", 1, 8);
|
clks[IMX8MQ_GPT_3M_CLK] = imx_clk_fixed_factor("gpt_3m", "osc_25m", 1, 8);
|
||||||
clks[IMX8MQ_CLK_DRAM_ALT_ROOT] = imx_clk_fixed_factor("dram_alt_root", "dram_alt", 1, 4);
|
clks[IMX8MQ_CLK_DRAM_ALT_ROOT] = imx_clk_fixed_factor("dram_alt_root", "dram_alt", 1, 4);
|
||||||
|
|
||||||
|
clks[IMX8MQ_CLK_ARM] = imx_clk_cpu("arm", "arm_a53_div",
|
||||||
|
clks[IMX8MQ_CLK_A53_DIV],
|
||||||
|
clks[IMX8MQ_CLK_A53_SRC],
|
||||||
|
clks[IMX8MQ_ARM_PLL_OUT],
|
||||||
|
clks[IMX8MQ_SYS1_PLL_800M]);
|
||||||
|
|
||||||
for (i = 0; i < IMX8MQ_CLK_END; i++)
|
for (i = 0; i < IMX8MQ_CLK_END; i++)
|
||||||
if (IS_ERR(clks[i]))
|
if (IS_ERR(clks[i]))
|
||||||
pr_err("i.MX8mq clk %u register failed with %ld\n",
|
pr_err("i.MX8mq clk %u register failed with %ld\n",
|
||||||
|
|
Loading…
Add table
Reference in a new issue