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

Commit 7bce8bc4 authored by David Collins's avatar David Collins
Browse files

ARM: dts: msm: specify ADC channel for TEMP_ALARM device on PMXPRAIRIE PMIC



Specify the PMIC DIE_TEMP ADC channel for the TEMP_ALARM PMIC
peripheral device found in the PMXPRAIRIE PMIC.  This ensures
that clients can read the exact die temperature of this PMIC
at runtime instead of relying upon a very coarse estimate based
upon the over-temperature stage.

Change-Id: I2813d2c6b11825b8a8b685dbcf3051841b65031c
Signed-off-by: default avatarDavid Collins <collinsd@codeaurora.org>
parent ee9b982a
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -58,6 +58,8 @@
			compatible = "qcom,spmi-temp-alarm";
			reg = <0x2400 0x100>;
			interrupts = <0x8 0x24 0x0 IRQ_TYPE_EDGE_BOTH>;
			io-channels = <&pmxprairie_vadc ADC_DIE_TEMP>;
			io-channel-names = "thermal";
			#thermal-sensor-cells = <0>;
			qcom,temperature-threshold-set = <1>;
		};