]> asedeno.scripts.mit.edu Git - linux.git/commitdiff
ARM: dts: rockchip: Enable thermal on rk3288-vyasa board
authorMichael Trimarchi <michael@amarulasolutions.com>
Fri, 13 Oct 2017 17:33:32 +0000 (23:03 +0530)
committerHeiko Stuebner <heiko@sntech.de>
Sat, 14 Oct 2017 19:10:31 +0000 (21:10 +0200)
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>
Signed-off-by: Heiko Stuebner <heiko@sntech.de>
arch/arm/boot/dts/rk3288-vyasa.dts

index 932311c3365038a8cacc3d91766bc2dd0d1a0e85..3546eb8629c7372433a48effa2bb0052c9c96bed 100644 (file)
@@ -302,6 +302,12 @@ &sdmmc {
        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";
 };