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

Commit 6823bbb8 authored by Ram Chandrasekar's avatar Ram Chandrasekar
Browse files

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

Add thermal zone to monitor modem junction temperature for 100C and
trigger mitigation using the modem junction QMI cooling device for
Lahaina.

Change-Id: Ib28a46680fbdc19979aa3b72d34ccee73090ad1e
parent 942bf9ea
Loading
Loading
Loading
Loading
+42 −0
Original line number Diff line number Diff line
@@ -421,4 +421,46 @@
			};
		};
	};

	mdmss-1-step {
		polling-delay-passive = <0>;
		polling-delay = <0>;
		thermal-governor = "step_wise";
		thermal-sensors = <&tsens1 9>;
		trips {
			mdmss1_config: active-config0 {
				temperature = <100000>;
				hysteresis = <10000>;
				type = "passive";
			};
		};

		cooling-maps {
			mdmss1_cdev {
				trip = <&mdmss1_config>;
				cooling-device = <&modem_tj 3 3>;
			};
		};
	};

	mdmss-2-step {
		polling-delay-passive = <0>;
		polling-delay = <0>;
		thermal-governor = "step_wise";
		thermal-sensors = <&tsens1 10>;
		trips {
			mdmss2_config: active-config0 {
				temperature = <100000>;
				hysteresis = <10000>;
				type = "passive";
			};
		};

		cooling-maps {
			mdmss2_cdev {
				trip = <&mdmss2_config>;
				cooling-device = <&modem_tj 3 3>;
			};
		};
	};
};