From patchwork Fri Aug 3 14:23:04 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: [1/2] ARM: imx: enable emi_slow_gate clock for imx5 Date: Fri, 03 Aug 2012 04:23:04 -0000 From: Shawn Guo X-Patchwork-Id: 175002 Message-Id: <20120803142302.GD23791@S2101-09.ap.freescale.net> To: Sascha Hauer Cc: stable@vger.kernel.org, linux-arm-kernel@lists.infradead.org On Fri, Aug 03, 2012 at 04:11:08PM +0200, Sascha Hauer wrote: > Can we add a comment that emi_slow_gate is needed for the EIM interface? > It's not obvious from the datasheet and this information might help > people who want to clean up the now unconditionally enabled clocks. > Ok, will amend the following change. > Otherwise: > > Acked-by: Sascha Hauer > Thanks. diff --git a/arch/arm/mach-imx/clk-imx51-imx53.c b/arch/arm/mach-imx/clk-imx51-imx53.c index 6eee32a..4bdcaa9 100644 --- a/arch/arm/mach-imx/clk-imx51-imx53.c +++ b/arch/arm/mach-imx/clk-imx51-imx53.c @@ -303,7 +303,7 @@ static void __init mx5_clocks_common_init(unsigned long rate_ckil, clk_prepare_enable(clk[aips_tz2]); /* fec */ clk_prepare_enable(clk[spba]); clk_prepare_enable(clk[emi_fast_gate]); /* fec */ - clk_prepare_enable(clk[emi_slow_gate]); + clk_prepare_enable(clk[emi_slow_gate]); /* eim */ clk_prepare_enable(clk[tmax1]); clk_prepare_enable(clk[tmax2]); /* esdhc2, fec */ clk_prepare_enable(clk[tmax3]); /* esdhc1, esdhc4 */