From 200a91ee88783e80a1978276786c29fed429a617 Mon Sep 17 00:00:00 2001 From: Brian Kim Date: Thu, 23 Feb 2017 10:26:48 +0000 Subject: [PATCH] ARM: dts: odroidxu3: adjust thermal trip points This change adjusts thermal trip points in order to improve performance. 1. Fan operates the highest speed at 60C (before 70C). 2. CPU thermal-throttlling temperatures are changed to 85C/95C from 70C/85C. 3. CPU thermal-throttling polocy is changed---Lower the BIG cores' clock first, and then lower the clock togethe after BIG cores' clock are become same as little cores' clock. This polocy is good for parallel processing while every cores are busy. 4. swtich alerts to from active cooling to passive cooling. Change-Id: Ia738806d91d919b87fdb84b7296561d4b61c702b Signed-off-by: Brian Kim --- .../boot/dts/exynos5422-odroidxu3-common.dtsi | 65 ++++++++++--------- 1 file changed, 34 insertions(+), 31 deletions(-) diff --git a/arch/arm/boot/dts/exynos5422-odroidxu3-common.dtsi b/arch/arm/boot/dts/exynos5422-odroidxu3-common.dtsi index 0f541dfedba2..45bf48d2c137 100755 --- a/arch/arm/boot/dts/exynos5422-odroidxu3-common.dtsi +++ b/arch/arm/boot/dts/exynos5422-odroidxu3-common.dtsi @@ -84,47 +84,50 @@ thermal-zones { cpu0_thermal: cpu0-thermal { - thermal-sensors = <&tmu_cpu0 0>; + thermal-sensors = <&tmu_cpu0 0 &tmu_cpu1 0 &tmu_cpu2 0 &tmu_cpu3 0>; polling-delay-passive = <250>; - polling-delay = <0>; + polling-delay = <1000>; trips { cpu_alert0: cpu-alert-0 { - temperature = <50000>; /* millicelsius */ - hysteresis = <5000>; /* millicelsius */ - type = "active"; - }; - cpu_alert1: cpu-alert-1 { - temperature = <60000>; /* millicelsius */ - hysteresis = <5000>; /* millicelsius */ - type = "active"; - }; - cpu_alert2: cpu-alert-2 { - temperature = <70000>; /* millicelsius */ - hysteresis = <5000>; /* millicelsius */ - type = "active"; - }; - cpu_crit0: cpu-crit-0 { - temperature = <120000>; /* millicelsius */ - hysteresis = <0>; /* millicelsius */ - type = "critical"; - }; - /* - * Exynos542x supports only 4 trip-points - * so for these polling mode is required. - * Start polling at temperature level of last - * interrupt-driven trip: cpu_alert2 - */ - cpu_alert3: cpu-alert-3 { - temperature = <70000>; /* millicelsius */ + temperature = <75000>; /* millicelsius */ hysteresis = <10000>; /* millicelsius */ type = "passive"; }; - cpu_alert4: cpu-alert-4 { + cpu_alert1: cpu-alert-1 { + temperature = <80000>; /* millicelsius */ + hysteresis = <10000>; /* millicelsius */ + type = "passive"; + }; + cpu_alert2: cpu-alert-2 { temperature = <85000>; /* millicelsius */ hysteresis = <10000>; /* millicelsius */ type = "passive"; }; - + cpu_alert3: cpu-alert-3 { + temperature = <90000>; /* millicelsius */ + hysteresis = <10000>; /* millicelsius */ + type = "passive"; + }; + cpu_alert4: cpu-alert-4 { + temperature = <95000>; /* millicelsius */ + hysteresis = <10000>; /* millicelsius */ + type = "passive"; + }; + cpu_alert5: cpu-alert-5 { + temperature = <103000>; /* millicelsius */ + hysteresis = <10000>; /* millicelsius */ + type = "passive"; + }; + cpu_alert6: cpu-alert-6 { + temperature = <110000>; /* millicelsius */ + hysteresis = <10000>; /* millicelsius */ + type = "passive"; + }; + cpu_criti0: cpu-crit-0 { + temperature = <115000>; /* millicelsius */ + hysteresis = <10000>; /* millicelsius */ + type = "critical"; + }; }; cooling-maps { map0 {