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

Commit 736e95e7 authored by qctecmdr's avatar qctecmdr Committed by Gerrit - the friendly Code Review server
Browse files

Merge "ARM: dts: qcom: Enable HVX thermal zone mitigation for LITO"

parents b64e834a b8f97264
Loading
Loading
Loading
Loading
+34 −0
Original line number Diff line number Diff line
@@ -1257,4 +1257,38 @@
			};
		};
	};

	q6-hvx-step {
		polling-delay-passive = <10>;
		polling-delay = <0>;
		thermal-sensors = <&tsens1 4>;
		thermal-governor = "step_wise";
		wake-capable-sensor;
		trips {
			q6_hvx_trip0: q6-hvx-trip0 {
				temperature = <95000>;
				hysteresis = <0>;
				type = "passive";
			};

			q6_hvx_trip1: q6-hvx-trip1 {
				temperature = <105000>;
				hysteresis = <5000>;
				type = "passive";
			};
		};

		cooling-maps {
			cdsp-cdev0 {
				trip = <&q6_hvx_trip0>;
				cooling-device = <&msm_cdsp_rm
						THERMAL_NO_LIMIT 7>;
			};

			cdsp-cdev1 {
				trip = <&q6_hvx_trip1>;
				cooling-device = <&msm_cdsp_rm 7 7>;
			};
		};
	};
};