]> asedeno.scripts.mit.edu Git - linux.git/commitdiff
arm64: dts: qcom: pm8998: Add die temperature channel node to the ADC
authorMatthias Kaehlcke <mka@chromium.org>
Mon, 12 Nov 2018 22:11:26 +0000 (14:11 -0800)
committerAndy Gross <andy.gross@linaro.org>
Wed, 14 Nov 2018 18:19:14 +0000 (10:19 -0800)
Add a channel node for the die temperature to the ADC.

Signed-off-by: Matthias Kaehlcke <mka@chromium.org>
Reviewed-by: Douglas Anderson <dianders@chromium.org>
Signed-off-by: Andy Gross <andy.gross@linaro.org>
arch/arm64/boot/dts/qcom/pm8998.dtsi

index 048f19fa01504ccfa2d29080cf12246961ac1f47..f1025a50c227b4fe6092d60def01baeb58211ba8 100644 (file)
@@ -75,6 +75,11 @@ pm8998_adc: adc@3100 {
                        #address-cells = <1>;
                        #size-cells = <0>;
                        #io-channel-cells = <1>;
+
+                       adc-chan@ADC5_DIE_TEMP {
+                               reg = <ADC5_DIE_TEMP>;
+                               label = "die_temp";
+                       };
                };
 
                rtc@6000 {