ARM: dts: imx6: fix dtc warnings for ipu endpoints
authorJoshua Clayton <stillcompiling@gmail.com>
Tue, 26 Apr 2016 01:09:33 +0000 (18:09 -0700)
committerShawn Guo <shawnguo@kernel.org>
Tue, 26 Apr 2016 11:52:23 +0000 (19:52 +0800)
When compiled with "W=1", dtc complains: e.g.
"Warning (unit_address_vs_reg):
Node /soc/ipu@02800000/port@2/endpoint@0
has a unit name, but no reg property"

Endpoint nodes don't have a reg property, and the addresses
in their node names are ordinals without any special meaning
so remove them and swap them for semantic node names.

Signed-off-by: Joshua Clayton <stillcompiling@gmail.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
arch/arm/boot/dts/imx6q.dtsi
arch/arm/boot/dts/imx6qdl.dtsi

index cd10c8d..c30c836 100644 (file)
                                #size-cells = <0>;
                                reg = <2>;
 
-                               ipu2_di0_disp0: endpoint@0 {
+                               ipu2_di0_disp0: disp0-endpoint {
                                };
 
-                               ipu2_di0_hdmi: endpoint@1 {
+                               ipu2_di0_hdmi: hdmi-endpoint {
                                        remote-endpoint = <&hdmi_mux_2>;
                                };
 
-                               ipu2_di0_mipi: endpoint@2 {
+                               ipu2_di0_mipi: mipi-endpoint {
                                        remote-endpoint = <&mipi_mux_2>;
                                };
 
-                               ipu2_di0_lvds0: endpoint@3 {
+                               ipu2_di0_lvds0: lvds0-endpoint {
                                        remote-endpoint = <&lvds0_mux_2>;
                                };
 
-                               ipu2_di0_lvds1: endpoint@4 {
+                               ipu2_di0_lvds1: lvds1-endpoint {
                                        remote-endpoint = <&lvds1_mux_2>;
                                };
                        };
                                #size-cells = <0>;
                                reg = <3>;
 
-                               ipu2_di1_hdmi: endpoint@1 {
+                               ipu2_di1_hdmi: hdmi-endpoint {
                                        remote-endpoint = <&hdmi_mux_3>;
                                };
 
-                               ipu2_di1_mipi: endpoint@2 {
+                               ipu2_di1_mipi: mipi-endpoint {
                                        remote-endpoint = <&mipi_mux_3>;
                                };
 
-                               ipu2_di1_lvds0: endpoint@3 {
+                               ipu2_di1_lvds0: lvds0-endpoint {
                                        remote-endpoint = <&lvds0_mux_3>;
                                };
 
-                               ipu2_di1_lvds1: endpoint@4 {
+                               ipu2_di1_lvds1: lvds1-endpoint {
                                        remote-endpoint = <&lvds1_mux_3>;
                                };
                        };
index b42822a..294afa7 100644 (file)
                                #size-cells = <0>;
                                reg = <2>;
 
-                               ipu1_di0_disp0: endpoint@0 {
+                               ipu1_di0_disp0: disp0-endpoint {
                                };
 
-                               ipu1_di0_hdmi: endpoint@1 {
+                               ipu1_di0_hdmi: hdmi-endpoint {
                                        remote-endpoint = <&hdmi_mux_0>;
                                };
 
-                               ipu1_di0_mipi: endpoint@2 {
+                               ipu1_di0_mipi: mipi-endpoint {
                                        remote-endpoint = <&mipi_mux_0>;
                                };
 
-                               ipu1_di0_lvds0: endpoint@3 {
+                               ipu1_di0_lvds0: lvds0-endpoint {
                                        remote-endpoint = <&lvds0_mux_0>;
                                };
 
-                               ipu1_di0_lvds1: endpoint@4 {
+                               ipu1_di0_lvds1: lvds1-endpoint {
                                        remote-endpoint = <&lvds1_mux_0>;
                                };
                        };
                                #size-cells = <0>;
                                reg = <3>;
 
-                               ipu1_di0_disp1: endpoint@0 {
+                               ipu1_di0_disp1: disp1-endpoint {
                                };
 
-                               ipu1_di1_hdmi: endpoint@1 {
+                               ipu1_di1_hdmi: hdmi-endpoint {
                                        remote-endpoint = <&hdmi_mux_1>;
                                };
 
-                               ipu1_di1_mipi: endpoint@2 {
+                               ipu1_di1_mipi: mipi-endpoint {
                                        remote-endpoint = <&mipi_mux_1>;
                                };
 
-                               ipu1_di1_lvds0: endpoint@3 {
+                               ipu1_di1_lvds0: lvds0-endpoint {
                                        remote-endpoint = <&lvds0_mux_1>;
                                };
 
-                               ipu1_di1_lvds1: endpoint@4 {
+                               ipu1_di1_lvds1: lvds1-endpoint {
                                        remote-endpoint = <&lvds1_mux_1>;
                                };
                        };