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

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

ARM: dts: msm: Enable HVX thermal zone mitigation for SM8150



Enable HVX thermal zone mitigation for HVX TSENS for SM8150.
It throttles HVX DCVS frequencies whenever preset trips are
violated.

Change-Id: I1b15d5eba431f4dc719d7fc4ce79437d13104197
Signed-off-by: default avatarManaf Meethalavalappu Pallikunhi <manafm@codeaurora.org>
parent 47906484
Loading
Loading
Loading
Loading
+30 −0
Original line number Diff line number Diff line
@@ -1250,4 +1250,34 @@
			};
		};
	};

	q6-hvx-step {
		polling-delay-passive = <10>;
		polling-delay = <0>;
		thermal-sensors = <&tsens1 4>;
		thermal-governor = "step_wise";
		trips {
			q6_hvx_step0: q6-hvx-step0 {
				temperature = <95000>;
				hysteresis = <0>;
				type = "passive";
			};
			q6_hvx_step1: q6-hvx-step1 {
				temperature = <105000>;
				hysteresis = <5000>;
				type = "passive";
			};
		};
		cooling-maps {
			hvx_cdev_lvl0 {
				trip = <&q6_hvx_step0>;
				cooling-device = <&msm_cdsp_rm
						THERMAL_NO_LIMIT 6>;
			};
			hvx_cdev_lvl1 {
				trip = <&q6_hvx_step1>;
				cooling-device = <&msm_cdsp_rm 6 6>;
			};
		};
	};
};