* [PATCH] arm64: dts: rockchip: enable tsadc on rk3399-puma
@ 2018-01-30 10:15 Klaus Goger
2018-02-02 22:01 ` Heiko Stuebner
0 siblings, 1 reply; 2+ messages in thread
From: Klaus Goger @ 2018-01-30 10:15 UTC (permalink / raw)
To: linux-rockchip; +Cc: linux-kernel, Heiko Stuebner, Klaus Goger
Enable the SoC thermal sensor on RK3399-Q7 (Puma).
As we want to do do a full board reset instead of just a SoC one, set
hw-tshut-mode to GPIO.
Signed-off-by: Klaus Goger <klaus.goger@theobroma-systems.com>
---
arch/arm64/boot/dts/rockchip/rk3399-puma.dtsi | 6 ++++++
1 file changed, 6 insertions(+)
diff --git a/arch/arm64/boot/dts/rockchip/rk3399-puma.dtsi b/arch/arm64/boot/dts/rockchip/rk3399-puma.dtsi
index a3fcb803ff69..524f47c7e79f 100644
--- a/arch/arm64/boot/dts/rockchip/rk3399-puma.dtsi
+++ b/arch/arm64/boot/dts/rockchip/rk3399-puma.dtsi
@@ -523,6 +523,12 @@
};
};
+&tsadc {
+ rockchip,hw-tshut-mode = <1>;
+ rockchip,hw-tshut-polarity = <1>;
+ status = "okay";
+};
+
&u2phy1 {
status = "okay";
--
2.11.0
^ permalink raw reply related [flat|nested] 2+ messages in thread
end of thread, other threads:[~2018-02-02 22:02 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-01-30 10:15 [PATCH] arm64: dts: rockchip: enable tsadc on rk3399-puma Klaus Goger
2018-02-02 22:01 ` Heiko Stuebner
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox