Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1680753
| From | Frank Wang <frank.wang@rock-chips.com> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | [PATCH 5/6] ARM: dts: rockchip: enable tsadc for rk3229-evb |
| Date | 2017-07-04 10:20 +0200 |
| Message-ID | <tZrdV-5Lm-23@gated-at.bofh.it> (permalink) |
| References | <tZrdU-5Lm-3@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
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 bae0dbf..43c3ad2 100644
--- a/arch/arm/boot/dts/rk3229-evb.dts
+++ b/arch/arm/boot/dts/rk3229-evb.dts
@@ -181,6 +181,11 @@
status = "okay";
};
+&tsadc {
+ rockchip,hw-tshut-mode = <0>; /* tshut mode 0:CRU 1:GPIO */
+ status = "okay";
+};
+
&uart2 {
status = "okay";
};
--
2.0.0
Back to linux.kernel | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
[PATCH 0/6] add and enable some device nodes for rk3229-evb board Frank Wang <frank.wang@rock-chips.com> - 2017-07-04 10:20 +0200
[PATCH 2/6] ARM: dts: rockchip: add cpu-supply property for cpu node of rk3229-evb Frank Wang <frank.wang@rock-chips.com> - 2017-07-04 10:20 +0200
[PATCH 5/6] ARM: dts: rockchip: enable tsadc for rk3229-evb Frank Wang <frank.wang@rock-chips.com> - 2017-07-04 10:20 +0200
[PATCH 3/6] ARM: dts: rockchip: enable io-domain for rk3229-evb Frank Wang <frank.wang@rock-chips.com> - 2017-07-04 10:20 +0200
[PATCH 1/6] ARM: dts: rockchip: add regulator nodes for rk3229-evb Frank Wang <frank.wang@rock-chips.com> - 2017-07-04 10:20 +0200
Re: [PATCH 1/6] ARM: dts: rockchip: add regulator nodes for rk3229-evb Heiko Stübner <heiko@sntech.de> - 2017-07-04 10:40 +0200
Re: [PATCH 1/6] ARM: dts: rockchip: add regulator nodes for rk3229-evb Frank Wang <frank.wang@rock-chips.com> - 2017-07-04 11:40 +0200
csiph-web