diff mbox

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

Message ID 1507916012-3980-1-git-send-email-jagan@amarulasolutions.com (mailing list archive)
State New, archived
Headers show

Commit Message

Jagan Teki Oct. 13, 2017, 5:33 p.m. UTC
From: Michael Trimarchi <michael@amarulasolutions.com>

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

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

Comments

Heiko Stübner Oct. 14, 2017, 7:11 p.m. UTC | #1
Am Freitag, 13. Oktober 2017, 23:03:32 CEST schrieb Jagan Teki:
> From: Michael Trimarchi <michael@amarulasolutions.com>
> 
> Enable thermal on rk3288-vyasa board, TSHUT is high active.
> 
> Signed-off-by: Michael Trimarchi <michael@amarulasolutions.com>
> Signed-off-by: Jagan Teki <jagan@amarulasolutions.com>

applied for 4.15


Thanks
Heiko
diff mbox

Patch

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";
 };