ARM: dts: sunxi: Fix OPPs node name

[ Upstream commit ffbe853a3f ]

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:
Maxime Ripard 2021-09-01 11:18:42 +02:00 коммит произвёл Greg Kroah-Hartman
Родитель b5dd513daa
Коммит ea4f91645d
6 изменённых файлов: 9 добавлений и 9 удалений

Просмотреть файл

@ -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 @@
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 @@
status = "disabled";
};
cpu0_opp_table: opp_table0 {
cpu0_opp_table: opp-table-cluster0 {
compatible = "operating-points-v2";
opp-shared;
@ -253,7 +253,7 @@
};
};
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 @@
};
};
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;