From d6257bd8c20494ceb75b8764747ff2e8e673e223 Mon Sep 17 00:00:00 2001 From: Huan Biao Date: Fri, 1 Mar 2019 10:25:12 +0800 Subject: [PATCH] arm: dts: add tl1 skt ipa parameter [1/1] PD#SWPL-5198 Problem: tl1 thermal cts case fail. Solution: tl1 add thermal dts for skt. Verify: tl1 skt pass. Change-Id: Ia20ee3f346cd7f518f8481990c29b63d618cf2f4 Signed-off-by: Huan Biao --- arch/arm/boot/dts/amlogic/tl1_t962x2_skt.dts | 52 +++++++++++++++++++++++++--- 1 file changed, 48 insertions(+), 4 deletions(-) diff --git a/arch/arm/boot/dts/amlogic/tl1_t962x2_skt.dts b/arch/arm/boot/dts/amlogic/tl1_t962x2_skt.dts index 061f19e..9ff2d02 100644 --- a/arch/arm/boot/dts/amlogic/tl1_t962x2_skt.dts +++ b/arch/arm/boot/dts/amlogic/tl1_t962x2_skt.dts @@ -1010,16 +1010,60 @@ }; }; ddr_thermal: ddr_thermal { - polling-delay = <1000>; - polling-delay-passive = <250>; + polling-delay = <2000>; + polling-delay-passive = <1000>; sustainable-power = <1322>; thermal-sensors = <&d_tsensor 1>; + trips { + dswitch_on: trip-point@0 { + temperature = <60000>; + hysteresis = <5000>; + type = "passive"; + }; + dcontrol: trip-point@1 { + temperature = <75000>; + hysteresis = <5000>; + type = "passive"; + }; + dhot: trip-point@2 { + temperature = <85000>; + hysteresis = <5000>; + type = "hot"; + }; + dcritical: trip-point@3 { + temperature = <110000>; + hysteresis = <1000>; + type = "critical"; + }; + }; }; sar_thermal: sar_thermal { - polling-delay = <1000>; - polling-delay-passive = <250>; + polling-delay = <2000>; + polling-delay-passive = <1000>; sustainable-power = <1322>; thermal-sensors = <&s_tsensor 2>; + trips { + sswitch_on: trip-point@0 { + temperature = <60000>; + hysteresis = <5000>; + type = "passive"; + }; + scontrol: trip-point@1 { + temperature = <75000>; + hysteresis = <5000>; + type = "passive"; + }; + shot: trip-point@2 { + temperature = <85000>; + hysteresis = <5000>; + type = "hot"; + }; + scritical: trip-point@3 { + temperature = <110000>; + hysteresis = <1000>; + type = "critical"; + }; + }; }; };/*thermal zone end*/ -- 2.7.4