Commit ffbe853a authored by Maxime Ripard's avatar Maxime Ripard

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: default avatarMaxime Ripard <maxime@cerno.tech>
Acked-by: default avatarJernej Skrabec <jernej.skrabec@gmail.com>
Link: https://lore.kernel.org/r/20210901091852.479202-43-maxime@cerno.tech
parent 4e0d439d
......@@ -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;
......@@ -164,7 +164,7 @@ iio-hwmon {
io-channels = <&ths>;
};
mali_opp_table: gpu-opp-table {
mali_opp_table: opp-table-gpu {
compatible = "operating-points-v2";
opp-144000000 {
......
......@@ -200,7 +200,7 @@ de: display-engine {
status = "disabled";
};
cpu0_opp_table: opp_table0 {
cpu0_opp_table: opp-table-cluster0 {
compatible = "operating-points-v2";
opp-shared;
......@@ -253,7 +253,7 @@ opp-1200000000 {
};
};
cpu1_opp_table: opp_table1 {
cpu1_opp_table: opp-table-cluster1 {
compatible = "operating-points-v2";
opp-shared;
......
......@@ -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;
......@@ -112,7 +112,7 @@ cpu3: cpu@3 {
};
};
gpu_opp_table: gpu-opp-table {
gpu_opp_table: opp-table-gpu {
compatible = "operating-points-v2";
opp-120000000 {
......
......@@ -4,7 +4,7 @@
*/
/ {
cpu0_opp_table: opp_table0 {
cpu0_opp_table: opp-table-cpu {
compatible = "operating-points-v2";
opp-shared;
......
......@@ -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;
......
......@@ -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;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment