diff options
author | Caesar Wang <wxt@rock-chips.com> | 2015-02-13 11:41:43 +0800 |
---|---|---|
committer | Heiko Stuebner <heiko@sntech.de> | 2015-12-01 14:25:36 +0100 |
commit | 8ff3b9b40c3f85892e8e6c5b43b1c6ce77400275 (patch) | |
tree | bdf01da07cd60e096d0da69dc05aff97e04ed742 /arch/arm | |
parent | c2cb616129ba28a530eb286c1e9c5bf9da042924 (diff) | |
download | blackbird-op-linux-8ff3b9b40c3f85892e8e6c5b43b1c6ce77400275.tar.gz blackbird-op-linux-8ff3b9b40c3f85892e8e6c5b43b1c6ce77400275.zip |
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: Caesar Wang <wxt@rock-chips.com>
Signed-off-by: Heiko Stuebner <heiko.stuebner@collabora.com>
Diffstat (limited to 'arch/arm')
-rw-r--r-- | arch/arm/boot/dts/rk3288-thermal.dtsi | 14 |
1 files changed, 12 insertions, 2 deletions
diff --git a/arch/arm/boot/dts/rk3288-thermal.dtsi b/arch/arm/boot/dts/rk3288-thermal.dtsi index 340406652186..651b962e3d53 100644 --- a/arch/arm/boot/dts/rk3288-thermal.dtsi +++ b/arch/arm/boot/dts/rk3288-thermal.dtsi @@ -52,7 +52,7 @@ reserve_thermal: reserve_thermal { }; cpu_thermal: cpu_thermal { - polling-delay-passive = <1000>; /* milliseconds */ + polling-delay-passive = <100>; /* milliseconds */ polling-delay = <5000>; /* milliseconds */ thermal-sensors = <&tsadc 1>; @@ -63,6 +63,11 @@ cpu_thermal: cpu_thermal { hysteresis = <2000>; /* millicelsius */ type = "passive"; }; + cpu_alert1: cpu_alert1 { + temperature = <75000>; /* millicelsius */ + hysteresis = <2000>; /* millicelsius */ + type = "passive"; + }; cpu_crit: cpu_crit { temperature = <90000>; /* millicelsius */ hysteresis = <2000>; /* millicelsius */ @@ -74,13 +79,18 @@ cpu_thermal: cpu_thermal { map0 { trip = <&cpu_alert0>; cooling-device = + <&cpu0 THERMAL_NO_LIMIT 6>; + }; + map1 { + trip = <&cpu_alert1>; + cooling-device = <&cpu0 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>; }; }; }; gpu_thermal: gpu_thermal { - polling-delay-passive = <1000>; /* milliseconds */ + polling-delay-passive = <100>; /* milliseconds */ polling-delay = <5000>; /* milliseconds */ thermal-sensors = <&tsadc 2>; |