Skip to contentSkip to conversation

Add a vga alias node for P1022

PATCH In review Jason Jin 2 participants 4 messages Sep 6, 2013 – Nov 14, 2013

Subsystems (2)
lore
Share & tools
lore

Jason Jin

author
#0 lore raw

PATCH 1/1 Add a vga alias node for P1022

From: Jason Jin <[email protected]>

When the vga was set as the stdout and stderr in u-boot, the stdout fixup code in u-boot need to find out the vga alias node in dtb.

---
 arch/powerpc/boot/dts/fsl/p1022si-post.dtsi | 2 +-
 arch/powerpc/boot/dts/fsl/p1022si-pre.dtsi  | 1 +
 2 files changed, 2 insertions(+), 1 deletion(-)
arch/powerpc/boot/dts/fsl/p1022si-post.dtsi +1 -1
index 1f189a9..c907c8e 100644
@@ -175,7 +175,7 @@
 
 /include/ "pq3-gpio-0.dtsi"
 
-	display@10000 {
+	display: display@10000 {
 		compatible = "fsl,diu", "fsl,p1022-diu";
 		reg = <0x10000 1000>;
 		interrupts = <64 2 0 0>;
arch/powerpc/boot/dts/fsl/p1022si-pre.dtsi +1 -0
index 1956dea..cb8d816 100644
@@ -50,6 +50,7 @@
 		pci0 = &pci0;
 		pci1 = &pci1;
 		pci2 = &pci2;
+		vga = &display;
 	};
 
 	cpus {
Signature · 1 line
1.8.0
#1 lore raw
Quoted 13 lines

-----Original Message-----
From: Jin Zhengxiong-R64188
Sent: Friday, September 06, 2013 5:33 PM
To: Wood Scott-B07421
Cc: [email protected]; [email protected]; Jin Zhengxiong-R64188
Subject: [PATCH] Add a vga alias node for P1022
=20
From: Jason Jin <[email protected]>
=20
When the vga was set as the stdout and stderr in u-boot, the stdout fixup code in u-boot need to find out the vga alias node in dtb. =20

Quoted 5 lines
---
 arch/powerpc/boot/dts/fsl/p1022si-post.dtsi | 2 +-
arch/powerpc/boot/dts/fsl/p1022si-pre.dtsi  | 1 +
 2 files changed, 2 insertions(+), 1 deletion(-)

[Jason Jin-R64188] Any comments about this patch? Thanks.

#2 lore raw
Quoted 13 lines · On Wed, 2013-11-13 at 00:28 -0600, Jin Zhengxiong-R64188 wrote:
Quoted 13 lines

-----Original Message-----
From: Jin Zhengxiong-R64188
Sent: Friday, September 06, 2013 5:33 PM
To: Wood Scott-B07421
Cc: [email protected]; [email protected]; Jin Zhengxiong-R64188
Subject: [PATCH] Add a vga alias node for P1022

From: Jason Jin <[email protected]>

When the vga was set as the stdout and stderr in u-boot, the stdout fixup code in u-boot need to find out the vga alias node in dtb.

Quoted 7 lines
Quoted 5 lines
---
 arch/powerpc/boot/dts/fsl/p1022si-post.dtsi | 2 +-
arch/powerpc/boot/dts/fsl/p1022si-pre.dtsi  | 1 +
 2 files changed, 2 insertions(+), 1 deletion(-)

[Jason Jin-R64188] Any comments about this patch? Thanks.

This isn't a VGA-compatible device. If this is needed by U-Boot, please provide a comment explaining the compatibility issue, and ideally also provide a display alias so that no other components grow dependencies on the vga alias.

-Scott

#3 lore raw

DQo+ID4gPg0KPiA+ID4gV2hlbiB0aGUgdmdhIHdhcyBzZXQgYXMgdGhlIHN0ZG91dCBhbmQgc3Rk ZXJyIGluIHUtYm9vdCwgdGhlIHN0ZG91dA0KPiA+ID4gZml4dXAgY29kZSBpbiB1LWJvb3QgbmVl ZCB0byBmaW5kIG91dCB0aGUgdmdhIGFsaWFzIG5vZGUgaW4gZHRiLg0KPiA+ID4NCj4gPiA+IFNp Z25lZC1vZmYtYnk6IEphc29uIEppbiA8SmFzb24uamluQGZyZWVzY2FsZS5jb20+DQo+ID4gPiAt LS0NCj4gPiA+ICBhcmNoL3Bvd2VycGMvYm9vdC9kdHMvZnNsL3AxMDIyc2ktcG9zdC5kdHNpIHwg MiArLQ0KPiA+ID4gYXJjaC9wb3dlcnBjL2Jvb3QvZHRzL2ZzbC9wMTAyMnNpLXByZS5kdHNpICB8 IDEgKw0KPiA+ID4gIDIgZmlsZXMgY2hhbmdlZCwgMiBpbnNlcnRpb25zKCspLCAxIGRlbGV0aW9u KC0pDQo+ID4NCj4gPiBbSmFzb24gSmluLVI2NDE4OF0gQW55IGNvbW1lbnRzIGFib3V0IHRoaXMg c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