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

Commit fd9c852a authored by Guru Das Srinagesh's avatar Guru Das Srinagesh
Browse files

ARM: dts: msm: Add PMX65 die temperature channel

Add the appropriate ADC channel so that the pmx65_tz thermal zone may
obtain the right value of PMIC die temperature for monitoring purposes.

Change-Id: Ib67624ddcafc7e46d94e8b9ca83938bde32005b9
parent 9f986585
Loading
Loading
Loading
Loading
+13 −0
Original line number Diff line number Diff line
@@ -62,6 +62,14 @@
		qcom,hw-settle-time = <200>;
		qcom,pre-scaling = <1 1>;
	};

	pmx65_die_temp {
		reg = <PMX65_ADC7_DIE_TEMP>;
		label = "pmx65_die_temp";
		qcom,ratiometric;
		qcom,hw-settle-time = <200>;
		qcom,pre-scaling = <1 1>;
	};
};

&pmk8350_adc_tm {
@@ -216,3 +224,8 @@
		nvmem-cell-names = "restart_reason";
	};
};

&pmx65_tz {
	io-channels = <&pmk8350_vadc PMX65_ADC7_DIE_TEMP>;
	io-channel-names = "thermal";
};