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

Commit 667e9e42 authored by David Collins's avatar David Collins Committed by Stephen Boyd
Browse files

ARM: msm: Add temperature alarm device for targets using PMIC PM8226



Add a temperature alarm device node for PM8226 so that the PMIC
die temperature may be monitored and so that an interrupt is
triggered if thermal overload occurs.

Change-Id: I40cd9b2ae8a201f487be4fd3de181f83050f15f1
Signed-off-by: default avatarDavid Collins <collinsd@codeaurora.org>
parent 9debe5d9
Loading
Loading
Loading
Loading
+9 −0
Original line number Diff line number Diff line
@@ -415,6 +415,15 @@
			qcom,adc-vdd-reference = <1800>;
		};

		qcom,temp-alarm@2400 {
			compatible = "qcom,qpnp-temp-alarm";
			reg = <0x2400 0x100>;
			interrupts = <0x0 0x24 0x0>;
			label = "pm8226_tz";
			qcom,channel-num = <8>;
			qcom,threshold-set = <0>;
		};

		qcom,pm8226_rtc {
			spmi-dev-container;
			compatible = "qcom,qpnp-rtc";