devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/2] ARM: dts: s5p: Remove skeleton.dtsi usage and fix memory node DTC warnings
@ 2016-09-08 15:25 Javier Martinez Canillas
  2016-09-08 15:26 ` [PATCH 1/2] ARM: dts: s5p: Remove skeleton.dtsi inclusion for S5PV210 Javier Martinez Canillas
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Javier Martinez Canillas @ 2016-09-08 15:25 UTC (permalink / raw)
  To: linux-kernel-u79uwXL29TY76Z2rM5mHXA
  Cc: Javier Martinez Canillas, devicetree-u79uwXL29TY76Z2rM5mHXA,
	Kukjin Kim, Russell King,
	linux-samsung-soc-u79uwXL29TY76Z2rM5mHXA, Rob Herring,
	Mark Rutland, Krzysztof Kozlowski,
	linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r

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(-)

-- 
2.7.4

--
To unsubscribe from this list: send the line "unsubscribe devicetree" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

^ permalink raw reply	[flat|nested] 4+ messages in thread

* [PATCH 1/2] ARM: dts: s5p: Remove skeleton.dtsi inclusion for S5PV210
  2016-09-08 15:25 [PATCH 0/2] ARM: dts: s5p: Remove skeleton.dtsi usage and fix memory node DTC warnings Javier Martinez Canillas
@ 2016-09-08 15:26 ` Javier Martinez Canillas
  2016-09-08 15:26 ` [PATCH 2/2] ARM: dts: s5p: Add missing unit name to memory nodes for S5PV210 boards Javier Martinez Canillas
       [not found] ` <CGME20160916071725eucas1p2b6cc402af114da6bfc99bfed98b17b48@eucas1p2.samsung.com>
  2 siblings, 0 replies; 4+ messages in thread
From: Javier Martinez Canillas @ 2016-09-08 15:26 UTC (permalink / raw)
  To: linux-kernel
  Cc: Javier Martinez Canillas, devicetree, Kukjin Kim, Russell King,
	linux-samsung-soc, Rob Herring, Mark Rutland, Krzysztof Kozlowski,
	linux-arm-kernel

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"

Signed-off-by: Javier Martinez Canillas <javier@osg.samsung.com>
---

 arch/arm/boot/dts/s5pv210.dtsi | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/arch/arm/boot/dts/s5pv210.dtsi b/arch/arm/boot/dts/s5pv210.dtsi
index ffc36bd24d2f..a853918be43f 100644
--- a/arch/arm/boot/dts/s5pv210.dtsi
+++ b/arch/arm/boot/dts/s5pv210.dtsi
@@ -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;
-- 
2.7.4

^ permalink raw reply related	[flat|nested] 4+ messages in thread

