build/patch/kernel/archive/rockchip64-5.14/board-rockpis-0009-arm64-dts-rockchip-Enable-tsadc-node-on-rk3308-rock-.patch

31 lines
827 B
Diff
Raw Permalink Normal View History

From 0c3ca953caf46013cc425a5a1c1c78f9c65dbf03 Mon Sep 17 00:00:00 2001
From: ashthespy <ashthespy@gmail.com>
Date: Fri, 17 Jan 2020 15:59:32 +0100
Subject: [PATCH 09/23] arm64: dts: rockchip: Enable tsadc node on
rk3308-rock-pi-s
---
arch/arm64/boot/dts/rockchip/rk3308-rock-pi-s.dts | 6 ++++++
1 file changed, 6 insertions(+)
diff --git a/arch/arm64/boot/dts/rockchip/rk3308-rock-pi-s.dts b/arch/arm64/boot/dts/rockchip/rk3308-rock-pi-s.dts
index 50ae9b98da67..bf08d0d9bd90 100644
--- a/arch/arm64/boot/dts/rockchip/rk3308-rock-pi-s.dts
+++ b/arch/arm64/boot/dts/rockchip/rk3308-rock-pi-s.dts
@@ -251,6 +251,12 @@ &sdio {
status = "okay";
};
+&tsadc {
+ rockchip,hw-tshut-mode = <0>; /* 0:CRU */
+ rockchip,hw-tshut-polarity = <1>; /* 1:HIGH */
+ status = "okay";
+};
+
&uart0 {
status = "okay";
};
--
2.25.1