ARM: dts: imx6qp: correct LDB clock inputs
authorLucas Stach <l.stach@pengutronix.de>
Tue, 8 Nov 2016 16:55:36 +0000 (17:55 +0100)
committerShawn Guo <shawnguo@kernel.org>
Mon, 14 Nov 2016 07:30:49 +0000 (15:30 +0800)
On i.MX6QP the LDB clock tree has changed to move the clk gate
before the divider, to prevent clock glitches propagating downstream.

A consequence of this change is that the clk divider is now the
parent of the LDB inputs. Reflect this change in the devicetree
to allow the LDB driver to properly configure the display clocks.

Signed-off-by: Lucas Stach <l.stach@pengutronix.de>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
arch/arm/boot/dts/imx6qp.dtsi

index 886dbf2..caaa040 100644 (file)
                };
        };
 };
+
+&ldb {
+       clocks = <&clks IMX6QDL_CLK_LDB_DI0_SEL>, <&clks IMX6QDL_CLK_LDB_DI1_SEL>,
+                <&clks IMX6QDL_CLK_IPU1_DI0_SEL>, <&clks IMX6QDL_CLK_IPU1_DI1_SEL>,
+                <&clks IMX6QDL_CLK_IPU2_DI0_SEL>, <&clks IMX6QDL_CLK_IPU2_DI1_SEL>,
+                <&clks IMX6QDL_CLK_LDB_DI0_PODF>, <&clks IMX6QDL_CLK_LDB_DI1_PODF>;
+       clock-names = "di0_pll", "di1_pll",
+                     "di0_sel", "di1_sel", "di2_sel", "di3_sel",
+                     "di0", "di1";
+};