* [PATCH 2/2] ARM: dts: s5p: Add missing unit name to memory nodes for S5PV210 boards
  2016-09-08 15:25 [PATCH 0/2] ARM: dts: s5p: Remove skeleton.dtsi usage and fix memory node DTC warnings Javier Martinez Canillas
  2016-09-08 15:26 ` [PATCH 1/2] ARM: dts: s5p: Remove skeleton.dtsi inclusion for S5PV210 Javier Martinez Canillas
@ 2016-09-08 15:26 ` Javier Martinez Canillas
       [not found] ` <CGME20160916071725eucas1p2b6cc402af114da6bfc99bfed98b17b48@eucas1p2.samsung.com>
  2 siblings, 0 replies; 4+ messages in thread
From: Javier Martinez Canillas @ 2016-09-08 15:26 UTC (permalink / raw)
  To: linux-kernel
  Cc: Javier Martinez Canillas, devicetree, Kukjin Kim, Russell King,
	linux-samsung-soc, Rob Herring, Mark Rutland, Krzysztof Kozlowski,
	linux-arm-kernel

This patch fixes the following DTC warnings:

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

Signed-off-by: Javier Martinez Canillas <javier@osg.samsung.com>

---

 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(-)

diff --git a/arch/arm/boot/dts/s5pv210-aquila.dts b/arch/arm/boot/dts/s5pv210-aquila.dts
index da24ab570b0e..d763c5b4c65d 100644
--- a/arch/arm/boot/dts/s5pv210-aquila.dts
+++ b/arch/arm/boot/dts/s5pv210-aquila.dts
@@ -29,7 +29,7 @@
 		bootargs = "console=ttySAC2,115200n8 root=/dev/mmcblk1p5 rw rootwait ignore_loglevel earlyprintk";
 	};
 
-	memory {
+	memory@30000000 {
 		device_type = "memory";
 		reg = <0x30000000 0x05000000
 			0x40000000 0x18000000>;
diff --git a/arch/arm/boot/dts/s5pv210-goni.dts b/arch/arm/boot/dts/s5pv210-goni.dts
index 0a33d402138e..c56f51ee7897 100644
--- a/arch/arm/boot/dts/s5pv210-goni.dts
+++ b/arch/arm/boot/dts/s5pv210-goni.dts
@@ -29,7 +29,7 @@
 		bootargs = "console=ttySAC0,115200n8 root=/dev/mmcblk0p5 rw rootwait ignore_loglevel earlyprintk";
 	};
 
-	memory {
+	memory@30000000 {
 		device_type = "memory";
 		reg = <0x30000000 0x05000000
 			0x40000000 0x10000000
diff --git a/arch/arm/boot/dts/s5pv210-smdkc110.dts b/arch/arm/boot/dts/s5pv210-smdkc110.dts
index 1eedab7ffe94..5d14da911aa5 100644
--- a/arch/arm/boot/dts/s5pv210-smdkc110.dts
+++ b/arch/arm/boot/dts/s5pv210-smdkc110.dts
@@ -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>;
 	};
diff --git a/arch/arm/boot/dts/s5pv210-smdkv210.dts b/arch/arm/boot/dts/s5pv210-smdkv210.dts
index 9eb6aff3e38f..75398318ed57 100644
--- a/arch/arm/boot/dts/s5pv210-smdkv210.dts
+++ b/arch/arm/boot/dts/s5pv210-smdkv210.dts
@@ -29,7 +29,7 @@
 		bootargs = "console=ttySAC0,115200n8 root=/dev/mmcblk0p1 rw rootwait ignore_loglevel earlyprintk";
 	};
 
-	memory {
+	memory@20000000 {
 		device_type = "memory";
 		reg = <0x20000000 0x40000000>;
 	};
diff --git a/arch/arm/boot/dts/s5pv210-torbreck.dts b/arch/arm/boot/dts/s5pv210-torbreck.dts
index 622599fd2cfa..7cb50bcee888 100644
--- a/arch/arm/boot/dts/s5pv210-torbreck.dts
+++ b/arch/arm/boot/dts/s5pv210-torbreck.dts
@@ -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>;
 	};
-- 
2.7.4

^ permalink raw reply related	[flat|nested] 4+ messages in thread

* Re: [PATCH 0/2] ARM: dts: s5p: Remove skeleton.dtsi usage and fix memory node DTC warnings
       [not found] ` <CGME20160916071725eucas1p2b6cc402af114da6bfc99bfed98b17b48@eucas1p2.samsung.com>
@ 2016-09-16  7:17   ` Krzysztof Kozlowski
  0 siblings, 0 replies; 4+ messages in thread
From: Krzysztof Kozlowski @ 2016-09-16  7:17 UTC (permalink / raw)
  To: Javier Martinez Canillas, linux-kernel
  Cc: Mark Rutland, devicetree, linux-samsung-soc, Russell King,
	Rob Herring, Kukjin Kim, linux-arm-kernel

On 09/08/2016 05:25 PM, Javier Martinez Canillas wrote:
> 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

Applied both, thanks.

Best regards,
Krzysztof

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2016-09-16  7:17 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-09-08 15:25 [PATCH 0/2] ARM: dts: s5p: Remove skeleton.dtsi usage and fix memory node DTC warnings Javier Martinez Canillas
2016-09-08 15:26 ` [PATCH 1/2] ARM: dts: s5p: Remove skeleton.dtsi inclusion for S5PV210 Javier Martinez Canillas
2016-09-08 15:26 ` [PATCH 2/2] ARM: dts: s5p: Add missing unit name to memory nodes for S5PV210 boards Javier Martinez Canillas
     [not found] ` <CGME20160916071725eucas1p2b6cc402af114da6bfc99bfed98b17b48@eucas1p2.samsung.com>
2016-09-16  7:17   ` [PATCH 0/2] ARM: dts: s5p: Remove skeleton.dtsi usage and fix memory node DTC warnings Krzysztof Kozlowski

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).