2020-06-26 08:08:23

by Krzysztof Kozlowski

[permalink] [raw]
Subject: [PATCH] ARM: dts: prima: Align L2 cache-controller nodename with dtschema

Fix dtschema validator warnings like:
l2-cache-controller@80040000: $nodename:0:
'l2-cache-controller@80040000' does not match '^(cache-controller|cpu)(@[0-9a-f,]+)*$'

Signed-off-by: Krzysztof Kozlowski <[email protected]>
---
arch/arm/boot/dts/prima2.dtsi | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/arch/arm/boot/dts/prima2.dtsi b/arch/arm/boot/dts/prima2.dtsi
index 9c7b46b90c3c..7d3d93c22ed9 100644
--- a/arch/arm/boot/dts/prima2.dtsi
+++ b/arch/arm/boot/dts/prima2.dtsi
@@ -50,7 +50,7 @@
#size-cells = <1>;
ranges = <0x40000000 0x40000000 0x80000000>;

- l2-cache-controller@80040000 {
+ cache-controller@80040000 {
compatible = "arm,pl310-cache";
reg = <0x80040000 0x1000>;
interrupts = <59>;
--
2.17.1


2020-07-10 05:51:55

by Barry Song

[permalink] [raw]
Subject: Re: [PATCH] ARM: dts: prima: Align L2 cache-controller nodename with dtschema

Krzysztof Kozlowski <[email protected]> 于2020年6月26日周五 下午8:06写道:
>
> Fix dtschema validator warnings like:
> l2-cache-controller@80040000: $nodename:0:
> 'l2-cache-controller@80040000' does not match '^(cache-controller|cpu)(@[0-9a-f,]+)*$'
>
> Signed-off-by: Krzysztof Kozlowski <[email protected]>

Acked-by: Barry Song <[email protected]>

> ---
> arch/arm/boot/dts/prima2.dtsi | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/arch/arm/boot/dts/prima2.dtsi b/arch/arm/boot/dts/prima2.dtsi
> index 9c7b46b90c3c..7d3d93c22ed9 100644
> --- a/arch/arm/boot/dts/prima2.dtsi
> +++ b/arch/arm/boot/dts/prima2.dtsi
> @@ -50,7 +50,7 @@
> #size-cells = <1>;
> ranges = <0x40000000 0x40000000 0x80000000>;
>
> - l2-cache-controller@80040000 {
> + cache-controller@80040000 {
> compatible = "arm,pl310-cache";
> reg = <0x80040000 0x1000>;
> interrupts = <59>;
> --
> 2.17.1
>