Skip to contentSkip to conversation

powerpc/dts: fix syntax bugs in bluestone.dts

PATCH In review Grant Likely 2 participants 5 messages Jan 3, 2011 – Jan 4, 2011

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 powerpc/dts: fix syntax bugs in bluestone.dts

---

I'm picking this one up immediately into my next-devicetree branch

g.

 arch/powerpc/boot/dts/bluestone.dts |    8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)
arch/powerpc/boot/dts/bluestone.dts +4 -4
index 9bb3d72..2a56a0d 100644
@@ -33,7 +33,7 @@
 	aliases {
 		ethernet0 = &EMAC0;
 		serial0 = &UART0;
-		serial1 = &UART1;
+		//serial1 = &UART1; --gcl missing UART1 label
 	};
 
 	cpus {
@@ -52,7 +52,7 @@
 			d-cache-size = <32768>;
 			dcr-controller;
 			dcr-access-method = "native";
-			next-level-cache = <&L2C0>;
+			//next-level-cache = <&L2C0>; --gcl missing L2C0 label
 		};
 	};
 
@@ -142,7 +142,7 @@
 					/*RXEOB*/ 0x7 0x4
 					/*SERR*/  0x3 0x4
 					/*TXDE*/  0x4 0x4
-					/*RXDE*/  0x5 0x4
+					/*RXDE*/  0x5 0x4>;
 		};
 
 		POB0: opb {
@@ -182,7 +182,7 @@
 						reg = <0x001a0000 0x00060000>;
 					};
 				};
-			}
+			};
 
 			UART0: serial@ef600300 {
 				device_type = "serial";
Acked-by on v1 1/1
#1 lore raw
Quoted 4 lines · Grant Likely

---

I'm picking this one up immediately into my next-devicetree branch

Hm. So these are of course correct, and with that:

but I do wonder how you noticed them? DTC didn't throw an error when I built this originally. Either way, more diligence on my part would be appropriate, but knowing how you came across these might teach me something.

Nit: C++ comments still make me get queasy. Maybe just remove the properties that point to lables that don't exist?

josh

#2 lore raw
Quoted 6 lines · Josh Boyer
Quoted 4 lines · Grant Likely

---

I'm picking this one up immediately into my next-devicetree branch

Quoted 8 lines

Hm. So these are of course correct, and with that:

but I do wonder how you noticed them? DTC didn't throw an error when I built this originally. Either way, more diligence on my part would be appropriate, but knowing how you came across these might teach me something.

I updated the copy of dtc in the kernel and rebuilt all the .dts files.

g.

#3 lore raw
Quoted 9 lines · Grant Likely
Quoted 8 lines · Josh Boyer
Quoted 4 lines · Grant Likely

---

I'm picking this one up immediately into my next-devicetree branch

Hm. So these are of course correct, and with that:

Quoted 8 lines
Quoted 6 lines

but I do wonder how you noticed them? DTC didn't throw an error when I built this originally. Either way, more diligence on my part would be appropriate, but knowing how you came across these might teach me something.

I updated the copy of dtc in the kernel and rebuilt all the .dts files.

Are you going to push that DTC update into the kernel as well?

josh

#4 lore raw
Quoted 12 lines · Josh Boyer
Quoted 11 lines · Grant Likely
Quoted 10 lines · Josh Boyer
Quoted 4 lines · Grant Likely

---

I'm picking this one up immediately into my next-devicetree branch

Hm. So these are of course correct, and with that:

Quoted 8 lines
Quoted 6 lines
Quoted 4 lines

but I do wonder how you noticed them? DTC didn't throw an error when I built this originally. Either way, more diligence on my part would be appropriate, but knowing how you came across these might teach me something.

I updated the copy of dtc in the kernel and rebuilt all the .dts files.

Are you going to push that DTC update into the kernel as well?

Yes, that's what I mean by updating dtc. It is in my next-devicetree branch.

g.