lkml.org 
[lkml]   [2022]   [Sep]   [21]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
From
Date
Subject[PATCH v2 1/1] arm64: dts: mediatek: mt8183: disable thermal zones without trips.
Thermal zones without trip point are not registered by thermal core.

tzts1 ~ tzts6 zones of mt8183 were intially introduced for test-purpose
only.

Disable the zones above and keep only cpu_thermal enabled.

Signed-off-by: Amjad Ouled-Ameur <aouledameur@baylibre.com>

diff --git a/arch/arm64/boot/dts/mediatek/mt8183.dtsi b/arch/arm64/boot/dts/mediatek/mt8183.dtsi
index 9d32871973a2..44a197e92c99 100644
--- a/arch/arm64/boot/dts/mediatek/mt8183.dtsi
+++ b/arch/arm64/boot/dts/mediatek/mt8183.dtsi
@@ -1193,6 +1193,7 @@ tzts1: tzts1 {
sustainable-power = <5000>;
trips {};
cooling-maps {};
+ status = "disabled";
};

tzts2: tzts2 {
@@ -1202,6 +1203,7 @@ tzts2: tzts2 {
sustainable-power = <5000>;
trips {};
cooling-maps {};
+ status = "disabled";
};

tzts3: tzts3 {
@@ -1211,6 +1213,7 @@ tzts3: tzts3 {
sustainable-power = <5000>;
trips {};
cooling-maps {};
+ status = "disabled";
};

tzts4: tzts4 {
@@ -1220,6 +1223,7 @@ tzts4: tzts4 {
sustainable-power = <5000>;
trips {};
cooling-maps {};
+ status = "disabled";
};

tzts5: tzts5 {
@@ -1229,6 +1233,7 @@ tzts5: tzts5 {
sustainable-power = <5000>;
trips {};
cooling-maps {};
+ status = "disabled";
};

tztsABB: tztsABB {
@@ -1238,6 +1243,7 @@ tztsABB: tztsABB {
sustainable-power = <5000>;
trips {};
cooling-maps {};
+ status = "disabled";
};
};

--
b4 0.10.0

\
 
 \ /
  Last update: 2022-09-21 11:06    [W:0.078 / U:4.188 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site