diff options
author | Xing Zheng <zhengxing@rock-chips.com> | 2016-01-29 16:49:21 +0800 |
---|---|---|
committer | Caesar Wang <wxt@rock-chips.com> | 2016-02-03 09:26:20 +0800 |
commit | bd68e8c213e0b25a7ee6f9310bc58d3152205ca8 (patch) | |
tree | 7dbb70ebf6322d0c5d54447fb224ceecfe0c84cb | |
parent | 2c65322773df7cbddf08e1aaba7f608310455034 (diff) | |
download | v4.1-bd68e8c213e0b25a7ee6f9310bc58d3152205ca8.tar.gz |
UPSTREAM: ARM: dts: rockchip: increase the mclk_fs to 512 for kylin board
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>
Signed-off-by: Heiko Stuebner <heiko@sntech.de>
Bug: 25923642
Patchset: Support to playback 8KHz got audio.
(Note: fixit as the 512 since the upstream is 256)
(cherry picked from git.kernel.org mmind/linux-rockchip.git v4.6-armsoc/dts32
commit f6bb9d5f30d6986c4fdce1ed5a36088a0c30c544)
Signed-off-by: Caesar Wang <wxt@rock-chips.com>
Change-Id: Id6f5a864f6d6f8f3dbcadd4c03fa5882000711dd
-rw-r--r-- | arch/arm/boot/dts/rk3036-kylin.dts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/boot/dts/rk3036-kylin.dts b/arch/arm/boot/dts/rk3036-kylin.dts index 1c55b917fab..ab3209c3911 100644 --- a/arch/arm/boot/dts/rk3036-kylin.dts +++ b/arch/arm/boot/dts/rk3036-kylin.dts @@ -61,7 +61,7 @@ compatible = "simple-audio-card"; simple-audio-card,format = "i2s"; simple-audio-card,name = "rockchip,rt5616-codec"; - simple-audio-card,mclk-fs = <64>; + simple-audio-card,mclk-fs = <512>; simple-audio-card,widgets = "Microphone", "Microphone Jack", "Headphone", "Headphone Jack"; |