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

Commit 55b8b992 authored by David Collins's avatar David Collins
Browse files

ARM: dts: qcom: specify ADC channels for Lahaina PMIC temp-alarm devices

Specify the PMK8350 VADC PMIC ADC channel associated with each
PMIC temperature alarm device.  This allows the exact PMIC die
temperature to be reported instead of a coarse approximation
based upon the over-temperature state register value.

Change-Id: I09c94f776eb6e6bd2ba8d7412a187462e5b8e958
parent b4f9dfcc
Loading
Loading
Loading
Loading
+20 −0
Original line number Diff line number Diff line
@@ -318,6 +318,26 @@
	};
};

&pm8350_tz {
	io-channels = <&pmk8350_vadc PM8350_ADC7_DIE_TEMP>;
	io-channel-names = "thermal";
};

&pm8350b_tz {
	io-channels = <&pmk8350_vadc PM8350B_ADC7_DIE_TEMP>;
	io-channel-names = "thermal";
};

&pmr735a_tz {
	io-channels = <&pmk8350_vadc PMR735A_ADC7_DIE_TEMP>;
	io-channel-names = "thermal";
};

&pmr735b_tz {
	io-channels = <&pmk8350_vadc PMR735B_ADC7_DIE_TEMP>;
	io-channel-names = "thermal";
};

&pmk8350_adc_tm {
	io-channels = <&pmk8350_vadc PM8350_ADC7_AMUX_THM1_100K_PU>,
			<&pmk8350_vadc PM8350_ADC7_AMUX_THM2_100K_PU>,