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


Groups > linux.kernel > #1321566

[RFC PATCH] ARM: dts: rockchip: increase the mclk_fs to 512 for kylin board

Path csiph.com!eternal-september.org!feeder.eternal-september.org!aioe.org!bofh.it!news.nic.it!robomod
From Xing Zheng <zhengxing@rock-chips.com>
Newsgroups linux.kernel
Subject [RFC PATCH] ARM: dts: rockchip: increase the mclk_fs to 512 for kylin board
Date Fri, 29 Jan 2016 09:50:02 +0100
Message-ID <qWcUG-90-15@gated-at.bofh.it> (permalink)
X-Original-To linux-rockchip@lists.infradead.org
X-263anti-Spam KSV:0;
X-Mail-Delivery 1
X-Abs-Checked 4
X-Rl-Sender zhengxing@rock-chips.com
X-Fst-To linux-rockchip@lists.infradead.org
X-Sender-IP 58.22.7.114
X-Login-Name zhengxing@rock-chips.com
X-Unique-Tag <a3b9def17f71a33ae48bcdea83ecb68e>
X-Sender zhengxing@rock-chips.com
X-Mailer git-send-email 1.7.9.5
Sender robomod@news.nic.it
List-ID <linux-kernel.vger.kernel.org>
X-Mailing-List linux-kernel@vger.kernel.org
Approved robomod@news.nic.it
Lines 30
Organization linux.* mail to news gateway
X-Original-Cc keescook@google.com, leozwang@google.com, heiko@sntech.de, Xing Zheng <zhengxing@rock-chips.com>, Rob Herring <robh+dt@kernel.org>, Pawel Moll <pawel.moll@arm.com>, Mark Rutland <mark.rutland@arm.com>, Ian Campbell <ijc+devicetree@hellion.org.uk>, Kumar Gala <galak@codeaurora.org>, Russell King <linux@arm.linux.org.uk>, linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org
X-Original-Date Fri, 29 Jan 2016 16:49:21 +0800
X-Original-Message-ID <1454057361-22923-1-git-send-email-zhengxing@rock-chips.com>
X-Original-Sender linux-kernel-owner@vger.kernel.org
Xref csiph.com linux.kernel:1321566

Show key headers only | View raw


If we playback the 8KHz FS audio with the 256 mclk_fs, we need the
mclk = 256 * 8000 = 2.048MHz, the frac div is 594 / 2.048 = 290,
the frac div value 0x00809015 set to the CRU_CLKSEL7_CON will cause
to hang.

We increase the mclk_fs to 512, will get the mclk = 512 * 8000 =
4.096MHz, use 0x01009015 instead of 0x00809015 to work around this
issue. We will keep tracking it.

Signed-off-by: Xing Zheng <zhengxing@rock-chips.com>
---

 arch/arm/boot/dts/rk3036-kylin.dts |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/arch/arm/boot/dts/rk3036-kylin.dts b/arch/arm/boot/dts/rk3036-kylin.dts
index 190f22c..be468f9 100644
--- a/arch/arm/boot/dts/rk3036-kylin.dts
+++ b/arch/arm/boot/dts/rk3036-kylin.dts
@@ -67,7 +67,7 @@
 		compatible = "simple-audio-card";
 		simple-audio-card,format = "i2s";
 		simple-audio-card,name = "rockchip,rt5616-codec";
-		simple-audio-card,mclk-fs = <256>;
+		simple-audio-card,mclk-fs = <512>;
 		simple-audio-card,widgets =
 			"Microphone", "Microphone Jack",
 			"Headphone", "Headphone Jack";
-- 
1.7.9.5

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


Thread

[RFC PATCH] ARM: dts: rockchip: increase the mclk_fs to 512 for kylin board Xing Zheng <zhengxing@rock-chips.com> - 2016-01-29 09:50 +0100
  Re: [RFC PATCH] ARM: dts: rockchip: increase the mclk_fs to 512 for kylin board Heiko Stübner <heiko@sntech.de> - 2016-02-02 22:50 +0100

csiph-web