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

Commit 694f8817 authored by qctecmdr Service's avatar qctecmdr Service Committed by Gerrit - the friendly Code Review server
Browse files

Merge "ARM: dts: msm: Enable CDSP thermal zone mitigation for TRINKET"

parents d53d1dbc 6fa83c14
Loading
Loading
Loading
Loading
+22 −3
Original line number Diff line number Diff line
@@ -1536,22 +1536,41 @@
	};

	cdsp-step {
		polling-delay-passive = <0>;
		polling-delay-passive = <10>;
		polling-delay = <0>;
		thermal-sensors = <&tsens0 1>;
		thermal-governor = "step_wise";
		trips {
			cdsp_config: cdsp-config {
			cdsp_trip0: cdsp-trip0 {
				temperature = <95000>;
				hysteresis = <20000>;
				type = "passive";
			};
			cdsp_trip1: cdsp-trip1 {
				temperature = <95000>;
				hysteresis = <0>;
				type = "passive";
			};
			cdsp_trip2: cdsp-trip2 {
				temperature = <105000>;
				hysteresis = <5000>;
				type = "passive";
			};
		};
		cooling-maps {
			cxip-cdev {
				trip = <&cdsp_config>;
				trip = <&cdsp_trip0>;
				cooling-device = <&cxip_cdev 1 1>;
			};
			cdsp-cdev0 {
				trip = <&cdsp_trip1>;
				cooling-device = <&msm_cdsp_rm
						THERMAL_NO_LIMIT 4>;
			};
			cdsp-cdev1 {
				trip = <&cdsp_trip2>;
				cooling-device = <&msm_cdsp_rm 4 4>;
			};
		};
	};
};