arm: dts: add tl1 skt ipa parameter [1/1]
authorHuan Biao <huan.biao@amlogic.com>
Fri, 1 Mar 2019 02:25:12 +0000 (10:25 +0800)
committerJianxin Pan <jianxin.pan@amlogic.com>
Fri, 1 Mar 2019 02:52:23 +0000 (18:52 -0800)
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 <huan.biao@amlogic.com>
arch/arm/boot/dts/amlogic/tl1_t962x2_skt.dts

index 061f19e..9ff2d02 100644 (file)
                        };
                };
                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*/