Skip to contentSkip to conversation

ARM: dts: s5p: Remove skeleton.dtsi usage and fix memory node DTC warnings

PATCH New Javier Martinez Canillas 2 participants 4 messages Sep 8, 2016 – Sep 16, 2016

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

cover ARM: dts: s5p: Remove skeleton.dtsi usage and fix memory node DTC warnings

Hello,

This small patch series is similar to [0] that removed the skeleton.dtsi usage for Exynos DTS. This series do the same for S5PV210 boards DTS.

[0]: http://www.spinics.net/lists/kernel/msg2333268.html

Best regards,
Javier

Javier Martinez Canillas (2):
ARM: dts: s5p: Remove skeleton.dtsi inclusion for S5PV210
ARM: dts: s5p: Add missing unit name to memory nodes for S5PV210
boards

 arch/arm/boot/dts/s5pv210-aquila.dts   | 2 +-
 arch/arm/boot/dts/s5pv210-goni.dts     | 2 +-
 arch/arm/boot/dts/s5pv210-smdkc110.dts | 2 +-
 arch/arm/boot/dts/s5pv210-smdkv210.dts | 2 +-
 arch/arm/boot/dts/s5pv210-torbreck.dts | 2 +-
 arch/arm/boot/dts/s5pv210.dtsi         | 4 +++-
 6 files changed, 8 insertions(+), 6 deletions(-)
Signature · 1 line
2.7.4
#1 lore raw

PATCH 1/2 ARM: dts: s5p: Remove skeleton.dtsi inclusion for S5PV210

The skeleton.dtsi file was removed in ARM64 for different reasons as explained in commit ("3ebee5a2e141 arm64: dts: kill skeleton.dtsi").

These also applies to ARM and it will also allow to get rid of the following DTC warnings in the future:

"Node /memory has a reg or ranges property, but no unit name"

---

 arch/arm/boot/dts/s5pv210.dtsi | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)
arch/arm/boot/dts/s5pv210.dtsi +3 -1
index ffc36bd24d2f..a853918be43f 100644
@@ -19,11 +19,13 @@
  * published by the Free Software Foundation.
 */
 
-#include "skeleton.dtsi"
 #include <dt-bindings/clock/s5pv210.h>
 #include <dt-bindings/clock/s5pv210-audss.h>
 
 / {
+	#address-cells = <1>;
+	#size-cells = <1>;
+
 	aliases {
 		csis0 = &csis0;
 		fimc0 = &fimc0;
Signature · 1 line
2.7.4
#2 lore raw

PATCH 2/2 ARM: dts: s5p: Add missing unit name to memory nodes for S5PV210 boards

In reply to Javier Martinez Canillas

This patch fixes the following DTC warnings:

"Node /memory has a reg or ranges property, but no unit name"

---

 arch/arm/boot/dts/s5pv210-aquila.dts   | 2 +-
 arch/arm/boot/dts/s5pv210-goni.dts     | 2 +-
 arch/arm/boot/dts/s5pv210-smdkc110.dts | 2 +-
 arch/arm/boot/dts/s5pv210-smdkv210.dts | 2 +-
 arch/arm/boot/dts/s5pv210-torbreck.dts | 2 +-
 5 files changed, 5 insertions(+), 5 deletions(-)
arch/arm/boot/dts/s5pv210-aquila.dts +1 -1
index da24ab570b0e..d763c5b4c65d 100644
@@ -29,7 +29,7 @@
 		bootargs = "console=ttySAC2,115200n8 root=/dev/mmcblk1p5 rw rootwait ignore_loglevel earlyprintk";
 	};
 
-	memory {
+	memory at 30000000 {
 		device_type = "memory";
 		reg = <0x30000000 0x05000000
 			0x40000000 0x18000000>;
arch/arm/boot/dts/s5pv210-goni.dts +1 -1
index 0a33d402138e..c56f51ee7897 100644
@@ -29,7 +29,7 @@
 		bootargs = "console=ttySAC0,115200n8 root=/dev/mmcblk0p5 rw rootwait ignore_loglevel earlyprintk";
 	};
 
-	memory {
+	memory at 30000000 {
 		device_type = "memory";
 		reg = <0x30000000 0x05000000
 			0x40000000 0x10000000
arch/arm/boot/dts/s5pv210-smdkc110.dts +1 -1
index 1eedab7ffe94..5d14da911aa5 100644
@@ -29,7 +29,7 @@
 		bootargs = "console=ttySAC0,115200n8 root=/dev/mmcblk0p1 rw rootwait ignore_loglevel earlyprintk";
 	};
 
-	memory {
+	memory@20000000 {
 		device_type = "memory";
 		reg = <0x20000000 0x20000000>;
 	};
arch/arm/boot/dts/s5pv210-smdkv210.dts +1 -1
index 9eb6aff3e38f..75398318ed57 100644
@@ -29,7 +29,7 @@
 		bootargs = "console=ttySAC0,115200n8 root=/dev/mmcblk0p1 rw rootwait ignore_loglevel earlyprintk";
 	};
 
-	memory {
+	memory at 20000000 {
 		device_type = "memory";
 		reg = <0x20000000 0x40000000>;
 	};
arch/arm/boot/dts/s5pv210-torbreck.dts +1 -1
index 622599fd2cfa..7cb50bcee888 100644
@@ -29,7 +29,7 @@
 		bootargs = "console=ttySAC0,115200n8 root=/dev/mmcblk0p1 rw rootwait ignore_loglevel earlyprintk";
 	};
 
-	memory {
+	memory at 20000000 {
 		device_type = "memory";
 		reg = <0x20000000 0x20000000>;
 	};
Signature · 1 line
2.7.4
maintainer Applied
#3 lore raw

cover ARM: dts: s5p: Remove skeleton.dtsi usage and fix memory node DTC warnings

In reply to Javier Martinez Canillas
Quoted 7 lines · Javier Martinez Canillas

Hello,

This small patch series is similar to [0] that removed the skeleton.dtsi usage for Exynos DTS. This series do the same for S5PV210 boards DTS.

[0]: http://www.spinics.net/lists/kernel/msg2333268.html

Quoted 8 lines

Best regards,
Javier

Javier Martinez Canillas (2):
ARM: dts: s5p: Remove skeleton.dtsi inclusion for S5PV210
ARM: dts: s5p: Add missing unit name to memory nodes for S5PV210
boards

Applied both, thanks.

Best regards,
Krzysztof