diff mbox series

ARM: dts: bcm: Align L2 cache-controller nodename with dtschema

Message ID 20200626080646.4300-1-krzk@kernel.org (mailing list archive)
State Mainlined
Commit c4f294fd2fd23376cbafd277c672053e38e76e5d
Headers show
Series ARM: dts: bcm: Align L2 cache-controller nodename with dtschema | expand

Commit Message

Krzysztof Kozlowski June 26, 2020, 8:06 a.m. UTC
Fix dtschema validator warnings like:
    l2-cache@22000: $nodename:0:
        'l2-cache@22000' does not match '^(cache-controller|cpu)(@[0-9a-f,]+)*$'

Signed-off-by: Krzysztof Kozlowski <krzk@kernel.org>
---
 arch/arm/boot/dts/bcm-cygnus.dtsi | 2 +-
 arch/arm/boot/dts/bcm-hr2.dtsi    | 2 +-
 arch/arm/boot/dts/bcm-nsp.dtsi    | 2 +-
 arch/arm/boot/dts/bcm21664.dtsi   | 2 +-
 4 files changed, 4 insertions(+), 4 deletions(-)

Comments

Scott Branden June 26, 2020, 4:41 p.m. UTC | #1
Thanks for cleanup.

On 2020-06-26 1:06 a.m., Krzysztof Kozlowski wrote:
> Fix dtschema validator warnings like:
>      l2-cache@22000: $nodename:0:
>          'l2-cache@22000' does not match '^(cache-controller|cpu)(@[0-9a-f,]+)*$'
>
> Signed-off-by: Krzysztof Kozlowski <krzk@kernel.org>
Acked-by: Scott Branden <scott.branden@broadcom.com>
> ---
>   arch/arm/boot/dts/bcm-cygnus.dtsi | 2 +-
>   arch/arm/boot/dts/bcm-hr2.dtsi    | 2 +-
>   arch/arm/boot/dts/bcm-nsp.dtsi    | 2 +-
>   arch/arm/boot/dts/bcm21664.dtsi   | 2 +-
>   4 files changed, 4 insertions(+), 4 deletions(-)
>
> diff --git a/arch/arm/boot/dts/bcm-cygnus.dtsi b/arch/arm/boot/dts/bcm-cygnus.dtsi
> index 1bc45cfd5453..35bdd0969f0a 100644
> --- a/arch/arm/boot/dts/bcm-cygnus.dtsi
> +++ b/arch/arm/boot/dts/bcm-cygnus.dtsi
> @@ -91,7 +91,7 @@
>   			      <0x20100 0x100>;
>   		};
>   
> -		L2: l2-cache@22000 {
> +		L2: cache-controller@22000 {
>   			compatible = "arm,pl310-cache";
>   			reg = <0x22000 0x1000>;
>   			cache-unified;
> diff --git a/arch/arm/boot/dts/bcm-hr2.dtsi b/arch/arm/boot/dts/bcm-hr2.dtsi
> index 5e5f5ca3c86f..cbebed5f050e 100644
> --- a/arch/arm/boot/dts/bcm-hr2.dtsi
> +++ b/arch/arm/boot/dts/bcm-hr2.dtsi
> @@ -104,7 +104,7 @@
>   			      <0x20100 0x100>;
>   		};
>   
> -		L2: l2-cache@22000 {
> +		L2: cache-controller@22000 {
>   			compatible = "arm,pl310-cache";
>   			reg = <0x22000 0x1000>;
>   			cache-unified;
> diff --git a/arch/arm/boot/dts/bcm-nsp.dtsi b/arch/arm/boot/dts/bcm-nsp.dtsi
> index da6d70f09ef1..1c4a46e350e3 100644
> --- a/arch/arm/boot/dts/bcm-nsp.dtsi
> +++ b/arch/arm/boot/dts/bcm-nsp.dtsi
> @@ -122,7 +122,7 @@
>   			      <0x20100 0x100>;
>   		};
>   
> -		L2: l2-cache@22000 {
> +		L2: cache-controller@22000 {
>   			compatible = "arm,pl310-cache";
>   			reg = <0x22000 0x1000>;
>   			cache-unified;
> diff --git a/arch/arm/boot/dts/bcm21664.dtsi b/arch/arm/boot/dts/bcm21664.dtsi
> index 3cf66faf3b56..58ec1b2f8ef6 100644
> --- a/arch/arm/boot/dts/bcm21664.dtsi
> +++ b/arch/arm/boot/dts/bcm21664.dtsi
> @@ -90,7 +90,7 @@
>   		reg-io-width = <4>;
>   	};
>   
> -	L2: l2-cache@3ff20000 {
> +	L2: cache-controller@3ff20000 {
>   		compatible = "arm,pl310-cache";
>   		reg = <0x3ff20000 0x1000>;
>   		cache-unified;
Florian Fainelli June 26, 2020, 9:21 p.m. UTC | #2
On Fri, 26 Jun 2020 10:06:46 +0200, Krzysztof Kozlowski <krzk@kernel.org> wrote:
> Fix dtschema validator warnings like:
>     l2-cache@22000: $nodename:0:
>         'l2-cache@22000' does not match '^(cache-controller|cpu)(@[0-9a-f,]+)*$'
> 
> Signed-off-by: Krzysztof Kozlowski <krzk@kernel.org>
> ---

Applied to devicetree/next, thanks!
--
Florian
diff mbox series

Patch

diff --git a/arch/arm/boot/dts/bcm-cygnus.dtsi b/arch/arm/boot/dts/bcm-cygnus.dtsi
index 1bc45cfd5453..35bdd0969f0a 100644
--- a/arch/arm/boot/dts/bcm-cygnus.dtsi
+++ b/arch/arm/boot/dts/bcm-cygnus.dtsi
@@ -91,7 +91,7 @@ 
 			      <0x20100 0x100>;
 		};
 
-		L2: l2-cache@22000 {
+		L2: cache-controller@22000 {
 			compatible = "arm,pl310-cache";
 			reg = <0x22000 0x1000>;
 			cache-unified;
diff --git a/arch/arm/boot/dts/bcm-hr2.dtsi b/arch/arm/boot/dts/bcm-hr2.dtsi
index 5e5f5ca3c86f..cbebed5f050e 100644
--- a/arch/arm/boot/dts/bcm-hr2.dtsi
+++ b/arch/arm/boot/dts/bcm-hr2.dtsi
@@ -104,7 +104,7 @@ 
 			      <0x20100 0x100>;
 		};
 
-		L2: l2-cache@22000 {
+		L2: cache-controller@22000 {
 			compatible = "arm,pl310-cache";
 			reg = <0x22000 0x1000>;
 			cache-unified;
diff --git a/arch/arm/boot/dts/bcm-nsp.dtsi b/arch/arm/boot/dts/bcm-nsp.dtsi
index da6d70f09ef1..1c4a46e350e3 100644
--- a/arch/arm/boot/dts/bcm-nsp.dtsi
+++ b/arch/arm/boot/dts/bcm-nsp.dtsi
@@ -122,7 +122,7 @@ 
 			      <0x20100 0x100>;
 		};
 
-		L2: l2-cache@22000 {
+		L2: cache-controller@22000 {
 			compatible = "arm,pl310-cache";
 			reg = <0x22000 0x1000>;
 			cache-unified;
diff --git a/arch/arm/boot/dts/bcm21664.dtsi b/arch/arm/boot/dts/bcm21664.dtsi
index 3cf66faf3b56..58ec1b2f8ef6 100644
--- a/arch/arm/boot/dts/bcm21664.dtsi
+++ b/arch/arm/boot/dts/bcm21664.dtsi
@@ -90,7 +90,7 @@ 
 		reg-io-width = <4>;
 	};
 
-	L2: l2-cache@3ff20000 {
+	L2: cache-controller@3ff20000 {
 		compatible = "arm,pl310-cache";
 		reg = <0x3ff20000 0x1000>;
 		cache-unified;