ARM: dts: sunxi: Fix OPPs node name
[ Upstream commit ffbe853a3f5a37fa0a511265b21abf097ffdbe45 ] 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 Signed-off-by: Sasha Levin <sashal@kernel.org>
This commit is contained in:

committed by
Greg Kroah-Hartman

parent
e2e1056312
commit
aed195558f
@@ -46,7 +46,7 @@
|
|||||||
#include <dt-bindings/thermal/thermal.h>
|
#include <dt-bindings/thermal/thermal.h>
|
||||||
|
|
||||||
/ {
|
/ {
|
||||||
cpu0_opp_table: opp_table0 {
|
cpu0_opp_table: opp-table-cpu {
|
||||||
compatible = "operating-points-v2";
|
compatible = "operating-points-v2";
|
||||||
opp-shared;
|
opp-shared;
|
||||||
|
|
||||||
@@ -164,7 +164,7 @@
|
|||||||
io-channels = <&ths>;
|
io-channels = <&ths>;
|
||||||
};
|
};
|
||||||
|
|
||||||
mali_opp_table: gpu-opp-table {
|
mali_opp_table: opp-table-gpu {
|
||||||
compatible = "operating-points-v2";
|
compatible = "operating-points-v2";
|
||||||
|
|
||||||
opp-144000000 {
|
opp-144000000 {
|
||||||
|
@@ -200,7 +200,7 @@
|
|||||||
status = "disabled";
|
status = "disabled";
|
||||||
};
|
};
|
||||||
|
|
||||||
cpu0_opp_table: opp_table0 {
|
cpu0_opp_table: opp-table-cluster0 {
|
||||||
compatible = "operating-points-v2";
|
compatible = "operating-points-v2";
|
||||||
opp-shared;
|
opp-shared;
|
||||||
|
|
||||||
@@ -253,7 +253,7 @@
|
|||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
cpu1_opp_table: opp_table1 {
|
cpu1_opp_table: opp-table-cluster1 {
|
||||||
compatible = "operating-points-v2";
|
compatible = "operating-points-v2";
|
||||||
opp-shared;
|
opp-shared;
|
||||||
|
|
||||||
|
@@ -44,7 +44,7 @@
|
|||||||
#include <dt-bindings/thermal/thermal.h>
|
#include <dt-bindings/thermal/thermal.h>
|
||||||
|
|
||||||
/ {
|
/ {
|
||||||
cpu0_opp_table: opp_table0 {
|
cpu0_opp_table: opp-table-cpu {
|
||||||
compatible = "operating-points-v2";
|
compatible = "operating-points-v2";
|
||||||
opp-shared;
|
opp-shared;
|
||||||
|
|
||||||
@@ -112,7 +112,7 @@
|
|||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
gpu_opp_table: gpu-opp-table {
|
gpu_opp_table: opp-table-gpu {
|
||||||
compatible = "operating-points-v2";
|
compatible = "operating-points-v2";
|
||||||
|
|
||||||
opp-120000000 {
|
opp-120000000 {
|
||||||
|
@@ -4,7 +4,7 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
/ {
|
/ {
|
||||||
cpu0_opp_table: opp_table0 {
|
cpu0_opp_table: opp-table-cpu {
|
||||||
compatible = "operating-points-v2";
|
compatible = "operating-points-v2";
|
||||||
opp-shared;
|
opp-shared;
|
||||||
|
|
||||||
|
@@ -2,7 +2,7 @@
|
|||||||
// Copyright (C) 2020 Chen-Yu Tsai <wens@csie.org>
|
// 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";
|
compatible = "operating-points-v2";
|
||||||
opp-shared;
|
opp-shared;
|
||||||
|
|
||||||
|
@@ -3,7 +3,7 @@
|
|||||||
// Copyright (C) 2020 Clément Péron <peron.clem@gmail.com>
|
// 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";
|
compatible = "allwinner,sun50i-h6-operating-points";
|
||||||
nvmem-cells = <&cpu_speed_grade>;
|
nvmem-cells = <&cpu_speed_grade>;
|
||||||
opp-shared;
|
opp-shared;
|
||||||
|
Reference in New Issue
Block a user