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

This commit is contained in:
qctecmdr 2020-10-02 18:08:53 -07:00 • committed by Gerrit - the friendly Code Review server
commit 063b72a541
3 changed files with 99 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>;
};
};
};
};

View file

@ -1218,6 +1218,12 @@
hysteresis = <1>;
type = "passive";
};
mx_pe_config3: mx-pe-config3 {
temperature = <3>;
hysteresis = <1>;
type = "passive";
};
};
cooling-maps {
@ -1230,6 +1236,11 @@
trip = <&mx_pe_config2>;
cooling-device = <&msm_gpu 1 1>;
};
mx_pe_cdev_3 {
trip = <&mx_pe_config3>;
cooling-device = <&modem_tj 1 1>;
};
};
};
@ -1258,6 +1269,12 @@
};
cx_pe_config4: cx-pe-config4 {
temperature = <4>;
hysteresis = <1>;
type = "passive";
};
cx_pe_config5: cx-pe-config5 {
temperature = <5>;
hysteresis = <2>;
type = "passive";
@ -1282,6 +1299,11 @@
cx_pe_cdev_4 {
trip = <&cx_pe_config4>;
cooling-device = <&modem_tj 1 1>;
};
cx_pe_cdev_5 {
trip = <&cx_pe_config5>;
cooling-device = <&cdsp_sw 4 4>;
};
};