lkml.org 
[lkml]   [2018]   [Aug]   [8]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
From
Subject[PATCH 3/3] arm64: dts: qcom: pm8998: Add die temperature channel node to the ADC
Date
Add a channel node for the die temperature to the ADC.

Signed-off-by: Matthias Kaehlcke <mka@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
\
 
 \ /
  Last update: 2018-08-08 21:14    [W:0.087 / U:1.028 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site