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

Commit 595d2c12 authored by David Collins's avatar David Collins Committed by Subbaraman Narayanamurthy
Browse files

ARM: dts: msm: specify ADC channel for TEMP_ALARM devices on PM8150* PMICs



Specify the PMIC DIE_TEMP ADC channel for the TEMP_ALARM PMIC
peripheral devices found in PM8150, PM8150B, and PM8150L PMICs.
This ensures that clients can read the exact die temperature of
these PMICs at runtime instead of relying upon a very coarse
estimate based upon the over-temperature stage.

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