Skip to content

Commit 286bfb3

Browse files
committed
ARM: dts: rockchip: update the thermal management on rk3288
Change-Id: I9e44d6a00a3a69a4dc8747230786993d1f885fda Signed-off-by: Jacob Chen <jacob2.chen@rock-chips.com>
1 parent d5304b6 commit 286bfb3

1 file changed

Lines changed: 12 additions & 2 deletions

File tree

arch/arm/boot/dts/rk3288-thermal.dtsi

Lines changed: 12 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ reserve_thermal: reserve_thermal {
5252
};
5353

5454
cpu_thermal: cpu_thermal {
55-
polling-delay-passive = <1000>; /* milliseconds */
55+
polling-delay-passive = <100>; /* milliseconds */
5656
polling-delay = <5000>; /* milliseconds */
5757

5858
thermal-sensors = <&tsadc 1>;
@@ -63,6 +63,11 @@ cpu_thermal: cpu_thermal {
6363
hysteresis = <2000>; /* millicelsius */
6464
type = "passive";
6565
};
66+
cpu_alert1: cpu_alert1 {
67+
temperature = <80000>; /* millicelsius */
68+
hysteresis = <2000>; /* millicelsius */
69+
type = "passive";
70+
};
6671
cpu_crit: cpu_crit {
6772
temperature = <90000>; /* millicelsius */
6873
hysteresis = <2000>; /* millicelsius */
@@ -73,14 +78,19 @@ cpu_thermal: cpu_thermal {
7378
cooling-maps {
7479
map0 {
7580
trip = <&cpu_alert0>;
81+
cooling-device =
82+
<&cpu0 THERMAL_NO_LIMIT 6>;
83+
};
84+
map1 {
85+
trip = <&cpu_alert1>;
7686
cooling-device =
7787
<&cpu0 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>;
7888
};
7989
};
8090
};
8191

8292
gpu_thermal: gpu_thermal {
83-
polling-delay-passive = <1000>; /* milliseconds */
93+
polling-delay-passive = <100>; /* milliseconds */
8494
polling-delay = <5000>; /* milliseconds */
8595

8696
thermal-sensors = <&tsadc 2>;

0 commit comments

Comments
 (0)