Unverified Commit ffbe853a authored by Maxime Ripard's avatar Maxime Ripard
Browse files

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
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -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 {
+2 −2
Original line number Diff line number Diff line
@@ -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;

+2 −2
Original line number Diff line number Diff line
@@ -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 {
+1 −1
Original line number Diff line number Diff line
@@ -4,7 +4,7 @@
 */

/ {
	cpu0_opp_table: opp_table0 {
	cpu0_opp_table: opp-table-cpu {
		compatible = "operating-points-v2";
		opp-shared;

+1 −1
Original line number Diff line number Diff line
@@ -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;

Loading