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
This commit is contained in:
Guru Das Srinagesh 2020-11-18 12:47:56 -08:00
commit fd9c852a45

View file

@ -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";
};