Skip to contentSkip to conversation

ARM: dts: imx28-evk: Fix display duplicate name warning

PATCH New Fabio Estevam 2 participants 4 messages Sep 3, 2014 – Sep 4, 2014

Subsystems (2)
lore
Share & tools
lore

Fabio Estevam

author reviewer
#0 lore raw

PATCH v2 1/3 ARM: dts: imx28-evk: Fix display duplicate name warning

From: Fabio Estevam <[email protected]>

The lcdif node has a property named "display" and also a child node called "display", which causes the following warning:

device-tree: Duplicate name in lcdif at 80030000, renamed to "display#1"

Rename the child node name in order to avoid the warning.

---
Changes since v1:
- Rename the child node

 arch/arm/boot/dts/imx28-evk.dts | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
arch/arm/boot/dts/imx28-evk.dts +2 -2
index e4cc44c..09664fc 100644
@@ -124,10 +124,10 @@
 				pinctrl-0 = <&lcdif_24bit_pins_a
 					     &lcdif_pins_evk>;
 				lcd-supply = <&reg_lcd_3v3>;
-				display = <&display>;
+				display = <&display0>;
 				status = "okay";
 
-				display: display {
+				display0: display0 {
 					bits-per-pixel = <32>;
 					bus-width = <24>;
 
Signature · 1 line
1.9.1
author reviewer
#1 lore raw

PATCH 2/3 ARM: dts: imx23-evk: Fix display duplicate name warning

From: Fabio Estevam <[email protected]>

The lcdif node has a property named "display" and also a child node called "display", which causes the following warning:

device-tree: Duplicate name in lcdif at 80030000, renamed to "display#1"

Rename the child node name in order to avoid the warning.

---
Changes since v1:
- None. Newly introduced in this version

 arch/arm/boot/dts/imx23-evk.dts | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
arch/arm/boot/dts/imx23-evk.dts +2 -2
index a33f66c..57e2997 100644
@@ -60,10 +60,10 @@
 				pinctrl-names = "default";
 				pinctrl-0 = <&lcdif_24bit_pins_a>;
 				lcd-supply = <&reg_lcd_3v3>;
-				display = <&display>;
+				display = <&display0>;
 				status = "okay";
 
-				display: display {
+				display0: display0 {
 					bits-per-pixel = <32>;
 					bus-width = <24>;
 
Signature · 1 line
1.9.1
author reviewer
#2 lore raw

PATCH 3/3 ARM: dts: imx6sl-evk: Fix display duplicate name warning

In reply to Fabio Estevam

From: Fabio Estevam <[email protected]>

The lcdif node has a property named "display" and also a child node called "display", which causes the following warning:

device-tree: Duplicate name in lcdif at 02220000, renamed to "display#1"

Rename the child node name in order to avoid the warning.

---
Changes since v1:
- None. Newly introduced in this version

 arch/arm/boot/dts/imx6sl-evk.dts | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
arch/arm/boot/dts/imx6sl-evk.dts +2 -2
index 9925c4a..898d14f 100644
@@ -546,10 +546,10 @@
 	pinctrl-names = "default";
 	pinctrl-0 = <&pinctrl_lcd>;
 	lcd-supply = <&reg_lcd_3v3>;
-	display = <&display>;
+	display = <&display0>;
 	status = "okay";
 
-	display: display {
+	display0: display0 {
 		bits-per-pixel = <32>;
 		bus-width = <24>;
 
Signature · 1 line
1.9.1
Applied
#3 lore raw

PATCH v2 1/3 ARM: dts: imx28-evk: Fix display duplicate name warning

In reply to Fabio Estevam
Quoted 10 lines · Fabio Estevam

From: Fabio Estevam <[email protected]>

The lcdif node has a property named "display" and also a child node called "display", which causes the following warning:

device-tree: Duplicate name in lcdif at 80030000, renamed to "display#1"

Rename the child node name in order to avoid the warning.

Applied all, thanks.