ARM: dts: berlin: fix dtc warnings
cover ARM: dts: berlin: fix dtc warnings
This is a clean up series to fix berlin arm platforms dtc warnings. Firstly we remove skeleton.dtsi inclusion. Then add missing unit name of /soc node and /memory node. Lastly, we fix regulators' name
Jisheng Zhang (10):
ARM: dts: berlin2q: Remove skeleton.dtsi inclusion
ARM: dts: berlin2cd: Remove skeleton.dtsi inclusion
ARM: dts: berlin2: Remove skeleton.dtsi inclusion
ARM: dts: berlin2q: Add missing unit name to /soc node
ARM: dts: berlin2cd: Add missing unit name to /soc node
ARM: dts: berlin2: Add missing unit name to /soc node
ARM: dts: berlin2q-marvell-dmp: add missing unit name to /memory node
ARM: dts: chromecast: add missing unit name to /memory node
ARM: dts: sony-nsz-gs7: add missing unit name to /memory node
ARM: dts: berlin2q-marvell-dmp: fix regulators' name
arch/arm/boot/dts/berlin2-sony-nsz-gs7.dts | 2 +- arch/arm/boot/dts/berlin2.dtsi | 5 +++-- arch/arm/boot/dts/berlin2cd-google-chromecast.dts | 2 +- arch/arm/boot/dts/berlin2cd.dtsi | 5 +++-- arch/arm/boot/dts/berlin2q-marvell-dmp.dts | 12 ++++++------ arch/arm/boot/dts/berlin2q.dtsi | 6 +++--- 6 files changed, 17 insertions(+), 15 deletions(-)
Signature · 1 line
2.9.3
PATCH 1/10 ARM: dts: berlin2q: Remove skeleton.dtsi inclusion
As noted in [1], "there are a number of problems with skeleton.dtsi, and it would be prefereable to remove it entirely." This patch is to remove skeleton.dtsi inclusion from berlin2q.
[1] http://www.spinics.net/lists/arm-kernel/msg528080.html
--- arch/arm/boot/dts/berlin2q.dtsi | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
arch/arm/boot/dts/berlin2q.dtsi +2 -2
@@ -37,11 +37,11 @@ #include <dt-bindings/clock/berlin2q.h> #include <dt-bindings/interrupt-controller/arm-gic.h> -#include "skeleton.dtsi" - / { model = "Marvell Armada 1500 pro (BG2-Q) SoC"; compatible = "marvell,berlin2q", "marvell,berlin"; + #address-cells = <1>; + #size-cells = <1>; aliases { serial0 = &uart0;
Signature · 1 line
2.9.3
PATCH 2/10 ARM: dts: berlin2cd: Remove skeleton.dtsi inclusion
In reply to Jisheng ZhangAs noted in [1], "there are a number of problems with skeleton.dtsi, and it would be prefereable to remove it entirely." This patch is to remove skeleton.dtsi inclusion from berlin2cd.
[1] http://www.spinics.net/lists/arm-kernel/msg528080.html
--- arch/arm/boot/dts/berlin2cd.dtsi | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)
arch/arm/boot/dts/berlin2cd.dtsi +2 -1
@@ -39,13 +39,14 @@ * OTHER DEALINGS IN THE SOFTWARE. */ -#include "skeleton.dtsi" #include <dt-bindings/clock/berlin2.h> #include <dt-bindings/interrupt-controller/arm-gic.h> / { model = "Marvell Armada 1500-mini (BG2CD) SoC"; compatible = "marvell,berlin2cd", "marvell,berlin"; + #address-cells = <1>; + #size-cells = <1>; aliases { serial0 = &uart0;
Signature · 1 line
2.9.3
PATCH 3/10 ARM: dts: berlin2: Remove skeleton.dtsi inclusion
In reply to Jisheng ZhangAs noted in [1], "there are a number of problems with skeleton.dtsi, and it would be prefereable to remove it entirely." This patch is to remove skeleton.dtsi inclusion from berlin2.
[1] http://www.spinics.net/lists/arm-kernel/msg528080.html
--- arch/arm/boot/dts/berlin2.dtsi | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)
arch/arm/boot/dts/berlin2.dtsi +2 -1
@@ -39,13 +39,14 @@ * OTHER DEALINGS IN THE SOFTWARE. */ -#include "skeleton.dtsi" #include <dt-bindings/clock/berlin2.h> #include <dt-bindings/interrupt-controller/arm-gic.h> / { model = "Marvell Armada 1500 (BG2) SoC"; compatible = "marvell,berlin2", "marvell,berlin"; + #address-cells = <1>; + #size-cells = <1>; aliases { serial0 = &uart0;
Signature · 1 line
2.9.3
PATCH 4/10 ARM: dts: berlin2q: Add missing unit name to /soc node
In reply to Jisheng ZhangThis patch fixes the following DTC warning with W=1:
"Node /soc has a reg or ranges property, but no unit name"
--- arch/arm/boot/dts/berlin2q.dtsi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
arch/arm/boot/dts/berlin2q.dtsi +1 -1
@@ -99,7 +99,7 @@ clock-frequency = <25000000>; }; - soc { + soc at f7000000 { compatible = "simple-bus"; #address-cells = <1>; #size-cells = <1>;
Signature · 1 line
2.9.3
PATCH 5/10 ARM: dts: berlin2cd: Add missing unit name to /soc node
In reply to Jisheng ZhangThis patch fixes the following DTC warning with W=1:
"Node /soc has a reg or ranges property, but no unit name"
--- arch/arm/boot/dts/berlin2cd.dtsi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
arch/arm/boot/dts/berlin2cd.dtsi +1 -1
@@ -79,7 +79,7 @@ clock-frequency = <25000000>; }; - soc { + soc at f7000000 { compatible = "simple-bus"; #address-cells = <1>; #size-cells = <1>;
Signature · 1 line
2.9.3
PATCH 6/10 ARM: dts: berlin2: Add missing unit name to /soc node
In reply to Jisheng ZhangThis patch fixes the following DTC warning with W=1:
"Node /soc has a reg or ranges property, but no unit name"
--- arch/arm/boot/dts/berlin2.dtsi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
arch/arm/boot/dts/berlin2.dtsi +1 -1
@@ -90,7 +90,7 @@ clock-frequency = <25000000>; }; - soc { + soc at f7000000 { compatible = "simple-bus"; #address-cells = <1>; #size-cells = <1>;
Signature · 1 line
2.9.3
PATCH 7/10 ARM: dts: berlin2q-marvell-dmp: add missing unit name to /memory node
In reply to Jisheng ZhangThis patch fixes the following DTC warning with W=1:
"Node /memory has a reg or ranges property, but no unit name"
--- arch/arm/boot/dts/berlin2q-marvell-dmp.dts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
arch/arm/boot/dts/berlin2q-marvell-dmp.dts +1 -1
@@ -43,7 +43,7 @@ model = "Marvell BG2-Q DMP"; compatible = "marvell,berlin2q-dmp", "marvell,berlin2q", "marvell,berlin"; - memory { + memory at 0 { device_type = "memory"; reg = <0x00000000 0x80000000>; };
Signature · 1 line
2.9.3
PATCH 8/10 ARM: dts: chromecast: add missing unit name to /memory node
In reply to Jisheng ZhangThis patch fixes the following DTC warning with W=1:
"Node /memory has a reg or ranges property, but no unit name"
--- arch/arm/boot/dts/berlin2cd-google-chromecast.dts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
arch/arm/boot/dts/berlin2cd-google-chromecast.dts +1 -1
@@ -50,7 +50,7 @@ stdout-path = "serial0:115200n8"; }; - memory { + memory at 0 { device_type = "memory"; reg = <0x00000000 0x20000000>; /* 512 MB */ };
Signature · 1 line
2.9.3
Quoted 4 lines · Jisheng Zhang
This is a clean up series to fix berlin arm platforms dtc warnings. Firstly we remove
skeleton.dtsiinclusion. Then add missing unit name of /soc node and /memory node. Lastly, we fix regulators' name
Quoted 9 lines
Jisheng Zhang (10):
ARM: dts: berlin2q: Removeskeleton.dtsiinclusion
ARM: dts: berlin2cd: Removeskeleton.dtsiinclusion
ARM: dts: berlin2: Removeskeleton.dtsiinclusion
ARM: dts: berlin2q: Add missing unit name to /soc node
ARM: dts: berlin2cd: Add missing unit name to /soc node
ARM: dts: berlin2: Add missing unit name to /soc node
ARM: dts: berlin2q-marvell-dmp: add missing unit name to /memory node
ARM: dts: chromecast: add missing unit name to /memory node
Jisheng,
Applied the 8 patches above.
Quoted 1 line
ARM: dts: sony-nsz-gs7: add missing unit name to /memory node
I didn't receive this one and could not find it online. I recreated the patch by using the chromecast patch above, so applied.
Quoted 1 line
ARM: dts: berlin2q-marvell-dmp: fix regulators' name
I have no clue what it should be fixed to.
Sebastian
Quoted 8 lines
arch/arm/boot/dts/berlin2-sony-nsz-gs7.dts | 2 +- arch/arm/boot/dts/berlin2.dtsi | 5 +++-- arch/arm/boot/dts/berlin2cd-google-chromecast.dts | 2 +- arch/arm/boot/dts/berlin2cd.dtsi | 5 +++-- arch/arm/boot/dts/berlin2q-marvell-dmp.dts | 12 ++++++------ arch/arm/boot/dts/berlin2q.dtsi | 6 +++--- 6 files changed, 17 insertions(+), 15 deletions(-)
Hi Sebastian,
Quoted 21 lines · On Wed, 28 Sep 2016 21:40:21 +0200 Sebastian Hesselbarth wrote:
Quoted 4 lines · Jisheng Zhang
This is a clean up series to fix berlin arm platforms dtc warnings. Firstly we remove
skeleton.dtsiinclusion. Then add missing unit name of /soc node and /memory node. Lastly, we fix regulators' nameQuoted 9 lines
Jisheng Zhang (10):
ARM: dts: berlin2q: Removeskeleton.dtsiinclusion
ARM: dts: berlin2cd: Removeskeleton.dtsiinclusion
ARM: dts: berlin2: Removeskeleton.dtsiinclusion
ARM: dts: berlin2q: Add missing unit name to /soc node
ARM: dts: berlin2cd: Add missing unit name to /soc node
ARM: dts: berlin2: Add missing unit name to /soc node
ARM: dts: berlin2q-marvell-dmp: add missing unit name to /memory node
ARM: dts: chromecast: add missing unit name to /memory nodeJisheng,
Applied the 8 patches above.
Quoted 1 line
ARM: dts: sony-nsz-gs7: add missing unit name to /memory node
Quoted 7 lines
I didn't receive this one and could not find it online. I recreated the patch by using the chromecast patch above, so applied.
Quoted 1 line
ARM: dts: berlin2q-marvell-dmp: fix regulators' name
I have no clue what it should be fixed to.
DTC will complain with W=1:
Warning (unit_address_vs_reg): Node /regulators/regulator at 0 has a unit name, but no reg property
This patch tries to fix that warning.
Thanks,
Jisheng
Quoted 12 lines
Sebastian
Quoted 8 lines
arch/arm/boot/dts/berlin2-sony-nsz-gs7.dts | 2 +- arch/arm/boot/dts/berlin2.dtsi | 5 +++-- arch/arm/boot/dts/berlin2cd-google-chromecast.dts | 2 +- arch/arm/boot/dts/berlin2cd.dtsi | 5 +++-- arch/arm/boot/dts/berlin2q-marvell-dmp.dts | 12 ++++++------ arch/arm/boot/dts/berlin2q.dtsi | 6 +++--- 6 files changed, 17 insertions(+), 15 deletions(-)