[PATCH] ARM: dts: rockchip: Enable thermal on rk3288-vyasa board

Jagan Teki jagannadh.teki at gmail.com
Fri Oct 13 10:33:32 PDT 2017


From: Michael Trimarchi <michael at amarulasolutions.com>

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

Signed-off-by: Michael Trimarchi <michael at amarulasolutions.com>
Signed-off-by: Jagan Teki <jagan at amarulasolutions.com>
---
 arch/arm/boot/dts/rk3288-vyasa.dts | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/arch/arm/boot/dts/rk3288-vyasa.dts b/arch/arm/boot/dts/rk3288-vyasa.dts
index 932311c..3546eb8 100644
--- a/arch/arm/boot/dts/rk3288-vyasa.dts
+++ b/arch/arm/boot/dts/rk3288-vyasa.dts
@@ -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";
 };
-- 
2.7.4




More information about the linux-arm-kernel mailing list