From: Caesar Wang Date: Mon, 15 Feb 2016 07:33:33 +0000 (+0800) Subject: UPSTREAM: ARM: dts: rockchip: enable the tsadc for rk3228 evb X-Git-Tag: firefly_0821_release~2350 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=349b49c05f6c076c6f8ebb94d7d7842e5157362e;p=firefly-linux-kernel-4.4.55.git UPSTREAM: ARM: dts: rockchip: enable the tsadc for rk3228 evb This patch enables the tsadc for rk3228 evb board. The rk3228 evb board uses the CRU to reset the chip since it hasn't the PMIC to connect it, and TSHUT is low active on evb board. Signed-off-by: Caesar Wang Signed-off-by: Heiko Stuebner (cherry picked from git://git.kernel.org/pub/scm/linux/kernel/git/mmind/linux-rockchip.git v4.8-armsoc/dts32 commit 26f5e19dfb07de627112074721f254482f941dab) Change-Id: I12ce9b1e2fb2c740bef100a22d746d5e128253e6 Signed-off-by: Xing Zheng --- diff --git a/arch/arm/boot/dts/rk3228-evb.dts b/arch/arm/boot/dts/rk3228-evb.dts index e3898b810150..c75cc41d8c1f 100644 --- a/arch/arm/boot/dts/rk3228-evb.dts +++ b/arch/arm/boot/dts/rk3228-evb.dts @@ -61,6 +61,13 @@ status = "okay"; }; +&tsadc { + status = "okay"; + + rockchip,hw-tshut-mode = <0>; /* tshut mode 0:CRU 1:GPIO */ + rockchip,hw-tshut-polarity = <1>; /* tshut polarity 0:LOW 1:HIGH */ +}; + &uart2 { status = "okay"; };