arm: dts: add ipa parameter [1/1]
authorHuan Biao <huan.biao@amlogic.com>
Thu, 28 Feb 2019 01:51:56 +0000 (09:51 +0800)
committerJianxin Pan <jianxin.pan@amlogic.com>
Thu, 28 Feb 2019 09:46:55 +0000 (01:46 -0800)
PD#SWPL-5198

Problem:
tl1 thermal cts case fail.

Solution:
tl1 add thermal dts.

Verify:
tl1 x301 pass.

Change-Id: I47f8e295f0ddc546f4540a8edd96556755ceef66
Signed-off-by: Huan Biao <huan.biao@amlogic.com>
arch/arm/boot/dts/amlogic/tl1_t962x2_t309.dts
arch/arm/boot/dts/amlogic/tl1_t962x2_x301.dts
arch/arm64/boot/dts/amlogic/tl1_t962x2_t309.dts
arch/arm64/boot/dts/amlogic/tl1_t962x2_x301.dts

index d846fea..8cb3a73 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*/
 
index f4ca226..e280dea 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*/
 
index 265ab5c..a9195e1 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*/
 
index cd236f8..1fe0df1 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*/