Skip to contentSkip to conversation

ARM: dts: rockchip: Enable thermal on rk3288-vyasa board

PATCH In review Jagan Teki 2 participants 2 messages Oct 13, 2017 – Oct 14, 2017

Subsystems (2)
lore
Share & tools
lore

Jagan Teki

author
#0 lore raw

PATCH 1/1 ARM: dts: rockchip: Enable thermal on rk3288-vyasa board

From: Michael Trimarchi <[email protected]>

Enable thermal on rk3288-vyasa board, TSHUT is high active.

---
 arch/arm/boot/dts/rk3288-vyasa.dts | 6 ++++++
 1 file changed, 6 insertions(+)
arch/arm/boot/dts/rk3288-vyasa.dts +6 -0
index 932311c..3546eb8 100644
@@ -302,6 +302,12 @@
 	status = "okay";
 };
 
+&tsadc {
+	rockchip,hw-tshut-mode = <1>; /* tshut mode 0:CRU 1:GPIO */
+	rockchip,hw-tshut-polarity = <1>; /* tshut polarity 0:LOW 1:HIGH */
+	status = "okay";
+};
+
 &uart2 {
 	status = "okay";
 };
Signature · 1 line
2.7.4