diff mbox

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

Message ID 1499243544-21726-1-git-send-email-frank.wang@rock-chips.com (mailing list archive)
State New, archived
Headers show

Commit Message

Frank Wang July 5, 2017, 8:32 a.m. UTC
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(+)

Comments

Heiko Stuebner July 13, 2017, 12:04 a.m. UTC | #1
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
diff mbox

Patch

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";
 };