diff options
| author | Abel Vesa <abel.vesa@nxp.com> | 2019-02-15 12:48:46 -0500 |
|---|---|---|
| committer | Stephen Boyd <sboyd@kernel.org> | 2019-02-21 15:56:52 -0500 |
| commit | db27e40b27f18d66d9e01745211ac87bc03a14b7 (patch) | |
| tree | 4a0faf0ab6de054810a8ebea58f647ad80f2e8dc | |
| parent | 45a359e80d9b81b0fc3d9612053a86fc52a5f4b9 (diff) | |
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>
| -rw-r--r-- | drivers/clk/imx/clk-imx8mq.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/drivers/clk/imx/clk-imx8mq.c b/drivers/clk/imx/clk-imx8mq.c index 90986ddc0f37..01c771f441cb 100644 --- a/drivers/clk/imx/clk-imx8mq.c +++ b/drivers/clk/imx/clk-imx8mq.c | |||
| @@ -568,6 +568,12 @@ static int imx8mq_clocks_probe(struct platform_device *pdev) | |||
| 568 | clks[IMX8MQ_GPT_3M_CLK] = imx_clk_fixed_factor("gpt_3m", "osc_25m", 1, 8); | 568 | clks[IMX8MQ_GPT_3M_CLK] = imx_clk_fixed_factor("gpt_3m", "osc_25m", 1, 8); |
| 569 | clks[IMX8MQ_CLK_DRAM_ALT_ROOT] = imx_clk_fixed_factor("dram_alt_root", "dram_alt", 1, 4); | 569 | clks[IMX8MQ_CLK_DRAM_ALT_ROOT] = imx_clk_fixed_factor("dram_alt_root", "dram_alt", 1, 4); |
| 570 | 570 | ||
| 571 | clks[IMX8MQ_CLK_ARM] = imx_clk_cpu("arm", "arm_a53_div", | ||
| 572 | clks[IMX8MQ_CLK_A53_DIV], | ||
| 573 | clks[IMX8MQ_CLK_A53_SRC], | ||
| 574 | clks[IMX8MQ_ARM_PLL_OUT], | ||
| 575 | clks[IMX8MQ_SYS1_PLL_800M]); | ||
| 576 | |||
| 571 | for (i = 0; i < IMX8MQ_CLK_END; i++) | 577 | for (i = 0; i < IMX8MQ_CLK_END; i++) |
| 572 | if (IS_ERR(clks[i])) | 578 | if (IS_ERR(clks[i])) |
| 573 | pr_err("i.MX8mq clk %u register failed with %ld\n", | 579 | pr_err("i.MX8mq clk %u register failed with %ld\n", |
