summaryrefslogtreecommitdiffstats
path: root/arch
diff options
context:
space:
mode:
authorXing Zheng <zhengxing@rock-chips.com>2016-01-29 09:49:21 +0100
committerHeiko Stuebner <heiko@sntech.de>2016-02-02 22:42:37 +0100
commitf6bb9d5f30d6986c4fdce1ed5a36088a0c30c544 (patch)
tree51daae9107c7638aea33f850a67388c7ae857608 /arch
parentARM: dts: rockchip: support the spi for rk3036 (diff)
downloadlinux-f6bb9d5f30d6986c4fdce1ed5a36088a0c30c544.tar.xz
linux-f6bb9d5f30d6986c4fdce1ed5a36088a0c30c544.zip
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>
Diffstat (limited to 'arch')
-rw-r--r--arch/arm/boot/dts/rk3036-kylin.dts2
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 b754613b9a9a..d5913fe128ee 100644
--- a/arch/arm/boot/dts/rk3036-kylin.dts
+++ b/arch/arm/boot/dts/rk3036-kylin.dts
@@ -78,7 +78,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";