]> git.karo-electronics.de Git - linux-beck.git/commitdiff
ARM: dts: imx6qdl: Move existing MIPI DSI ports into a new 'ports' node
authorLiu Ying <Ying.Liu@freescale.com>
Thu, 12 Feb 2015 06:01:31 +0000 (14:01 +0800)
committerShawn Guo <shawn.guo@linaro.org>
Mon, 30 Mar 2015 08:38:51 +0000 (16:38 +0800)
The MIPI DSI node contains some ports which represent possible DRM CRTCs
it can connect with.  Each port has a 'reg' property embedded.  This
property will be wrongly interpretted by the MIPI DSI bus driver, because
the driver will take each subnode which contains a 'reg' property as a
DSI peripheral device.  This patch moves the existing MIPI DSI ports into
a new 'ports' node so that the MIPI DSI bus driver may distinguish its
DSI peripheral device(s) from the existing ports.

Acked-by: Philipp Zabel <p.zabel@pengutronix.de>
Signed-off-by: Liu Ying <Ying.Liu@freescale.com>
Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
arch/arm/boot/dts/imx6q.dtsi
arch/arm/boot/dts/imx6qdl.dtsi

index 93ec79bb6b35c54b451ff8ccb9775387f8574aa4..399103b8e2c948110154fa0b109e917a192061b0 100644 (file)
 };
 
 &mipi_dsi {
-       port@2 {
-               reg = <2>;
+       ports {
+               port@2 {
+                       reg = <2>;
 
-               mipi_mux_2: endpoint {
-                       remote-endpoint = <&ipu2_di0_mipi>;
+                       mipi_mux_2: endpoint {
+                               remote-endpoint = <&ipu2_di0_mipi>;
+                       };
                };
-       };
 
-       port@3 {
-               reg = <3>;
+               port@3 {
+                       reg = <3>;
 
-               mipi_mux_3: endpoint {
-                       remote-endpoint = <&ipu2_di1_mipi>;
+                       mipi_mux_3: endpoint {
+                               remote-endpoint = <&ipu2_di1_mipi>;
+                       };
                };
        };
 };
index d6c69ec443149da28012034ceea65ac2ba522539..6159640f2422ed1fa81f518bb03a1f828f55084a 100644 (file)
                                reg = <0x021e0000 0x4000>;
                                status = "disabled";
 
-                               port@0 {
-                                       reg = <0>;
+                               ports {
+                                       #address-cells = <1>;
+                                       #size-cells = <0>;
+
+                                       port@0 {
+                                               reg = <0>;
 
-                                       mipi_mux_0: endpoint {
-                                               remote-endpoint = <&ipu1_di0_mipi>;
+                                               mipi_mux_0: endpoint {
+                                                       remote-endpoint = <&ipu1_di0_mipi>;
+                                               };
                                        };
-                               };
 
-                               port@1 {
-                                       reg = <1>;
+                                       port@1 {
+                                               reg = <1>;
 
-                                       mipi_mux_1: endpoint {
-                                               remote-endpoint = <&ipu1_di1_mipi>;
+                                               mipi_mux_1: endpoint {
+                                                       remote-endpoint = <&ipu1_di1_mipi>;
+                                               };
                                        };
                                };
                        };