[PATCH v2 2/3] ARM: mx28evk: set a initial clock rate for saif
b29396 at freescale.com
Wed Sep 7 09:57:37 EDT 2011
Signed-off-by: Dong Aisheng <b29396 at freescale.com>
Cc: Sascha Hauer <s.hauer at pengutronix.de>
Cc: Wolfram Sang <w.sang at pengutronix.de>
Cc: Mark Brown <broonie at opensource.wolfsonmicro.com>
Cc: Liam Girdwood <lrg at ti.com>
No changes since v1.
Note this patch still needs another patch from Wolfram to work.
I send out it in this series as
[PATCH 3/3] arm: mxs: disable clock-gates when setting saif-clocks
As discussed with Wolfram, that patch may still have some later work
to do. However, we just send out it for testers to work first.
arch/arm/mach-mxs/clock-mx28.c | 9 +++++++++
1 files changed, 9 insertions(+), 0 deletions(-)
diff --git a/arch/arm/mach-mxs/clock-mx28.c b/arch/arm/mach-mxs/clock-mx28.c
index f0c7cb6..33cc2ff 100644
@@ -826,6 +826,15 @@ int __init mx28_clocks_init(void)
+ * Set an initial clk rate for saif's internal logic to work properly,
+ * this is especially for the saif working on EXTMASTER mode that who
+ * uses other saif's BITCLK&LRCLK but it still needs a basic clk which
+ * should be bigger enough for its internal logic.
+ clk_set_rate(&saif0_clk, 24000000);
+ clk_set_rate(&saif1_clk, 24000000);
More information about the linux-arm-kernel