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


Groups > linux.kernel > #1643206 > unrolled thread

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

Started byFrank Wang <frank.wang@rock-chips.com>
First post2017-05-17 12:20 +0200
Last post2017-05-19 13:30 +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 4/4] arm: dts: rk322x: update tsadc's frequence setting Frank Wang <frank.wang@rock-chips.com> - 2017-05-17 12:20 +0200
    Re: [PATCH v2 4/4] arm: dts: rk322x: update tsadc's frequence setting Heiko Stuebner <heiko@sntech.de> - 2017-05-19 13:30 +0200

#1643206 — [PATCH v2 4/4] arm: dts: rk322x: update tsadc's frequence setting

FromFrank Wang <frank.wang@rock-chips.com>
Date2017-05-17 12:20 +0200
Subject[PATCH v2 4/4] arm: dts: rk322x: update tsadc's frequence setting
Message-ID<tI4dH-1LO-13@gated-at.bofh.it>
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: Rocky Hao <rocky.hao@rock-chips.com>
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 9a9da1f..c054e9e 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

[toc] | [next] | [standalone]


#1645536

FromHeiko Stuebner <heiko@sntech.de>
Date2017-05-19 13:30 +0200
Message-ID<tIOgy-1r7-23@gated-at.bofh.it>
In reply to#1643206
Am Mittwoch, 17. Mai 2017, 18:16:17 CEST schrieb Frank Wang:
> 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: Rocky Hao <rocky.hao@rock-chips.com>
> Signed-off-by: Frank Wang <frank.wang@rock-chips.com>

applied for 4.13 after adapting the subject a bit


Thanks
Heiko

[toc] | [prev] | [standalone]


Back to top | Article view | linux.kernel


csiph-web