Add a channel node for the die temperature to the ADC.

Signed-off-by: Matthias Kaehlcke <m...@chromium.org>
---
 arch/arm64/boot/dts/qcom/pm8998.dtsi | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/arch/arm64/boot/dts/qcom/pm8998.dtsi 
b/arch/arm64/boot/dts/qcom/pm8998.dtsi
index f70f6101bceb..499bae0afb7f 100644
--- a/arch/arm64/boot/dts/qcom/pm8998.dtsi
+++ b/arch/arm64/boot/dts/qcom/pm8998.dtsi
@@ -20,6 +20,11 @@
                        #size-cells = <0>;
                        #io-channel-cells = <1>;
                        io-channel-ranges;
+
+                       die-temp {
+                               reg = <ADC5_DIE_TEMP>;
+                               label = "die_temp";
+                       };
                };
 
                pm8998_gpio: gpios@c000 {
-- 
2.18.0.597.ga71716f1ad-goog

Reply via email to