summaryrefslogtreecommitdiffstats
path: root/arch/arm
diff options
context:
space:
mode:
authorFrank Wang <frank.wang@rock-chips.com>2017-07-05 16:32:24 +0800
committerHeiko Stuebner <heiko@sntech.de>2017-07-16 17:08:58 +0200
commitd46c8ef990bd1953fd568e8a479a7e32a4a1cb1e (patch)
tree455b2927bbd44a65d8302e0400aa55c66e2f22a2 /arch/arm
parent487f7d000bee90e1b63fbaa81e385072810e7e6c (diff)
downloadop-kernel-dev-d46c8ef990bd1953fd568e8a479a7e32a4a1cb1e.zip
op-kernel-dev-d46c8ef990bd1953fd568e8a479a7e32a4a1cb1e.tar.gz
ARM: dts: rockchip: enable tsadc for rk3229-evb
This patch enables the tsadc for rk3229-evb board. The rk3229 evb board uses the CRU to reset the chip since it has not the PMIC to connect it, and TSHUT is low active on evb board. Signed-off-by: Frank Wang <frank.wang@rock-chips.com> Signed-off-by: Heiko Stuebner <heiko@sntech.de>
Diffstat (limited to 'arch/arm')
-rw-r--r--arch/arm/boot/dts/rk3229-evb.dts5
1 files changed, 5 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/rk3229-evb.dts b/arch/arm/boot/dts/rk3229-evb.dts
index d52e407..b20776a 100644
--- a/arch/arm/boot/dts/rk3229-evb.dts
+++ b/arch/arm/boot/dts/rk3229-evb.dts
@@ -204,6 +204,11 @@
status = "okay";
};
+&tsadc {
+ rockchip,hw-tshut-mode = <0>; /* tshut mode 0:CRU 1:GPIO */
+ status = "okay";
+};
+
&uart2 {
status = "okay";
};
OpenPOWER on IntegriCloud