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


Groups > linux.kernel > #1642974

[PATCH 4/4] arm: dts: rk322x: update tsadc's frequence setting

From Frank Wang <frank.wang@rock-chips.com>
Newsgroups linux.kernel
Subject [PATCH 4/4] arm: dts: rk322x: update tsadc's frequence setting
Date 2017-05-17 06:50 +0200
Message-ID <tHZ4m-6Ti-19@gated-at.bofh.it> (permalink)
References <tHZ4l-6Ti-3@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


From: Rocky Hao <rocky.hao@rock-chips.com>

Update freq of tsadc's working clock as 32768 hz, if not set, tsadc
will work at a default frequence.

Signed-off-by: Frank Wang <frank.wang@rock-chips.com>
---
 arch/arm/boot/dts/rk322x.dtsi | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/arch/arm/boot/dts/rk322x.dtsi b/arch/arm/boot/dts/rk322x.dtsi
index 7809e56..d2e9641 100644
--- a/arch/arm/boot/dts/rk322x.dtsi
+++ b/arch/arm/boot/dts/rk322x.dtsi
@@ -434,6 +434,8 @@
 		interrupts = <GIC_SPI 58 IRQ_TYPE_LEVEL_HIGH>;
 		clocks = <&cru SCLK_TSADC>, <&cru PCLK_TSADC>;
 		clock-names = "tsadc", "apb_pclk";
+		assigned-clocks = <&cru SCLK_TSADC>;
+		assigned-clock-rates = <32768>;
 		resets = <&cru SRST_TSADC>;
 		reset-names = "tsadc-apb";
 		pinctrl-names = "init", "default", "sleep";
-- 
2.0.0

Back to linux.kernel | Previous | NextPrevious in thread | Find similar | Unroll thread


Thread

[PATCH 0/4] amend some properties related clk and cpu for rk322x Frank Wang <frank.wang@rock-chips.com> - 2017-05-17 06:50 +0200
  [PATCH 2/4] arm: dts: rk322x: add operating-points-v2 property for cpu Frank Wang <frank.wang@rock-chips.com> - 2017-05-17 06:50 +0200
    Re: [PATCH 2/4] arm: dts: rk322x: add operating-points-v2 property  for cpu Viresh Kumar <viresh.kumar@linaro.org> - 2017-05-17 07:40 +0200
  [PATCH 3/4] arm: dts: rk3229: add a new cpu opp table Frank Wang <frank.wang@rock-chips.com> - 2017-05-17 06:50 +0200
    Re: [PATCH 3/4] arm: dts: rk3229: add a new cpu opp table Viresh Kumar <viresh.kumar@linaro.org> - 2017-05-17 07:40 +0200
  [PATCH 4/4] arm: dts: rk322x: update tsadc's frequence setting Frank Wang <frank.wang@rock-chips.com> - 2017-05-17 06:50 +0200

csiph-web