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

Commit ba1d03a9 authored by Manaf Meethalavalappu Pallikunhi's avatar Manaf Meethalavalappu Pallikunhi
Browse files

ARM: dts: msm: Enable modem thermal zone mitigation for sdxpoorwills



Enable modem thermal zone mitigation for sdxpoorwills based on
latest recommendation.

Change-Id: Id7a2ea54bb50b2febeef3b6ce00d0a36b4898173
Signed-off-by: default avatarManaf Meethalavalappu Pallikunhi <manafm@codeaurora.org>
parent 75654f2c
Loading
Loading
Loading
Loading
+30 −1
Original line number Diff line number Diff line
/* Copyright (c) 2017, The Linux Foundation. All rights reserved.
/* Copyright (c) 2017-2018, The Linux Foundation. All rights reserved.
 *
 * This program is free software; you can redistribute it and/or modify
 * it under the terms of the GNU General Public License version 2 and
@@ -339,6 +339,35 @@
		};
	};

	mdm-core-step {
		polling-delay-passive = <0>;
		polling-delay = <0>;
		thermal-governor = "step_wise";
		thermal-sensors = <&tsens0 4>;
		trips {
			mdm_step_trip0: mdm-step-trip-0 {
				temperature = <95000>;
				hysteresis = <5000>;
				type = "passive";
			};
			mdm_step_trip1: mdm-step-trip-1 {
				temperature = <105000>;
				hysteresis = <5000>;
				type = "passive";
			};
		};
		cooling-maps {
			modem_proc-lv11 {
				trip = <&mdm_step_trip0>;
				cooling-device = <&modem_proc 1 1>;
			};
			modem_proc_lvl3 {
				trip = <&mdm_step_trip1>;
				cooling-device = <&modem_proc 3 3>;
			};
		};
	};

	xo-therm-adc {
		polling-delay-passive = <0>;
		polling-delay = <0>;