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

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

ARM: dts: msm: Add thermal zone config for NPU in ATOLL



Add thermal zone configuration for monitoring NPU temperature and
mitigate for ATOLL. The current config monitors for a 95C threshold
and uses step-wise algorithm to mitigate.

Change-Id: Ib31cf1bb50f3eb5dbb8861cdaa6d166d5f75ad45
Signed-off-by: default avatarManaf Meethalavalappu Pallikunhi <manafm@codeaurora.org>
parent c30cd30a
Loading
Loading
Loading
Loading
+23 −0
Original line number Diff line number Diff line
@@ -1068,4 +1068,27 @@
			};
		};
	};

	npu-step {
		polling-delay-passive = <10>;
		polling-delay = <0>;
		thermal-sensors = <&tsens1 8>;
		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>;
			};
		};
	};
};