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

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

ARM: dts: qcom: Enable NPU thermal zone mitigation for LAGOON

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

Change-Id: Ib6daa5fea8a6ab60aa9119fbd29ca3118b1d8c72
parent a147461d
Loading
Loading
Loading
Loading
+30 −0
Original line number Diff line number Diff line
@@ -940,6 +940,36 @@
				trip = <&q6_hvx_trip1>;
				cooling-device = <&modem_tj 3 3>;
			};

			npu_cdev {
				trip = <&q6_hvx_trip1>;
				cooling-device = <&msm_npu THERMAL_MAX_LIMIT
							THERMAL_MAX_LIMIT>;
			};
		};
	};

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

		cooling-maps {
			npu_cdev {
				trip = <&npu_trip0>;
				cooling-device =
					<&msm_npu THERMAL_NO_LIMIT
						THERMAL_NO_LIMIT>;
			};
		};
	};
};