ARM: dts: add bus to rockchip amba nodenames
authorJohan Jonker <jbx6244@gmail.com>
Mon, 2 Mar 2020 15:30:46 +0000 (16:30 +0100)
committerHeiko Stuebner <heiko@sntech.de>
Wed, 11 Mar 2020 09:30:43 +0000 (10:30 +0100)
A test with the command below gives for example this error:

arch/arm/boot/dts/rk3188-bqedison2qc.dt.yaml: amba: $nodename:0:
'amba' does not match '^(bus|soc|axi|ahb|apb)(@[0-9a-f]+)?$'

AMBA is a open standard for the connection and
management of functional blocks in a SoC.
It's compatible with 'simple-bus', so fix this error
by adding 'bus' to all Rockchip 'amba' nodes.

make ARCH=arm dtbs_check
DT_SCHEMA_FILES=~/.local/lib/python3.5/site-packages/dtschema/
schemas/simple-bus.yaml

Signed-off-by: Johan Jonker <jbx6244@gmail.com>
Link: https://lore.kernel.org/r/20200302153047.17101-1-jbx6244@gmail.com
Signed-off-by: Heiko Stuebner <heiko@sntech.de>
arch/arm/boot/dts/rk3036.dtsi
arch/arm/boot/dts/rk322x.dtsi
arch/arm/boot/dts/rk3288.dtsi
arch/arm/boot/dts/rk3xxx.dtsi
arch/arm/boot/dts/rv1108.dtsi

index bc53f0ca0f25b4457e0bceb36aaf7ce141b9b691..2226f0d70604cbac38f1d7b3f3855667b99e224c 100644 (file)
@@ -54,7 +54,7 @@
                };
        };
 
-       amba {
+       amba: bus {
                compatible = "simple-bus";
                #address-cells = <1>;
                #size-cells = <1>;
index 166f56e639a2c9812d9a417a444a25ffe998dc91..8ad44213f0dc85287a39ac2c97746f50322c635b 100644 (file)
@@ -95,7 +95,7 @@
                };
        };
 
-       amba {
+       amba: bus {
                compatible = "simple-bus";
                #address-cells = <1>;
                #size-cells = <1>;
index 039e8aa70d2dd6e2c9fb7f3c054131fc256c2df2..8bcb4a51682ef6b34ed9edec69f8db70e03d98e6 100644 (file)
                };
        };
 
-       amba {
+       amba: bus {
                compatible = "simple-bus";
                #address-cells = <2>;
                #size-cells = <2>;
index 241f43e29c7746a99bd75c74d39f70791035b810..9438332b8a18736e4580629ce1e6a459ada4bf39 100644 (file)
@@ -32,7 +32,7 @@
                spi1 = &spi1;
        };
 
-       amba {
+       amba: bus {
                compatible = "simple-bus";
                #address-cells = <1>;
                #size-cells = <1>;
index 8f8607ed721e9d735538092fd7b63c2fdedbaa1c..fda16f97605a514e418047be784f386f57347eea 100644 (file)
@@ -85,7 +85,7 @@
                #clock-cells = <0>;
        };
 
-       amba {
+       amba: bus {
                compatible = "simple-bus";
                #address-cells = <1>;
                #size-cells = <1>;