linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 1/3] ARM: dts: rockchip: add sram to bus_intmem nodename for rv1108
@ 2020-02-28 15:53 Johan Jonker
  2020-02-28 15:53 ` [PATCH 2/3] ARM: dts: rockchip: add sram to bus_intmem nodename for rk3036 Johan Jonker
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Johan Jonker @ 2020-02-28 15:53 UTC (permalink / raw)
  To: heiko; +Cc: robh+dt, devicetree, linux-arm-kernel, linux-rockchip, linux-kernel

A test with the command below gives these errors:

arch/arm/boot/dts/rv1108-elgin-r1.dt.yaml:
bus_intmem@10080000: $nodename:0: 'bus_intmem@10080000'
does not match '^sram(@.*)?'
arch/arm/boot/dts/rv1108-evb.dt.yaml:
bus_intmem@10080000: $nodename:0: 'bus_intmem@10080000'
does not match '^sram(@.*)?'

Fix this error by adding sram to the bus_intmem nodename
in rv1108.dtsi.

make ARCH=arm dtbs_check
DT_SCHEMA_FILES=Documentation/devicetree/bindings/sram/sram.yaml

Signed-off-by: Johan Jonker <jbx6244@gmail.com>
---
 arch/arm/boot/dts/rv1108.dtsi | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/arch/arm/boot/dts/rv1108.dtsi b/arch/arm/boot/dts/rv1108.dtsi
index 9bb109d66..c3621b3e6 100644
--- a/arch/arm/boot/dts/rv1108.dtsi
+++ b/arch/arm/boot/dts/rv1108.dtsi
@@ -102,7 +102,7 @@
 		};
 	};
 
-	bus_intmem@10080000 {
+	bus_intmem: sram@10080000 {
 		compatible = "mmio-sram";
 		reg = <0x10080000 0x2000>;
 		#address-cells = <1>;
-- 
2.11.0


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

* [PATCH 2/3] ARM: dts: rockchip: add sram to bus_intmem nodename for rk3036
  2020-02-28 15:53 [PATCH 1/3] ARM: dts: rockchip: add sram to bus_intmem nodename for rv1108 Johan Jonker
@ 2020-02-28 15:53 ` Johan Jonker
  2020-02-28 15:53 ` [PATCH 3/3] ARM: dts: rockchip: add sram to bus_intmem nodename for rk3288 Johan Jonker
  2020-02-29 23:49 ` [PATCH 1/3] ARM: dts: rockchip: add sram to bus_intmem nodename for rv1108 Heiko Stuebner
  2 siblings, 0 replies; 4+ messages in thread
From: Johan Jonker @ 2020-02-28 15:53 UTC (permalink / raw)
  To: heiko; +Cc: robh+dt, devicetree, linux-arm-kernel, linux-rockchip, linux-kernel

A test with the command below gives these errors:

arch/arm/boot/dts/rk3036-evb.dt.yaml:
bus_intmem@10080000: $nodename:0: 'bus_intmem@10080000'
does not match '^sram(@.*)?'
arch/arm/boot/dts/rk3036-kylin.dt.yaml:
bus_intmem@10080000: $nodename:0: 'bus_intmem@10080000'
does not match '^sram(@.*)?'

Fix this error by adding sram to the bus_intmem nodename
in rk3036.dtsi.

make ARCH=arm dtbs_check
DT_SCHEMA_FILES=Documentation/devicetree/bindings/sram/sram.yaml

Signed-off-by: Johan Jonker <jbx6244@gmail.com>
---
 arch/arm/boot/dts/rk3036.dtsi | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/arch/arm/boot/dts/rk3036.dtsi b/arch/arm/boot/dts/rk3036.dtsi
index cf36e2519..b62138563 100644
--- a/arch/arm/boot/dts/rk3036.dtsi
+++ b/arch/arm/boot/dts/rk3036.dtsi
@@ -101,7 +101,7 @@
 		#clock-cells = <0>;
 	};
 
