* [PATCH 1/5] ARM: dts: vf500: Remove skeleton.dtsi inclusion
@ 2018-02-27 18:17 Fabio Estevam
2018-02-27 18:17 ` [PATCH 2/5] ARM: dts: vf: Add memory node unit name Fabio Estevam
` (4 more replies)
0 siblings, 5 replies; 7+ messages in thread
From: Fabio Estevam @ 2018-02-27 18:17 UTC (permalink / raw)
To: linux-arm-kernel
From: Fabio Estevam <fabio.estevam@nxp.com>
Since commit 9c0da3cc61f1 ("ARM: dts: explicitly mark skeleton.dtsi as
deprecated") the inclusion of skeleton.dtsi is deprecated, so
remove it as this file will eventually go away someday.
Move its content to the SoC dtsi file, so that the resultant dtb
is the same.
Signed-off-by: Fabio Estevam <fabio.estevam@nxp.com>
---
arch/arm/boot/dts/vf500.dtsi | 7 ++++++-
1 file changed, 6 insertions(+), 1 deletion(-)
diff --git a/arch/arm/boot/dts/vf500.dtsi b/arch/arm/boot/dts/vf500.dtsi
index 348bcd3..1e3b479 100644
--- a/arch/arm/boot/dts/vf500.dtsi
+++ b/arch/arm/boot/dts/vf500.dtsi
@@ -39,11 +39,16 @@
* OTHER DEALINGS IN THE SOFTWARE.
*/
-#include "skeleton.dtsi"
#include "vfxxx.dtsi"
#include <dt-bindings/interrupt-controller/arm-gic.h>
/ {
+ #address-cells = <1>;
+ #size-cells = <1>;
+ chosen { };
+ aliases { };
+ memory { device_type = "memory"; reg = <0 0>; };
+
cpus {
#address-cells = <1>;
#size-cells = <0>;
--
2.7.4
^ permalink raw reply related [flat|nested] 7+ messages in thread
* [PATCH 2/5] ARM: dts: vf: Add memory node unit name
2018-02-27 18:17 [PATCH 1/5] ARM: dts: vf500: Remove skeleton.dtsi inclusion Fabio Estevam
@ 2018-02-27 18:17 ` Fabio Estevam
2018-02-27 18:17 ` [PATCH 3/5] ARM: dts: vf500: Remove empty reg memory property Fabio Estevam
` (3 subsequent siblings)
4 siblings, 0 replies; 7+ messages in thread
From: Fabio Estevam @ 2018-02-27 18:17 UTC (permalink / raw)
To: linux-arm-kernel
From: Fabio Estevam <fabio.estevam@nxp.com>
Include memory node unit name in order to fix the following W=1
warnings:
Warning (unit_address_vs_reg): Node /memory has a reg or ranges property, but no unit name
Signed-off-by: Fabio Estevam <fabio.estevam@nxp.com>
---
arch/arm/boot/dts/vf500-colibri.dtsi | 2 +-
arch/arm/boot/dts/vf610-colibri.dtsi | 2 +-
arch/arm/boot/dts/vf610-cosmic.dts | 2 +-
arch/arm/boot/dts/vf610-twr.dts | 2 +-
arch/arm/boot/dts/vf610-zii-dev.dtsi | 2 +-
arch/arm/boot/dts/vf610m4-colibri.dts | 2 +-
6 files changed, 6 insertions(+), 6 deletions(-)
diff --git a/arch/arm/boot/dts/vf500-colibri.dtsi b/arch/arm/boot/dts/vf500-colibri.dtsi
index 515c4d2f..2e7e3ce 100644
--- a/arch/arm/boot/dts/vf500-colibri.dtsi
+++ b/arch/arm/boot/dts/vf500-colibri.dtsi
@@ -46,7 +46,7 @@
model = "Toradex Colibri VF50 COM";
compatible = "toradex,vf610-colibri_vf50", "fsl,vf500";
- memory {
+ memory at 80000000 {
reg = <0x80000000 0x8000000>;
};
diff --git a/arch/arm/boot/dts/vf610-colibri.dtsi b/arch/arm/boot/dts/vf610-colibri.dtsi
index 395812c..aeaf99f 100644
--- a/arch/arm/boot/dts/vf610-colibri.dtsi
+++ b/arch/arm/boot/dts/vf610-colibri.dtsi
@@ -46,7 +46,7 @@
model = "Toradex Colibri VF61 COM";
compatible = "toradex,vf610-colibri_vf61", "fsl,vf610";
- memory {
+ memory at 80000000 {
reg = <0x80000000 0x10000000>;
};
};
diff --git a/arch/arm/boot/dts/vf610-cosmic.dts b/arch/arm/boot/dts/vf610-cosmic.dts
index 5447f25..a3014e8 100644
--- a/arch/arm/boot/dts/vf610-cosmic.dts
+++ b/arch/arm/boot/dts/vf610-cosmic.dts
@@ -19,7 +19,7 @@
bootargs = "console=ttyLP1,115200";
};
- memory {
+ memory at 80000000 {
reg = <0x80000000 0x10000000>;
};
diff --git a/arch/arm/boot/dts/vf610-twr.dts b/arch/arm/boot/dts/vf610-twr.dts
index 6f787e67..6be7a82 100644
--- a/arch/arm/boot/dts/vf610-twr.dts
+++ b/arch/arm/boot/dts/vf610-twr.dts
@@ -50,7 +50,7 @@
bootargs = "console=ttyLP1,115200";
};
- memory {
+ memory at 80000000 {
reg = <0x80000000 0x8000000>;
};
diff --git a/arch/arm/boot/dts/vf610-zii-dev.dtsi b/arch/arm/boot/dts/vf610-zii-dev.dtsi
index aadd36d..4890b8a 100644
--- a/arch/arm/boot/dts/vf610-zii-dev.dtsi
+++ b/arch/arm/boot/dts/vf610-zii-dev.dtsi
@@ -49,7 +49,7 @@
stdout-path = "serial0:115200n8";
};
- memory {
+ memory at 80000000 {
reg = <0x80000000 0x20000000>;
};
diff --git a/arch/arm/boot/dts/vf610m4-colibri.dts b/arch/arm/boot/dts/vf610m4-colibri.dts
index 7198e8c..2b237ef 100644
--- a/arch/arm/boot/dts/vf610m4-colibri.dts
+++ b/arch/arm/boot/dts/vf610m4-colibri.dts
@@ -54,7 +54,7 @@
linux,stdout-path = "&uart2";
};
- memory {
+ memory at 8c000000 {
reg = <0x8c000000 0x3000000>;
};
};
--
2.7.4
^ permalink raw reply related [flat|nested] 7+ messages in thread
* [PATCH 3/5] ARM: dts: vf500: Remove empty reg memory property
2018-02-27 18:17 [PATCH 1/5] ARM: dts: vf500: Remove skeleton.dtsi inclusion Fabio Estevam
2018-02-27 18:17 ` [PATCH 2/5] ARM: dts: vf: Add memory node unit name Fabio Estevam
@ 2018-02-27 18:17 ` Fabio Estevam
2018-03-03 22:30 ` Stefan Agner
2018-02-27 18:17 ` [PATCH 4/5] ARM: dts: vf610m4: Remove skeleton.dtsi inclusion Fabio Estevam
` (2 subsequent siblings)
4 siblings, 1 reply; 7+ messages in thread
From: Fabio Estevam @ 2018-02-27 18:17 UTC (permalink / raw)
To: linux-arm-kernel
From: Fabio Estevam <fabio.estevam@nxp.com>
All the vf500 based boards include the real memory size in their
dts files, so remove the empty reg memory property.
Signed-off-by: Fabio Estevam <fabio.estevam@nxp.com>
---
arch/arm/boot/dts/vf500.dtsi | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/arch/arm/boot/dts/vf500.dtsi b/arch/arm/boot/dts/vf500.dtsi
index 1e3b479..bbff011 100644
--- a/arch/arm/boot/dts/vf500.dtsi
+++ b/arch/arm/boot/dts/vf500.dtsi
@@ -47,7 +47,7 @@
#size-cells = <1>;
chosen { };
aliases { };
- memory { device_type = "memory"; reg = <0 0>; };
+ memory { device_type = "memory"; };
cpus {
#address-cells = <1>;
--
2.7.4
^ permalink raw reply related [flat|nested] 7+ messages in thread
* [PATCH 4/5] ARM: dts: vf610m4: Remove skeleton.dtsi inclusion
2018-02-27 18:17 [PATCH 1/5] ARM: dts: vf500: Remove skeleton.dtsi inclusion Fabio Estevam
2018-02-27 18:17 ` [PATCH 2/5] ARM: dts: vf: Add memory node unit name Fabio Estevam
2018-02-27 18:17 ` [PATCH 3/5] ARM: dts: vf500: Remove empty reg memory property Fabio Estevam
@ 2018-02-27 18:17 ` Fabio Estevam
2018-02-27 18:17 ` [PATCH 5/5] ARM: dts: vf610m4: Remove empty reg memory property Fabio Estevam
2018-03-01 0:45 ` [PATCH 1/5] ARM: dts: vf500: Remove skeleton.dtsi inclusion Shawn Guo
4 siblings, 0 replies; 7+ messages in thread
From: Fabio Estevam @ 2018-02-27 18:17 UTC (permalink / raw)
To: linux-arm-kernel
From: Fabio Estevam <fabio.estevam@nxp.com>
Since commit 9c0da3cc61f1 ("ARM: dts: explicitly mark skeleton.dtsi as
deprecated") the inclusion of skeleton.dtsi is deprecated, so
remove it as this file will eventually go away someday.
Move its content to the SoC dtsi file, so that the resultant dtb
is the same.
Signed-off-by: Fabio Estevam <fabio.estevam@nxp.com>
---
arch/arm/boot/dts/vf610m4.dtsi | 9 ++++++++-
1 file changed, 8 insertions(+), 1 deletion(-)
diff --git a/arch/arm/boot/dts/vf610m4.dtsi b/arch/arm/boot/dts/vf610m4.dtsi
index 1474bd3..5d52af2 100644
--- a/arch/arm/boot/dts/vf610m4.dtsi
+++ b/arch/arm/boot/dts/vf610m4.dtsi
@@ -42,10 +42,17 @@
* OTHER DEALINGS IN THE SOFTWARE.
*/
-#include "skeleton.dtsi"
#include "armv7-m.dtsi"
#include "vfxxx.dtsi"
+/ {
+ #address-cells = <1>;
+ #size-cells = <1>;
+ chosen { };
+ aliases { };
+ memory { device_type = "memory"; reg = <0 0>; };
+};
+
&mscm_ir {
interrupt-parent = <&nvic>;
};
--
2.7.4
^ permalink raw reply related [flat|nested] 7+ messages in thread
* [PATCH 5/5] ARM: dts: vf610m4: Remove empty reg memory property
2018-02-27 18:17 [PATCH 1/5] ARM: dts: vf500: Remove skeleton.dtsi inclusion Fabio Estevam
` (2 preceding siblings ...)
2018-02-27 18:17 ` [PATCH 4/5] ARM: dts: vf610m4: Remove skeleton.dtsi inclusion Fabio Estevam
@ 2018-02-27 18:17 ` Fabio Estevam
2018-03-01 0:45 ` [PATCH 1/5] ARM: dts: vf500: Remove skeleton.dtsi inclusion Shawn Guo
4 siblings, 0 replies; 7+ messages in thread
From: Fabio Estevam @ 2018-02-27 18:17 UTC (permalink / raw)
To: linux-arm-kernel
From: Fabio Estevam <fabio.estevam@nxp.com>
All the vf610m4 based boards include the real memory size in their
dts files, so remove the empty reg memory property.
Signed-off-by: Fabio Estevam <fabio.estevam@nxp.com>
---
arch/arm/boot/dts/vf610m4.dtsi | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/arch/arm/boot/dts/vf610m4.dtsi b/arch/arm/boot/dts/vf610m4.dtsi
index 5d52af2..8293276 100644
--- a/arch/arm/boot/dts/vf610m4.dtsi
+++ b/arch/arm/boot/dts/vf610m4.dtsi
@@ -50,7 +50,7 @@
#size-cells = <1>;
chosen { };
aliases { };
- memory { device_type = "memory"; reg = <0 0>; };
+ memory { device_type = "memory"; };
};
&mscm_ir {
--
2.7.4
^ permalink raw reply related [flat|nested] 7+ messages in thread
* [PATCH 1/5] ARM: dts: vf500: Remove skeleton.dtsi inclusion
2018-02-27 18:17 [PATCH 1/5] ARM: dts: vf500: Remove skeleton.dtsi inclusion Fabio Estevam
` (3 preceding siblings ...)
2018-02-27 18:17 ` [PATCH 5/5] ARM: dts: vf610m4: Remove empty reg memory property Fabio Estevam
@ 2018-03-01 0:45 ` Shawn Guo
4 siblings, 0 replies; 7+ messages in thread
From: Shawn Guo @ 2018-03-01 0:45 UTC (permalink / raw)
To: linux-arm-kernel
On Tue, Feb 27, 2018 at 03:17:23PM -0300, Fabio Estevam wrote:
> From: Fabio Estevam <fabio.estevam@nxp.com>
>
> Since commit 9c0da3cc61f1 ("ARM: dts: explicitly mark skeleton.dtsi as
> deprecated") the inclusion of skeleton.dtsi is deprecated, so
> remove it as this file will eventually go away someday.
>
> Move its content to the SoC dtsi file, so that the resultant dtb
> is the same.
>
> Signed-off-by: Fabio Estevam <fabio.estevam@nxp.com>
Stefan, please take a look at the series.
Shawn
^ permalink raw reply [flat|nested] 7+ messages in thread
* [PATCH 3/5] ARM: dts: vf500: Remove empty reg memory property
2018-02-27 18:17 ` [PATCH 3/5] ARM: dts: vf500: Remove empty reg memory property Fabio Estevam
@ 2018-03-03 22:30 ` Stefan Agner
0 siblings, 0 replies; 7+ messages in thread
From: Stefan Agner @ 2018-03-03 22:30 UTC (permalink / raw)
To: linux-arm-kernel
On 27.02.2018 19:17, Fabio Estevam wrote:
> From: Fabio Estevam <fabio.estevam@nxp.com>
>
> All the vf500 based boards include the real memory size in their
> dts files, so remove the empty reg memory property.
Nit: This is somewhat confusing, it almost sounds as if you want to
remove the memory node.
How about:
...so remove the zero length reg property.
Otherwise this series looks good to me:
Reviewed-by: Stefan Agner <stefan@agner.ch>
>
> Signed-off-by: Fabio Estevam <fabio.estevam@nxp.com>
> ---
> arch/arm/boot/dts/vf500.dtsi | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/arch/arm/boot/dts/vf500.dtsi b/arch/arm/boot/dts/vf500.dtsi
> index 1e3b479..bbff011 100644
> --- a/arch/arm/boot/dts/vf500.dtsi
> +++ b/arch/arm/boot/dts/vf500.dtsi
> @@ -47,7 +47,7 @@
> #size-cells = <1>;
> chosen { };
> aliases { };
> - memory { device_type = "memory"; reg = <0 0>; };
> + memory { device_type = "memory"; };
>
> cpus {
> #address-cells = <1>;
^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2018-03-03 22:30 UTC | newest]
Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-02-27 18:17 [PATCH 1/5] ARM: dts: vf500: Remove skeleton.dtsi inclusion Fabio Estevam
2018-02-27 18:17 ` [PATCH 2/5] ARM: dts: vf: Add memory node unit name Fabio Estevam
2018-02-27 18:17 ` [PATCH 3/5] ARM: dts: vf500: Remove empty reg memory property Fabio Estevam
2018-03-03 22:30 ` Stefan Agner
2018-02-27 18:17 ` [PATCH 4/5] ARM: dts: vf610m4: Remove skeleton.dtsi inclusion Fabio Estevam
2018-02-27 18:17 ` [PATCH 5/5] ARM: dts: vf610m4: Remove empty reg memory property Fabio Estevam
2018-03-01 0:45 ` [PATCH 1/5] ARM: dts: vf500: Remove skeleton.dtsi inclusion Shawn Guo
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).