Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1681368 > unrolled thread

[PATCH v2 5/6] ARM: dts: rockchip: enable tsadc for rk3229-evb

Started byFrank Wang <frank.wang@rock-chips.com>
First post2017-07-05 10:40 +0200
Last post2017-07-13 02:10 +0200
Articles 2 — 2 participants

Back to article view | Back to linux.kernel

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  [PATCH v2 5/6] ARM: dts: rockchip: enable tsadc for rk3229-evb Frank Wang <frank.wang@rock-chips.com> - 2017-07-05 10:40 +0200
    Re: [PATCH v2 5/6] ARM: dts: rockchip: enable tsadc for rk3229-evb Heiko Stuebner <heiko@sntech.de> - 2017-07-13 02:10 +0200

#1681368 — [PATCH v2 5/6] ARM: dts: rockchip: enable tsadc for rk3229-evb

FromFrank Wang <frank.wang@rock-chips.com>
Date2017-07-05 10:40 +0200
Subject[PATCH v2 5/6] ARM: dts: rockchip: enable tsadc for rk3229-evb
Message-ID<tZO0N-3SX-5@gated-at.bofh.it>
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>
---
 arch/arm/boot/dts/rk3229-evb.dts | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/arch/arm/boot/dts/rk3229-evb.dts b/arch/arm/boot/dts/rk3229-evb.dts
index a51ca01..cfcfe2a 100644
--- a/arch/arm/boot/dts/rk3229-evb.dts
+++ b/arch/arm/boot/dts/rk3229-evb.dts
@@ -192,6 +192,11 @@
 	status = "okay";
 };
 
+&tsadc {
+	rockchip,hw-tshut-mode = <0>; /* tshut mode 0:CRU 1:GPIO */
+	status = "okay";
+};
+
 &uart2 {
 	status = "okay";
 };
-- 
2.0.0

[toc] | [next] | [standalone]


#1686140

FromHeiko Stuebner <heiko@sntech.de>
Date2017-07-13 02:10 +0200
Message-ID<u2zRE-6HJ-13@gated-at.bofh.it>
In reply to#1681368
Am Mittwoch, 5. Juli 2017, 16:32:24 CEST schrieb Frank Wang:
> 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>

applied for 4.14

[toc] | [prev] | [standalone]


Back to top | Article view | linux.kernel


csiph-web