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

Commit d9fbc752 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 SDMMAGPIE



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

Change-Id: I5ea006f962ec57c66ddd2cfbf1b27b79f269b0c4
Signed-off-by: default avatarManaf Meethalavalappu Pallikunhi <manafm@codeaurora.org>
parent 9785400f
Loading
Loading
Loading
Loading
+22 −0
Original line number Diff line number Diff line
@@ -1535,4 +1535,26 @@
			};
		};
	};

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