Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit ba53b1d2 authored by Manaf Meethalavalappu Pallikunhi's avatar Manaf Meethalavalappu Pallikunhi Committed by Gerrit - the friendly Code Review server
Browse files

ARM: dts: msm: Update skin thermal zone mitigation for SM6150



Update quiet_therm skin thermal zone mitigation for SM6150
based on latest recommendation.

Enable skin mitigation for all platforms for SM6150.

Change-Id: Iab8e2f269fc3af1e1d4c1c5759a84a9817ceaac6
Signed-off-by: default avatarManaf Meethalavalappu Pallikunhi <manafm@codeaurora.org>
parent 3d5abd86
Loading
Loading
Loading
Loading
+0 −6
Original line number Diff line number Diff line
@@ -270,9 +270,3 @@
	qcom,platform-te-gpio = <&tlmm 90 0>;
	qcom,platform-reset-gpio = <&tlmm 91 0>;
};

&thermal_zones {
	quiet-therm-step {
		status = "disabled";
	};
};
+30 −15
Original line number Diff line number Diff line
@@ -1839,17 +1839,27 @@
				hysteresis = <0>;
				type = "passive";
			};
			modem_trip0: modem-trip0 {
				temperature = <46000>;
				hysteresis = <4000>;
				type = "passive";
			};
			skin_gpu_trip: skin-gpu-trip {
				temperature = <48000>;
				hysteresis = <0>;
				type = "passive";
			};
			modem_trip0: modem-trip0 {
			modem_trip1: modem-trip1 {
				temperature = <48000>;
				hysteresis = <4000>;
				hysteresis = <2000>;
				type = "passive";
			};
			modem_trip2: modem-trip2 {
				temperature = <50000>;
				hysteresis = <2000>;
				type = "passive";
			};
			modem_trip1_batt_trip0: modem-trip1 {
			batt_trip0: batt-trip0 {
				temperature = <50000>;
				hysteresis = <4000>;
				type = "passive";
@@ -1859,21 +1869,21 @@
				hysteresis = <0>;
				type = "passive";
			};
			modem_trip2_batt_trip1: modem-trip2 {
			modem_trip3_batt_trip1: modem-trip3 {
				temperature = <52000>;
				hysteresis = <2000>;
				type = "passive";
			};
			cx_emer_trip: cx-emer-trip {
				temperature = <52000>;
				hysteresis = <4000>;
				type = "passive";
			};
			batt_trip2: batt-trip2 {
				temperature = <54000>;
				hysteresis = <2000>;
				type = "passive";
			};
			modem_trip3: modem-trip3 {
				temperature = <56000>;
				hysteresis = <4000>;
				type = "passive";
			};
			batt_trip3: batt-trip3 {
				temperature = <56000>;
				hysteresis = <2000>;
@@ -1931,15 +1941,15 @@
						(THERMAL_MAX_LIMIT-4)>;
			};
			modem_lvl1 {
				trip = <&modem_trip1_batt_trip0>;
				trip = <&modem_trip1>;
				cooling-device = <&modem_pa 1 1>;
			};
			modem_lvl2 {
				trip = <&modem_trip2_batt_trip1>;
				trip = <&modem_trip2>;
				cooling-device = <&modem_pa 2 2>;
			};
			modem_lvl3 {
				trip = <&modem_trip3>;
				trip = <&modem_trip3_batt_trip1>;
				cooling-device = <&modem_pa 3 3>;
			};
			modem_proc_lvl1 {
@@ -1947,15 +1957,15 @@
				cooling-device = <&modem_proc 1 1>;
			};
			modem_proc_lvl3 {
				trip = <&modem_trip3>;
				trip = <&modem_trip3_batt_trip1>;
				cooling-device = <&modem_proc 3 3>;
			};
			battery_lvl0 {
				trip = <&modem_trip1_batt_trip0>;
				trip = <&batt_trip0>;
				cooling-device = <&pm6150_charger 1 1>;
			};
			battery_lvl1 {
				trip = <&modem_trip2_batt_trip1>;
				trip = <&modem_trip3_batt_trip1>;
				cooling-device = <&pm6150_charger 2 2>;
			};
			battery_lvl2 {
@@ -1966,6 +1976,11 @@
				trip = <&batt_trip3>;
				cooling-device = <&pm6150_charger 5 5>;
			};
			cx_skin_gpu {
				trip = <&cx_emer_trip>;
				cooling-device = <&msm_gpu THERMAL_MAX_LIMIT
							THERMAL_MAX_LIMIT>;
			};
		};
	};
};