MLK-21635: ARM: imx6sll-evk: fix clock reparent issue
authorShengjiu Wang <shengjiu.wang@nxp.com>
Mon, 6 May 2019 06:15:00 +0000 (14:15 +0800)
committerShengjiu Wang <shengjiu.wang@nxp.com>
Mon, 6 May 2019 07:52:14 +0000 (15:52 +0800)
There is error log:

[    0.000000] clk: failed to reparent pll4_audio_div to osc: -22
[    0.000000] clk: failed to reparent pll4_audio_div to osc: -22

The reason is that the assigned-clocks is used in imx6sll.dtsi
clks node, so the assigned-clocks in imx6sll-evk.dts will override
the previous one, then cause the reparent error issue.

Redefine the assigned-clocks in imx6sll-evk.dts.

Signed-off-by: Shengjiu Wang <shengjiu.wang@nxp.com>
Reviewed-by: Viorel Suman <viorel.suman@nxp.com>
arch/arm/boot/dts/imx6sll-evk.dts

index c671b47..65973fa 100644 (file)
 };
 
 &clks {
-       assigned-clocks = <&clks IMX6SLL_CLK_PLL4_AUDIO_DIV>;
-       assigned-clock-rates = <393216000>;
+       assigned-clocks = <&clks IMX6SLL_CLK_PERCLK_SEL>,
+                       <&clks IMX6SLL_CLK_PLL4_AUDIO_DIV>;
+       assigned-clock-parents = <&clks IMX6SLL_CLK_OSC>;
+       assigned-clock-rates = <0>, <393216000>;
 };
 
 &cpu0 {