Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

ARM: dts: sunxi: Fix OPPs node name

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

+9 -9
+2 -2
arch/arm/boot/dts/sun8i-a33.dtsi
··· 46 46 #include <dt-bindings/thermal/thermal.h> 47 47 48 48 / { 49 - cpu0_opp_table: opp_table0 { 49 + cpu0_opp_table: opp-table-cpu { 50 50 compatible = "operating-points-v2"; 51 51 opp-shared; 52 52 ··· 164 164 io-channels = <&ths>; 165 165 }; 166 166 167 - mali_opp_table: gpu-opp-table { 167 + mali_opp_table: opp-table-gpu { 168 168 compatible = "operating-points-v2"; 169 169 170 170 opp-144000000 {
+2 -2
arch/arm/boot/dts/sun8i-a83t.dtsi
··· 200 200 status = "disabled"; 201 201 }; 202 202 203 - cpu0_opp_table: opp_table0 { 203 + cpu0_opp_table: opp-table-cluster0 { 204 204 compatible = "operating-points-v2"; 205 205 opp-shared; 206 206 ··· 253 253 }; 254 254 }; 255 255 256 - cpu1_opp_table: opp_table1 { 256 + cpu1_opp_table: opp-table-cluster1 { 257 257 compatible = "operating-points-v2"; 258 258 opp-shared; 259 259
+2 -2
arch/arm/boot/dts/sun8i-h3.dtsi
··· 44 44 #include <dt-bindings/thermal/thermal.h> 45 45 46 46 / { 47 - cpu0_opp_table: opp_table0 { 47 + cpu0_opp_table: opp-table-cpu { 48 48 compatible = "operating-points-v2"; 49 49 opp-shared; 50 50 ··· 112 112 }; 113 113 }; 114 114 115 - gpu_opp_table: gpu-opp-table { 115 + gpu_opp_table: opp-table-gpu { 116 116 compatible = "operating-points-v2"; 117 117 118 118 opp-120000000 {
+1 -1
arch/arm64/boot/dts/allwinner/sun50i-a64-cpu-opp.dtsi
··· 4 4 */ 5 5 6 6 / { 7 - cpu0_opp_table: opp_table0 { 7 + cpu0_opp_table: opp-table-cpu { 8 8 compatible = "operating-points-v2"; 9 9 opp-shared; 10 10
+1 -1
arch/arm64/boot/dts/allwinner/sun50i-h5-cpu-opp.dtsi
··· 2 2 // Copyright (C) 2020 Chen-Yu Tsai <wens@csie.org> 3 3 4 4 / { 5 - cpu_opp_table: cpu-opp-table { 5 + cpu_opp_table: opp-table-cpu { 6 6 compatible = "operating-points-v2"; 7 7 opp-shared; 8 8
+1 -1
arch/arm64/boot/dts/allwinner/sun50i-h6-cpu-opp.dtsi
··· 3 3 // Copyright (C) 2020 Clément Péron <peron.clem@gmail.com> 4 4 5 5 / { 6 - cpu_opp_table: cpu-opp-table { 6 + cpu_opp_table: opp-table-cpu { 7 7 compatible = "allwinner,sun50i-h6-operating-points"; 8 8 nvmem-cells = <&cpu_speed_grade>; 9 9 opp-shared;