]> git.ipfire.org Git - thirdparty/kernel/stable.git/commitdiff
ARM: dts: imx53: Fix LDB OF graph warning
authorRob Herring <robh@kernel.org>
Tue, 8 May 2018 13:59:27 +0000 (08:59 -0500)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 3 Aug 2018 05:47:52 +0000 (07:47 +0200)
[ Upstream commit 77dd4bd0c0db8e4856e7abc2192f126e226e14c5 ]

Single child nodes in OF graph don't need an address and now dtc will
warn about this:

Warning (graph_child_address): /soc/aips@50000000/ldb@53fa8008/lvds-channel@0: graph node has single child node 'port@0', #address-cells/#size-cells are not necessary

Since the LDB should always have an output port, fix the warning by
adding the output port, 2, to the DT.

Cc: Sascha Hauer <s.hauer@pengutronix.de>
Cc: Pengutronix Kernel Team <kernel@pengutronix.de>
Cc: Fabio Estevam <fabio.estevam@nxp.com>
Signed-off-by: Rob Herring <robh@kernel.org>
Reviewed-by: Philipp Zabel <p.zabel@pengutronix.de>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
Signed-off-by: Sasha Levin <alexander.levin@microsoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
arch/arm/boot/dts/imx53-ppd.dts
arch/arm/boot/dts/imx53.dtsi

index d5628af2e301edfdb0036860e702dc1f5b91aa16..563451167e7fbc1183d1b69a1daeeb13b1c2abcd 100644 (file)
                status = "okay";
 
                port@2 {
-                       reg = <2>;
-
                        lvds0_out: endpoint {
                                remote-endpoint = <&panel_in_lvds0>;
                        };
index 3d65c0192f6931f6f5997e2de8e5cb1c2f2a8b6e..ab4fc5b99ad34db5a9358f16f98cbbc70447419c 100644 (file)
                                                        remote-endpoint = <&ipu_di0_lvds0>;
                                                };
                                        };
+
+                                       port@2 {
+                                               reg = <2>;
+                                       };
                                };
 
                                lvds-channel@1 {
                                                        remote-endpoint = <&ipu_di1_lvds1>;
                                                };
                                        };
+
+                                       port@2 {
+                                               reg = <2>;
+                                       };
                                };
                        };