Skip to contentSkip to conversation

ARM: dts: add missing cpu #address-cell values

PATCH New Arnd Bergmann 3 participants 3 messages Jun 10, 2013

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

PATCH 1/1 ARM: dts: add missing cpu #address-cell values

A recent series has added CPU numbers to a lot of dts files, but unfortunately in a few cases the #address-cells and #size-cells values are missing, which causes build warnings. This adds the missing ones for sunxi and sama5 that I found through build testing.

Cc Lorenzo Pieralisi <[email protected]>

---
I've applied this on top of the next/dt branch that has the original patches.

arch/arm/boot/dts/sama5d3.dtsi +2 -0
index abdf1c8..f57ffbc 100644
@@ -38,6 +38,8 @@
 		ssc1 = &ssc1;
 	};
 	cpus {
+		#address-cells = <1>;
+		#size-cells = <0>;
 		cpu at 0 {
 			device_type = "cpu";
 			compatible = "arm,cortex-a5";
arch/arm/boot/dts/sun4i-a10.dtsi +2 -0
index 39a8f61..06ef8b6 100644
@@ -16,6 +16,8 @@
 	interrupt-parent = <&intc>;
 
 	cpus {
+		#address-cells = <1>;
+		#size-cells = <0>;
 		cpu at 0 {
 			device_type = "cpu";
 			compatible = "arm,cortex-a8";
arch/arm/boot/dts/sun5i-a13.dtsi +2 -0
index 00a2637d..d285254 100644
@@ -17,6 +17,8 @@
 	interrupt-parent = <&intc>;
 
 	cpus {
+		#address-cells = <1>;
+		#size-cells = <0>;
 		cpu at 0 {
 			device_type = "cpu";
 			compatible = "arm,cortex-a8";
#1 lore raw

PATCH 1/1 ARM: dts: add missing cpu #address-cell values

Quoted 5 lines · Arnd Bergmann

A recent series has added CPU numbers to a lot of dts files, but unfortunately in a few cases the #address-cells and #size-cells values are missing, which causes build warnings. This adds the missing ones for sunxi and sama5 that I found through build testing.

Gah, my bad, apologies, I missed the #address/#size cells updates to new dts that were merged the last merge window after rebasing, really sorry about that.

Thanks !
Lorenzo

Quoted 48 lines
Cc Lorenzo Pieralisi <[email protected]>

---
I've applied this on top of the next/dt branch that has the original patches.

arch/arm/boot/dts/sama5d3.dtsi +2 -0
index abdf1c8..f57ffbc 100644
@@ -38,6 +38,8 @@
 		ssc1 = &ssc1;
 	};
 	cpus {
+		#address-cells = <1>;
+		#size-cells = <0>;
 		cpu at 0 {
 			device_type = "cpu";
 			compatible = "arm,cortex-a5";
arch/arm/boot/dts/sun4i-a10.dtsi +2 -0
index 39a8f61..06ef8b6 100644
@@ -16,6 +16,8 @@
 	interrupt-parent = <&intc>;
 
 	cpus {
+		#address-cells = <1>;
+		#size-cells = <0>;
 		cpu at 0 {
 			device_type = "cpu";
 			compatible = "arm,cortex-a8";
arch/arm/boot/dts/sun5i-a13.dtsi +2 -0
index 00a2637d..d285254 100644
@@ -17,6 +17,8 @@
 	interrupt-parent = <&intc>;
 
 	cpus {
+		#address-cells = <1>;
+		#size-cells = <0>;
 		cpu at 0 {
 			device_type = "cpu";
 			compatible = "arm,cortex-a8";
#2 lore raw

PATCH 1/1 ARM: dts: add missing cpu #address-cell values

In reply to Arnd Bergmann

On 10/06/2013 16:52, Arnd Bergmann :

Quoted 8 lines

A recent series has added CPU numbers to a lot of dts files, but unfortunately in a few cases the #address-cells and #size-cells values are missing, which causes build warnings. This adds the missing ones for sunxi and sama5 that I found through build testing.

Cc Lorenzo Pieralisi <[email protected]>

For SAMA5D3:

Thanks Arnd.

Best regards,

Quoted 51 lines

---
I've applied this on top of the next/dt branch that has the original patches.

arch/arm/boot/dts/sama5d3.dtsi +2 -0
index abdf1c8..f57ffbc 100644
@@ -38,6 +38,8 @@
  		ssc1 = &ssc1;
  	};
  	cpus {
+		#address-cells = <1>;
+		#size-cells = <0>;
  		cpu at 0 {
  			device_type = "cpu";
  			compatible = "arm,cortex-a5";
arch/arm/boot/dts/sun4i-a10.dtsi +2 -0
index 39a8f61..06ef8b6 100644
@@ -16,6 +16,8 @@
  	interrupt-parent = <&intc>;
 
  	cpus {
+		#address-cells = <1>;
+		#size-cells = <0>;
  		cpu at 0 {
  			device_type = "cpu";
  			compatible = "arm,cortex-a8";
arch/arm/boot/dts/sun5i-a13.dtsi +2 -0
index 00a2637d..d285254 100644
@@ -17,6 +17,8 @@
  	interrupt-parent = <&intc>;
 
  	cpus {
+		#address-cells = <1>;
+		#size-cells = <0>;
  		cpu at 0 {
  			device_type = "cpu";
  			compatible = "arm,cortex-a8";

_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel at lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

Signature · 1 line
Nicolas Ferre