Skip to content

Commit 26af288

Browse files
Michael Kaombgg
authored andcommitted
arm64: dts: mt8173: fix cooling device range
When thermal reaches target temperature,it would be pinned to state 0 (max frequency and power). Fix the throttling range to no limit. Signed-off-by: Hsin-Yi Wang <[email protected]> Signed-off-by: Michael Kao <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Matthias Brugger <[email protected]>
1 parent 689b937 commit 26af288

File tree

1 file changed

+9
-4
lines changed

1 file changed

+9
-4
lines changed

arch/arm64/boot/dts/mediatek/mt8173.dtsi

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@
1919
#include <dt-bindings/power/mt8173-power.h>
2020
#include <dt-bindings/reset/mt8173-resets.h>
2121
#include <dt-bindings/gce/mt8173-gce.h>
22+
#include <dt-bindings/thermal/thermal.h>
2223
#include "mt8173-pinfunc.h"
2324

2425
/ {
@@ -298,14 +299,18 @@
298299
cooling-maps {
299300
map0 {
300301
trip = <&target>;
301-
cooling-device = <&cpu0 0 0>,
302-
<&cpu1 0 0>;
302+
cooling-device = <&cpu0 THERMAL_NO_LIMIT
303+
THERMAL_NO_LIMIT>,
304+
<&cpu1 THERMAL_NO_LIMIT
305+
THERMAL_NO_LIMIT>;
303306
contribution = <3072>;
304307
};
305308
map1 {
306309
trip = <&target>;
307-
cooling-device = <&cpu2 0 0>,
308-
<&cpu3 0 0>;
310+
cooling-device = <&cpu2 THERMAL_NO_LIMIT
311+
THERMAL_NO_LIMIT>,
312+
<&cpu3 THERMAL_NO_LIMIT
313+
THERMAL_NO_LIMIT>;
309314
contribution = <1024>;
310315
};
311316
};

0 commit comments

Comments
 (0)