Skip to content

Commit ffbe853

Browse files
committed
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
1 parent 4e0d439 commit ffbe853

6 files changed

Lines changed: 9 additions & 9 deletions

File tree

‎arch/arm/boot/dts/sun8i-a33.dtsi‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@
4646
#include <dt-bindings/thermal/thermal.h>
4747

4848
/ {
49-
cpu0_opp_table: opp_table0 {
49+
cpu0_opp_table: opp-table-cpu {
5050
compatible = "operating-points-v2";
5151
opp-shared;
5252

@@ -164,7 +164,7 @@
164164
io-channels = <&ths>;
165165
};
166166

167-
mali_opp_table: gpu-opp-table {
167+
mali_opp_table: opp-table-gpu {
168168
compatible = "operating-points-v2";
169169

170170
opp-144000000 {

‎arch/arm/boot/dts/sun8i-a83t.dtsi‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -200,7 +200,7 @@
200200
status = "disabled";
201201
};
202202

203-
cpu0_opp_table: opp_table0 {
203+
cpu0_opp_table: opp-table-cluster0 {
204204
compatible = "operating-points-v2";
205205
opp-shared;
206206

@@ -253,7 +253,7 @@
253253
};
254254
};
255255

256-
cpu1_opp_table: opp_table1 {
256+
cpu1_opp_table: opp-table-cluster1 {
257257
compatible = "operating-points-v2";
258258
opp-shared;
259259

‎arch/arm/boot/dts/sun8i-h3.dtsi‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@
4444
#include <dt-bindings/thermal/thermal.h>
4545

4646
/ {
47-
cpu0_opp_table: opp_table0 {
47+
cpu0_opp_table: opp-table-cpu {
4848
compatible = "operating-points-v2";
4949
opp-shared;
5050

@@ -112,7 +112,7 @@
112112
};
113113
};
114114

115-
gpu_opp_table: gpu-opp-table {
115+
gpu_opp_table: opp-table-gpu {
116116
compatible = "operating-points-v2";
117117

118118
opp-120000000 {

‎arch/arm64/boot/dts/allwinner/sun50i-a64-cpu-opp.dtsi‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
*/
55

66
/ {
7-
cpu0_opp_table: opp_table0 {
7+
cpu0_opp_table: opp-table-cpu {
88
compatible = "operating-points-v2";
99
opp-shared;
1010

‎arch/arm64/boot/dts/allwinner/sun50i-h5-cpu-opp.dtsi‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
// Copyright (C) 2020 Chen-Yu Tsai <wens@csie.org>
33

44
/ {
5-
cpu_opp_table: cpu-opp-table {
5+
cpu_opp_table: opp-table-cpu {
66
compatible = "operating-points-v2";
77
opp-shared;
88

‎arch/arm64/boot/dts/allwinner/sun50i-h6-cpu-opp.dtsi‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
// Copyright (C) 2020 Clément Péron <peron.clem@gmail.com>
44

55
/ {
6-
cpu_opp_table: cpu-opp-table {
6+
cpu_opp_table: opp-table-cpu {
77
compatible = "allwinner,sun50i-h6-operating-points";
88
nvmem-cells = <&cpu_speed_grade>;
99
opp-shared;

0 commit comments

Comments
 (0)