Skip to contentSkip to conversation

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

PATCH New Fabio Estevam 3 participants 8 messages Sep 5, 2014

Subsystems (2)
lore
Share & tools
lore

Fabio Estevam

author reviewer
#0 lore raw

PATCH v2 1/6 ARM: dts: imx28-apx4devkit: 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

 arch/arm/boot/dts/imx28-apx4devkit.dts | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
arch/arm/boot/dts/imx28-apx4devkit.dts +2 -2
index e1ce917..1092b76 100644
@@ -94,10 +94,10 @@
 				pinctrl-names = "default";
 				pinctrl-0 = <&lcdif_24bit_pins_a
 					     &lcdif_pins_apx4>;
-				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 v2 2/6 ARM: dts: imx28-apf28dev: 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 wa

---
Changes since v1:
- None

 arch/arm/boot/dts/imx28-apf28dev.dts | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
arch/arm/boot/dts/imx28-apf28dev.dts +2 -2
index 221cac4..1f38a05 100644
@@ -83,10 +83,10 @@
 				pinctrl-names = "default";
 				pinctrl-0 = <&lcdif_16bit_pins_a
 						&lcdif_pins_apf28dev>;
-				display = <&display>;
+				display = <&display0>;
 				status = "okay";
 
-				display: display {
+				display0: display0 {
 					bits-per-pixel = <16>;
 					bus-width = <16>;
 
Signature · 1 line
1.9.1
author reviewer
#2 lore raw

PATCH v2 3/6 ARM: dts: imx28-cfa100: 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 80030000, renamed to "display#1"

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

---
Changes since v1:
- None

 arch/arm/boot/dts/imx28-cfa10049.dts | 4 ++--
 arch/arm/boot/dts/imx28-cfa10055.dts | 4 ++--
 arch/arm/boot/dts/imx28-cfa10056.dts | 4 ++--
 arch/arm/boot/dts/imx28-cfa10057.dts | 4 ++--
 arch/arm/boot/dts/imx28-cfa10058.dts | 4 ++--
 5 files changed, 10 insertions(+), 10 deletions(-)
arch/arm/boot/dts/imx28-cfa10049.dts +2 -2
index 7d51459..ef944b6 100644
@@ -177,10 +177,10 @@
 				pinctrl-0 = <&lcdif_18bit_pins_cfa10049
 					     &lcdif_pins_cfa10049
 					     &lcdif_pins_cfa10049_pullup>;
-				display = <&display>;
+				display = <&display0>;
 				status = "okay";
 
-				display: display {
+				display0: display0 {
 					bits-per-pixel = <32>;
 					bus-width = <18>;
 
arch/arm/boot/dts/imx28-cfa10055.dts +2 -2
index c3900e7..6a34114 100644
@@ -92,10 +92,10 @@
 				pinctrl-0 = <&lcdif_18bit_pins_cfa10055
 					     &lcdif_pins_cfa10055
 					     &lcdif_pins_cfa10055_pullup>;
-				display = <&display>;
+				display = <&display0>;
 				status = "okay";
 
-				display: display {
+				display0: display0 {
 					bits-per-pixel = <32>;
 					bus-width = <18>;
 
arch/arm/boot/dts/imx28-cfa10056.dts +2 -2
index cef959a..ba6495c 100644
@@ -64,10 +64,10 @@
 				pinctrl-0 = <&lcdif_24bit_pins_a
 						&lcdif_pins_cfa10056
 						&lcdif_pins_cfa10056_pullup >;
-				display = <&display>;
+				display = <&display0>;
 				status = "okay";
 
-				display: display {
+				display0: display0 {
 					bits-per-pixel = <32>;
 					bus-width = <24>;
 
arch/arm/boot/dts/imx28-cfa10057.dts +2 -2
index c4e00ce..5df0b24 100644
@@ -78,10 +78,10 @@
 				pinctrl-names = "default";
 				pinctrl-0 = <&lcdif_18bit_pins_cfa10057
 					     &lcdif_pins_cfa10057>;
-				display = <&display>;
+				display = <&display0>;
 				status = "okay";
 
-				display: display {
+				display0: display0 {
 					bits-per-pixel = <32>;
 					bus-width = <18>;
 
arch/arm/boot/dts/imx28-cfa10058.dts +2 -2
index 7c9cc78..f5c6dce 100644
@@ -51,10 +51,10 @@
 				pinctrl-names = "default";
 				pinctrl-0 = <&lcdif_24bit_pins_a
 						 &lcdif_pins_cfa10058>;
-				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
#3 lore raw

PATCH v2 4/6 ARM: dts: imx28-m28cu: 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 80030000, renamed to "display#1"

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

---
Changes since v1:
- None

 arch/arm/boot/dts/imx28-m28cu3.dts | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
arch/arm/boot/dts/imx28-m28cu3.dts +2 -2
index 9348ce5..2df63be 100644
@@ -115,10 +115,10 @@
 				pinctrl-names = "default";
 				pinctrl-0 = <&lcdif_24bit_pins_a
 					     &lcdif_pins_m28>;
-				display = <&display>;
+				display = <&display0>;
 				status = "okay";
 
-				display: display0 {
+				display0: display0 {
 					bits-per-pixel = <32>;
 					bus-width = <24>;
 
Signature · 1 line
1.9.1
author reviewer
#4 lore raw

PATCH v2 5/6 ARM: dts: imx28-tx28: 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 80030000, renamed to "display#1"

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

---
Changes since v1:
- Also update 'aliases'

 arch/arm/boot/dts/imx28-tx28.dts | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
arch/arm/boot/dts/imx28-tx28.dts +3 -3
index e14bd86..f947fbb 100644
@@ -21,7 +21,7 @@
 	aliases {
 		can0 = &can0;
 		can1 = &can1;
-		display = &display;
+		display = &display0;
 		ds1339 = &ds1339;
 		gpio5 = &gpio5;
 		lcdif = &lcdif;
@@ -309,10 +309,10 @@
 	pinctrl-names = "default";
 	pinctrl-0 = <&lcdif_24bit_pins_a &lcdif_sync_pins_a &tx28_lcdif_ctrl_pins>;
 	lcd-supply = <&reg_lcd>;
-	display = <&display>;
+	display = <&display0>;
 	status = "okay";
 
-	display: display at 0 {
+	display0: display0 {
 		bits-per-pixel = <32>;
 		bus-width = <24>;
 		display-timings {
Signature · 1 line
1.9.1
#5 lore raw

PATCH v2 5/6 ARM: dts: imx28-tx28: Fix display duplicate name warning

Hi,

Quoted 33 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.

---
Changes since v1:
- Also update 'aliases'

 arch/arm/boot/dts/imx28-tx28.dts | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
arch/arm/boot/dts/imx28-tx28.dts +1 -1
index e14bd86..f947fbb 100644
@@ -21,7 +21,7 @@
 	aliases {
 		can0 = &can0;
 		can1 = &can1;
-		display = &display;
+		display = &display0;
 		ds1339 = &ds1339;
 		gpio5 = &gpio5;
 		lcdif = &lcdif;
@@ -309,10 +309,10 @@
 	pinctrl-names = "default";
 	pinctrl-0 = <&lcdif_24bit_pins_a &lcdif_sync_pins_a &tx28_lcdif_ctrl_pins>;

arch/arm/boot/dts/imx28-tx28.dts line 318

Quoted 10 lines
arch/arm/boot/dts/imx28-tx28.dts +2 -2
 	lcd-supply = <&reg_lcd>;
-	display = <&display>;
+	display = <&display0>;
 	status = "okay";
 
-	display: display at 0 {
+	display0: display0 {
 		bits-per-pixel = <32>;
 		bus-width = <24>;
 		display-timings {
Signature · 9 lines
___________________________________________________________

Ka-Ro electronics GmbH | Pascalstra?e 22 | D - 52076 Aachen
Phone: +49 2408 1402-0 | Fax: +49 2408 1402-10
Gesch?ftsf?hrer: Matthias Kaussen
Handelsregistereintrag: Amtsgericht Aachen, HRB 4996

www.karo-electronics.de | info at karo-electronics.de
___________________________________________________________
author reviewer
#6 lore raw

PATCH v2 6/6 ARM: dts: imx28-m28evk: 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 80030000, renamed to "display#1"

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

---
Changes since v1:
- None

 arch/arm/boot/dts/imx28-m28evk.dts | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
arch/arm/boot/dts/imx28-m28evk.dts +2 -2
index b3c09ae..e35cc6b 100644
@@ -81,10 +81,10 @@
 				pinctrl-names = "default";
 				pinctrl-0 = <&lcdif_24bit_pins_a
 					     &lcdif_pins_m28>;
-				display = <&display>;
+				display = <&display0>;
 				status = "okay";
 
-				display: display {
+				display0: display0 {
 					bits-per-pixel = <16>;
 					bus-width = <18>;
 
Signature · 1 line
1.9.1
Applied
#7 lore raw

PATCH v2 1/6 ARM: dts: imx28-apx4devkit: 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.