ARM: dts: msm: Add emergency skin rule for lahaina

Add emergency skin rule based on xo-therm to trigger frequency
mitigation and core isolation at 78C and hotplug at 80C.

Change-Id: I9fef2b9bdf827f9b660d7c1e34d55607cbd4b97b
This commit is contained in:
Ram Chandrasekar 2020-09-18 17:01:13 -07:00
commit 8fd1f5ec43
2 changed files with 77 additions and 0 deletions

View file

@ -607,6 +607,27 @@
};
};
};
xo-therm-step {
polling-delay-passive = <0>;
polling-delay = <0>;
thermal-governor = "step_wise";
thermal-sensors = <&pmk8350_adc_tm PMK8350_ADC7_AMUX_THM1_100K_PU>;
trips {
xo_config0: active-config0 {
temperature = <78000>;
hysteresis = <8000>;
type = "passive";
};
xo_config1: active-config1 {
temperature = <80000>;
hysteresis = <10000>;
type = "passive";
};
};
};
};
&soc {

View file

@ -296,4 +296,60 @@
};
};
};
xo-therm-step {
cooling-maps {
cpu4_freq_cdev {
trip = <&xo_config0>;
cooling-device = <&CPU4 THERMAL_MAX_LIMIT
THERMAL_MAX_LIMIT>;
};
cpu7_freq_cdev {
trip = <&xo_config0>;
cooling-device = <&CPU7 THERMAL_MAX_LIMIT
THERMAL_MAX_LIMIT>;
};
cpu4_iso_cdev {
trip = <&xo_config0>;
cooling-device = <&cpu4_isolate 1 1>;
};
cpu5_iso_cdev {
trip = <&xo_config0>;
cooling-device = <&cpu5_isolate 1 1>;
};
cpu6_iso_cdev {
trip = <&xo_config0>;
cooling-device = <&cpu6_isolate 1 1>;
};
cpu7_iso_cdev {
trip = <&xo_config0>;
cooling-device = <&cpu7_isolate 1 1>;
};
cpu4_hot_cdev {
trip = <&xo_config1>;
cooling-device = <&cpu4_hotplug 1 1>;
};
cpu5_hot_cdev {
trip = <&xo_config1>;
cooling-device = <&cpu5_hotplug 1 1>;
};
cpu6_hot_cdev {
trip = <&xo_config1>;
cooling-device = <&cpu6_hotplug 1 1>;
};
cpu7_hot_cdev {
trip = <&xo_config1>;
cooling-device = <&cpu7_hotplug 1 1>;
};
};
};
};