2021-08-20 08:21:55

by Krzysztof Kozlowski

[permalink] [raw]
Subject: [PATCH] arm64: dts: hisilicon: align operating-points table name with dtschema

Align the name of operating-points node to dtschema to fix warnings like:

cpu_opp_table: $nodename:0: 'cpu_opp_table' does not match '^opp-table(-[a-z0-9]+)?$'

Signed-off-by: Krzysztof Kozlowski <[email protected]>
---
arch/arm64/boot/dts/hisilicon/hi3660.dtsi | 4 ++--
arch/arm64/boot/dts/hisilicon/hi6220.dtsi | 2 +-
2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/arch/arm64/boot/dts/hisilicon/hi3660.dtsi b/arch/arm64/boot/dts/hisilicon/hi3660.dtsi
index 2d5c1a348716..19a979779bdb 100644
--- a/arch/arm64/boot/dts/hisilicon/hi3660.dtsi
+++ b/arch/arm64/boot/dts/hisilicon/hi3660.dtsi
@@ -210,7 +210,7 @@ A73_L2: l2-cache1 {
};
};

- cluster0_opp: opp_table0 {
+ cluster0_opp: opp-table-0 {
compatible = "operating-points-v2";
opp-shared;

@@ -245,7 +245,7 @@ opp04 {
};
};

- cluster1_opp: opp_table1 {
+ cluster1_opp: opp-table-1 {
compatible = "operating-points-v2";
opp-shared;

diff --git a/arch/arm64/boot/dts/hisilicon/hi6220.dtsi b/arch/arm64/boot/dts/hisilicon/hi6220.dtsi
index dde9371dc545..3f2134779115 100644
--- a/arch/arm64/boot/dts/hisilicon/hi6220.dtsi
+++ b/arch/arm64/boot/dts/hisilicon/hi6220.dtsi
@@ -193,7 +193,7 @@ CLUSTER1_L2: l2-cache1 {
};
};

- cpu_opp_table: cpu_opp_table {
+ cpu_opp_table: opp-table-0 {
compatible = "operating-points-v2";
opp-shared;

--
2.30.2


2021-10-15 10:48:32

by Wei Xu

[permalink] [raw]
Subject: Re: [PATCH] arm64: dts: hisilicon: align operating-points table name with dtschema

Hi Krzysztof,

On 2021/8/20 16:15, Krzysztof Kozlowski wrote:
> Align the name of operating-points node to dtschema to fix warnings like:
>
> cpu_opp_table: $nodename:0: 'cpu_opp_table' does not match '^opp-table(-[a-z0-9]+)?$'
>
> Signed-off-by: Krzysztof Kozlowski <[email protected]>

Applied to the HiSilicon arm64 dt tree.
Thanks!

Best Regards,
Wei

> ---
> arch/arm64/boot/dts/hisilicon/hi3660.dtsi | 4 ++--
> arch/arm64/boot/dts/hisilicon/hi6220.dtsi | 2 +-
> 2 files changed, 3 insertions(+), 3 deletions(-)
>
> diff --git a/arch/arm64/boot/dts/hisilicon/hi3660.dtsi b/arch/arm64/boot/dts/hisilicon/hi3660.dtsi
> index 2d5c1a348716..19a979779bdb 100644
> --- a/arch/arm64/boot/dts/hisilicon/hi3660.dtsi
> +++ b/arch/arm64/boot/dts/hisilicon/hi3660.dtsi
> @@ -210,7 +210,7 @@ A73_L2: l2-cache1 {
> };
> };
>
> - cluster0_opp: opp_table0 {
> + cluster0_opp: opp-table-0 {
> compatible = "operating-points-v2";
> opp-shared;
>
> @@ -245,7 +245,7 @@ opp04 {
> };
> };
>
> - cluster1_opp: opp_table1 {
> + cluster1_opp: opp-table-1 {
> compatible = "operating-points-v2";
> opp-shared;
>
> diff --git a/arch/arm64/boot/dts/hisilicon/hi6220.dtsi b/arch/arm64/boot/dts/hisilicon/hi6220.dtsi
> index dde9371dc545..3f2134779115 100644
> --- a/arch/arm64/boot/dts/hisilicon/hi6220.dtsi
> +++ b/arch/arm64/boot/dts/hisilicon/hi6220.dtsi
> @@ -193,7 +193,7 @@ CLUSTER1_L2: l2-cache1 {
> };
> };
>
> - cpu_opp_table: cpu_opp_table {
> + cpu_opp_table: opp-table-0 {
> compatible = "operating-points-v2";
> opp-shared;
>
>