ARM: dts: msm: Add NSP junction mitigation rule for Lahaina

Add NSP junction mitigation rule to mitigate NSP at 95C. Add a emergency
mitigation rule to throttle at 105C for lahaina.

Change-Id: I0700fc0ce98f84cbb1dd2b3b0f485eece1d78075
This commit is contained in:
Ram Chandrasekar
2020-06-19 15:49:53 -07:00
parent ef0dc7cd3b
commit a8979dde81

View File

@@ -996,5 +996,108 @@
};
};
};
nspss-0-step {
polling-delay-passive = <0>;
polling-delay = <0>;
thermal-governor = "step_wise";
thermal-sensors = <&tsens1 3>;
trips {
nspss0_config: active-config0 {
temperature = <95000>;
hysteresis = <0>;
type = "passive";
};
nspss0_config1: active-config1 {
temperature = <105000>;
hysteresis = <10000>;
type = "passive";
};
};
cooling-maps {
nsp_cdev {
trip = <&nspss0_config>;
cooling-device = <&cdsp_sw THERMAL_NO_LIMIT
THERMAL_NO_LIMIT>;
};
nsp_cdev1 {
trip = <&nspss0_config1>;
cooling-device = <&cdsp_sw THERMAL_MAX_LIMIT
THERMAL_MAX_LIMIT>;
};
};
};
nspss-1-step {
polling-delay-passive = <0>;
polling-delay = <0>;
thermal-governor = "step_wise";
thermal-sensors = <&tsens1 4>;
trips {
nspss1_config: active-config0 {
temperature = <95000>;
hysteresis = <0>;
type = "passive";
};
nspss1_config1: active-config1 {
temperature = <105000>;
hysteresis = <10000>;
type = "passive";
};
};
cooling-maps {
nsp_cdev {
trip = <&nspss1_config>;
cooling-device = <&cdsp_sw THERMAL_NO_LIMIT
THERMAL_NO_LIMIT>;
};
nsp_cdev1 {
trip = <&nspss1_config1>;
cooling-device = <&cdsp_sw THERMAL_MAX_LIMIT
THERMAL_MAX_LIMIT>;
};
};
};
nspss-2-step {
polling-delay-passive = <0>;
polling-delay = <0>;
thermal-governor = "step_wise";
thermal-sensors = <&tsens1 5>;
trips {
nspss2_config: active-config0 {
temperature = <95000>;
hysteresis = <0>;
type = "passive";
};
nspss2_config1: active-config1 {
temperature = <105000>;
hysteresis = <10000>;
type = "passive";
};
};
cooling-maps {
nsp_cdev {
trip = <&nspss2_config>;
cooling-device = <&cdsp_sw THERMAL_NO_LIMIT
THERMAL_NO_LIMIT>;
};
nsp_cdev1 {
trip = <&nspss2_config1>;
cooling-device = <&cdsp_sw THERMAL_MAX_LIMIT
THERMAL_MAX_LIMIT>;
};
};
};
};