-	bus_intmem@10080000 {
+	bus_intmem: sram@10080000 {
 		compatible = "mmio-sram";
 		reg = <0x10080000 0x2000>;
 		#address-cells = <1>;
-- 
2.11.0


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

* [PATCH 3/3] ARM: dts: rockchip: add sram to bus_intmem nodename for rk3288
  2020-02-28 15:53 [PATCH 1/3] ARM: dts: rockchip: add sram to bus_intmem nodename for rv1108 Johan Jonker
  2020-02-28 15:53 ` [PATCH 2/3] ARM: dts: rockchip: add sram to bus_intmem nodename for rk3036 Johan Jonker
@ 2020-02-28 15:53 ` Johan Jonker
  2020-02-29 23:49 ` [PATCH 1/3] ARM: dts: rockchip: add sram to bus_intmem nodename for rv1108 Heiko Stuebner
  2 siblings, 0 replies; 4+ messages in thread
From: Johan Jonker @ 2020-02-28 15:53 UTC (permalink / raw)
  To: heiko; +Cc: robh+dt, devicetree, linux-arm-kernel, linux-rockchip, linux-kernel

A test with the command below gives for example these errors:

arch/arm/boot/dts/rk3288-evb-act8846.dt.yaml:
bus_intmem@ff700000: $nodename:0: 'bus_intmem@ff700000'
does not match '^sram(@.*)?'
arch/arm/boot/dts/rk3288-evb-rk808.dt.yaml:
bus_intmem@ff700000: $nodename:0: 'bus_intmem@ff700000'
does not match '^sram(@.*)?'

'rockchip-pmu-sram.txt' inherit properties from 'sram.yaml'.
Fix this error by adding 'sram' to the bus_intmem nodename
in 'rk3288.dtsi'. But 'sram' is also a node name already in use.
To prevent confusion rename it to 'pmu_sram'.

make ARCH=arm dtbs_check
DT_SCHEMA_FILES=Documentation/devicetree/bindings/sram/sram.yaml

Signed-off-by: Johan Jonker <jbx6244@gmail.com>
---
 arch/arm/boot/dts/rk3288.dtsi | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/arch/arm/boot/dts/rk3288.dtsi b/arch/arm/boot/dts/rk3288.dtsi
index 9beb66216..039e8aa70 100644
--- a/arch/arm/boot/dts/rk3288.dtsi
+++ b/arch/arm/boot/dts/rk3288.dtsi
@@ -718,7 +718,7 @@
 		status = "disabled";
 	};
 
-	bus_intmem@ff700000 {
+	bus_intmem: sram@ff700000 {
 		compatible = "mmio-sram";
 		reg = <0x0 0xff700000 0x0 0x18000>;
 		#address-cells = <1>;
@@ -730,7 +730,7 @@
 		};
 	};
 
-	sram@ff720000 {
+	pmu_sram: sram@ff720000 {
 		compatible = "rockchip,rk3288-pmu-sram", "mmio-sram";
 		reg = <0x0 0xff720000 0x0 0x1000>;
 	};
-- 
2.11.0


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

* Re: [PATCH 1/3] ARM: dts: rockchip: add sram to bus_intmem nodename for rv1108
  2020-02-28 15:53 [PATCH 1/3] ARM: dts: rockchip: add sram to bus_intmem nodename for rv1108 Johan Jonker
  2020-02-28 15:53 ` [PATCH 2/3] ARM: dts: rockchip: add sram to bus_intmem nodename for rk3036 Johan Jonker
  2020-02-28 15:53 ` [PATCH 3/3] ARM: dts: rockchip: add sram to bus_intmem nodename for rk3288 Johan Jonker
@ 2020-02-29 23:49 ` Heiko Stuebner
  2 siblings, 0 replies; 4+ messages in thread
From: Heiko Stuebner @ 2020-02-29 23:49 UTC (permalink / raw)
  To: Johan Jonker
  Cc: robh+dt, devicetree, linux-arm-kernel, linux-rockchip, linux-kernel

Am Freitag, 28. Februar 2020, 16:53:52 CET schrieb Johan Jonker:
> A test with the command below gives these errors:
> 
> arch/arm/boot/dts/rv1108-elgin-r1.dt.yaml:
> bus_intmem@10080000: $nodename:0: 'bus_intmem@10080000'
> does not match '^sram(@.*)?'
> arch/arm/boot/dts/rv1108-evb.dt.yaml:
> bus_intmem@10080000: $nodename:0: 'bus_intmem@10080000'
> does not match '^sram(@.*)?'
> 
> Fix this error by adding sram to the bus_intmem nodename
> in rv1108.dtsi.
> 
> make ARCH=arm dtbs_check
> DT_SCHEMA_FILES=Documentation/devicetree/bindings/sram/sram.yaml
> 
> Signed-off-by: Johan Jonker <jbx6244@gmail.com>

applied all 3 patches for 5.7

Thanks
Heiko



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

end of thread, other threads:[~2020-02-29 23:49 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-02-28 15:53 [PATCH 1/3] ARM: dts: rockchip: add sram to bus_intmem nodename for rv1108 Johan Jonker
2020-02-28 15:53 ` [PATCH 2/3] ARM: dts: rockchip: add sram to bus_intmem nodename for rk3036 Johan Jonker
2020-02-28 15:53 ` [PATCH 3/3] ARM: dts: rockchip: add sram to bus_intmem nodename for rk3288 Johan Jonker
2020-02-29 23:49 ` [PATCH 1/3] ARM: dts: rockchip: add sram to bus_intmem nodename for rv1108 Heiko Stuebner

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