ARM: shmobile: lager: Add DU external pixel clocks to DT
authorLaurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
Thu, 26 Feb 2015 09:21:22 +0000 (11:21 +0200)
committerSimon Horman <horms+renesas@verge.net.au>
Fri, 27 Feb 2015 01:00:17 +0000 (10:00 +0900)
Declare the fixed 148.5MHz pixel clocks connected to the DU clock
inputs.

Signed-off-by: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
arch/arm/boot/dts/r8a7790-lager.dts

index 631b3f5fb7d87a1e6b13191f8ef969a3eb0b027f..329bb994aac040845a0b8f26c26ea6f865408108 100644 (file)
                        };
                };
        };
+
+       x2_clk: x2-clock {
+               compatible = "fixed-clock";
+               #clock-cells = <0>;
+               clock-frequency = <148500000>;
+       };
+
+       x13_clk: x13-clock {
+               compatible = "fixed-clock";
+               #clock-cells = <0>;
+               clock-frequency = <148500000>;
+       };
 };
 
 &du {
        pinctrl-names = "default";
        status = "okay";
 
+       clocks = <&mstp7_clks R8A7790_CLK_DU0>,
+                <&mstp7_clks R8A7790_CLK_DU1>,
+                <&mstp7_clks R8A7790_CLK_DU2>,
+                <&mstp7_clks R8A7790_CLK_LVDS0>,
+                <&mstp7_clks R8A7790_CLK_LVDS1>,
+                <&x13_clk>, <&x2_clk>;
+       clock-names = "du.0", "du.1", "du.2", "lvds.0", "lvds.1",
+                     "dclkin.0", "dclkin.1";
+
        ports {
                port@0 {
                        endpoint {