ARM: dts: sunxi: Fix OPPs node name
authorMaxime Ripard <maxime@cerno.tech>
Wed, 1 Sep 2021 09:18:42 +0000 (11:18 +0200)
committerMaxime Ripard <maxime@cerno.tech>
Mon, 13 Sep 2021 07:04:30 +0000 (09:04 +0200)
The operating-points-v2 nodes are named inconsistently, but mostly
either opp_table0 or gpu-opp-table.  However, the underscore is an
invalid character for a node name and the thermal zone binding
explicitly requires that zones are called opp-table-*. Let's fix it.

Signed-off-by: Maxime Ripard <maxime@cerno.tech>
Acked-by: Jernej Skrabec <jernej.skrabec@gmail.com>
Link: https://lore.kernel.org/r/20210901091852.479202-43-maxime@cerno.tech
arch/arm/boot/dts/sun8i-a33.dtsi
arch/arm/boot/dts/sun8i-a83t.dtsi
arch/arm/boot/dts/sun8i-h3.dtsi
arch/arm64/boot/dts/allwinner/sun50i-a64-cpu-opp.dtsi
arch/arm64/boot/dts/allwinner/sun50i-h5-cpu-opp.dtsi
arch/arm64/boot/dts/allwinner/sun50i-h6-cpu-opp.dtsi

index 2beddbb3c51833995ee4bae35cba57be850a6d0e..b3d1bdfb5118e6291b2c8217083b610bcf776773 100644 (file)
@@ -46,7 +46,7 @@
 #include <dt-bindings/thermal/thermal.h>
 
 / {
-       cpu0_opp_table: opp_table0 {
+       cpu0_opp_table: opp-table-cpu {
                compatible = "operating-points-v2";
                opp-shared;
 
                io-channels = <&ths>;
        };
 
-       mali_opp_table: gpu-opp-table {
+       mali_opp_table: opp-table-gpu {
                compatible = "operating-points-v2";
 
                opp-144000000 {
index ac97eac91349b93a2c7a190d8ccf7eeb05100ac3..82fdb04122caa9077e79e961677262deb4cae519 100644 (file)
                status = "disabled";
        };
 
-       cpu0_opp_table: opp_table0 {
+       cpu0_opp_table: opp-table-cluster0 {
                compatible = "operating-points-v2";
                opp-shared;
 
                };
        };
 
-       cpu1_opp_table: opp_table1 {
+       cpu1_opp_table: opp-table-cluster1 {
                compatible = "operating-points-v2";
                opp-shared;
 
index 4e89701df91f8f94d59e366612842835cb52b6e2..ae4f933abb895a4562ed7588981613131c1affbf 100644 (file)
@@ -44,7 +44,7 @@
 #include <dt-bindings/thermal/thermal.h>
 
 / {
-       cpu0_opp_table: opp_table0 {
+       cpu0_opp_table: opp-table-cpu {
                compatible = "operating-points-v2";
                opp-shared;
 
                };
        };
 
-       gpu_opp_table: gpu-opp-table {
+       gpu_opp_table: opp-table-gpu {
                compatible = "operating-points-v2";
 
                opp-120000000 {
index 578c37490d901da5e13d50954954c522cb76e31a..e39db51eb4489f06940cf161466b686b26e649b5 100644 (file)
@@ -4,7 +4,7 @@
  */
 
 / {
-       cpu0_opp_table: opp_table0 {
+       cpu0_opp_table: opp-table-cpu {
                compatible = "operating-points-v2";
                opp-shared;
 
index b2657201957ebba4ab5011e0c17312f0a4ae3bd7..1afad8b437d7233c5e3ee5d9de4089a4e0700972 100644 (file)
@@ -2,7 +2,7 @@
 // Copyright (C) 2020 Chen-Yu Tsai <wens@csie.org>
 
 / {
-       cpu_opp_table: cpu-opp-table {
+       cpu_opp_table: opp-table-cpu {
                compatible = "operating-points-v2";
                opp-shared;
 
index 8c6e8536b69faf8e7fb51ac093450c4f87263829..0baf0f8e4d27285aa11239b8271797f6d1936425 100644 (file)
@@ -3,7 +3,7 @@
 // Copyright (C) 2020 Clément Péron <peron.clem@gmail.com>
 
 / {
-       cpu_opp_table: cpu-opp-table {
+       cpu_opp_table: opp-table-cpu {
                compatible = "allwinner,sun50i-h6-operating-points";
                nvmem-cells = <&cpu_speed_grade>;
                opp-shared;