arm64: dts: qcom: sc7180: Added critical trip point Thermal-zones node
authorRajeshwari <rkambl@codeaurora.org>
Thu, 5 Mar 2020 07:49:07 +0000 (13:19 +0530)
committerBjorn Andersson <bjorn.andersson@linaro.org>
Fri, 6 Mar 2020 05:53:05 +0000 (21:53 -0800)
To enable kernel critical shutdown feature added critical trip point to
all non CPU sensors to perform shutdown in orderly manner.

Reviewed-by: Amit Kucheria <amit.kucheria@linaro.org>
Signed-off-by: Rajeshwari <rkambl@codeaurora.org>
Link: https://lore.kernel.org/r/1583394547-12779-2-git-send-email-rkambl@codeaurora.org
Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
arch/arm64/boot/dts/qcom/sc7180.dtsi

index c51fda6..89ba012 100644 (file)
                                        hysteresis = <2000>;
                                        type = "hot";
                                };
+
+                               aoss0_crit: aoss0_crit {
+                                       temperature = <110000>;
+                                       hysteresis = <2000>;
+                                       type = "critical";
+                               };
                        };
                };
 
                                        hysteresis = <2000>;
                                        type = "hot";
                                };
+
+                               gpuss0_crit: gpuss0_crit {
+                                       temperature = <110000>;
+                                       hysteresis = <2000>;
+                                       type = "critical";
+                               };
                        };
                };
 
                                        hysteresis = <2000>;
                                        type = "hot";
                                };
+
+                               gpuss1_crit: gpuss1_crit {
+                                       temperature = <110000>;
+                                       hysteresis = <2000>;
+                                       type = "critical";
+                               };
                        };
                };
 
                                        hysteresis = <2000>;
                                        type = "hot";
                                };
+
+                               aoss1_crit: aoss1_crit {
+                                       temperature = <110000>;
+                                       hysteresis = <2000>;
+                                       type = "critical";
+                               };
                        };
                };
 
                                        hysteresis = <2000>;
                                        type = "hot";
                                };
+
+                               cwlan_crit: cwlan_crit {
+                                       temperature = <110000>;
+                                       hysteresis = <2000>;
+                                       type = "critical";
+                               };
                        };
                };
 
                                        hysteresis = <2000>;
                                        type = "hot";
                                };
+
+                               audio_crit: audio_crit {
+                                       temperature = <110000>;
+                                       hysteresis = <2000>;
+                                       type = "critical";
+                               };
                        };
                };
 
                                        hysteresis = <2000>;
                                        type = "hot";
                                };
+
+                               ddr_crit: ddr_crit {
+                                       temperature = <110000>;
+                                       hysteresis = <2000>;
+                                       type = "critical";
+                               };
                        };
                };
 
                                        hysteresis = <2000>;
                                        type = "hot";
                                };
+
+                               q6_hvx_crit: q6_hvx_crit {
+                                       temperature = <110000>;
+                                       hysteresis = <2000>;
+                                       type = "critical";
+                               };
                        };
                };
 
                                        hysteresis = <2000>;
                                        type = "hot";
                                };
+
+                               camera_crit: camera_crit {
+                                       temperature = <110000>;
+                                       hysteresis = <2000>;
+                                       type = "critical";
+                               };
                        };
                };
 
                                        hysteresis = <2000>;
                                        type = "hot";
                                };
+
+                               mdm_crit: mdm_crit {
+                                       temperature = <110000>;
+                                       hysteresis = <2000>;
+                                       type = "critical";
+                               };
                        };
                };
 
                                        hysteresis = <2000>;
                                        type = "hot";
                                };
+
+                               mdm_dsp_crit: mdm_dsp_crit {
+                                       temperature = <110000>;
+                                       hysteresis = <2000>;
+                                       type = "critical";
+                               };
                        };
                };
 
                                        hysteresis = <2000>;
                                        type = "hot";
                                };
+
+                               npu_crit: npu_crit {
+                                       temperature = <110000>;
+                                       hysteresis = <2000>;
+                                       type = "critical";
+                               };
                        };
                };
 
                                        hysteresis = <2000>;
                                        type = "hot";
                                };
+
+                               video_crit: video_crit {
+                                       temperature = <110000>;
+                                       hysteresis = <2000>;
+                                       type = "critical";
+                               };
                        };
                };
        };