ARM: dts: imx: Avoid colliding 'display' node and property names
authorRob Herring <robh@kernel.org>
Thu, 16 May 2019 22:55:25 +0000 (17:55 -0500)
committerShawn Guo <shawnguo@kernel.org>
Thu, 23 May 2019 08:31:38 +0000 (16:31 +0800)
While properties and child nodes with the same name are valid DT, the
practice is not encouraged. Furthermore, the collision is problematic for
YAML encoded DT. Let's just avoid the issue and rename the nodes.

Cc: Shawn Guo <shawnguo@kernel.org>
Cc: Sascha Hauer <s.hauer@pengutronix.de>
Cc: Pengutronix Kernel Team <kernel@pengutronix.de>
Cc: Fabio Estevam <festevam@gmail.com>
Cc: NXP Linux Team <linux-imx@nxp.com>
Cc: linux-arm-kernel@lists.infradead.org
Signed-off-by: Rob Herring <robh@kernel.org>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
arch/arm/boot/dts/imx6ul-geam.dts
arch/arm/boot/dts/imx6ul-isiot.dtsi

index bc77f26..21ddd35 100644 (file)
        display = <&display0>;
        status = "okay";
 
-       display0: display {
+       display0: display0 {
                bits-per-pixel = <16>;
                bus-width = <18>;
 
index 213e802..b26d4f5 100644 (file)
        display = <&display0>;
        status = "okay";
 
-       display0: display {
+       display0: display0 {
                bits-per-pixel = <16>;
                bus-width = <18>;