Commit 8ff3b9b4 authored by Caesar Wang's avatar Caesar Wang Committed by Heiko Stuebner

ARM: dts: rockchip: update the thermal management on rk3288

In some cases the machine radiating is very poor,sometime the temperature
is rising very quickly on heavy loading.So we need have more frequent
polling and better granularity.
Signed-off-by: default avatarCaesar Wang <wxt@rock-chips.com>
Signed-off-by: default avatarHeiko Stuebner <heiko.stuebner@collabora.com>
parent c2cb6161
...@@ -52,7 +52,7 @@ reserve_thermal: reserve_thermal { ...@@ -52,7 +52,7 @@ reserve_thermal: reserve_thermal {
}; };
cpu_thermal: cpu_thermal { cpu_thermal: cpu_thermal {
polling-delay-passive = <1000>; /* milliseconds */ polling-delay-passive = <100>; /* milliseconds */
polling-delay = <5000>; /* milliseconds */ polling-delay = <5000>; /* milliseconds */
thermal-sensors = <&tsadc 1>; thermal-sensors = <&tsadc 1>;
...@@ -63,6 +63,11 @@ cpu_alert0: cpu_alert0 { ...@@ -63,6 +63,11 @@ cpu_alert0: cpu_alert0 {
hysteresis = <2000>; /* millicelsius */ hysteresis = <2000>; /* millicelsius */
type = "passive"; type = "passive";
}; };
cpu_alert1: cpu_alert1 {
temperature = <75000>; /* millicelsius */
hysteresis = <2000>; /* millicelsius */
type = "passive";
};
cpu_crit: cpu_crit { cpu_crit: cpu_crit {
temperature = <90000>; /* millicelsius */ temperature = <90000>; /* millicelsius */
hysteresis = <2000>; /* millicelsius */ hysteresis = <2000>; /* millicelsius */
...@@ -73,6 +78,11 @@ cpu_crit: cpu_crit { ...@@ -73,6 +78,11 @@ cpu_crit: cpu_crit {
cooling-maps { cooling-maps {
map0 { map0 {
trip = <&cpu_alert0>; trip = <&cpu_alert0>;
cooling-device =
<&cpu0 THERMAL_NO_LIMIT 6>;
};
map1 {
trip = <&cpu_alert1>;
cooling-device = cooling-device =
<&cpu0 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>; <&cpu0 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>;
}; };
...@@ -80,7 +90,7 @@ map0 { ...@@ -80,7 +90,7 @@ map0 {
}; };
gpu_thermal: gpu_thermal { gpu_thermal: gpu_thermal {
polling-delay-passive = <1000>; /* milliseconds */ polling-delay-passive = <100>; /* milliseconds */
polling-delay = <5000>; /* milliseconds */ polling-delay = <5000>; /* milliseconds */
thermal-sensors = <&tsadc 2>; thermal-sensors = <&tsadc 2>;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment