linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] mx3: Enable PWM clock on mx31 and mx35
@ 2010-10-22 11:13 Fabio Estevam
  2010-10-22 12:03 ` Eric Bénard
  0 siblings, 1 reply; 3+ messages in thread
From: Fabio Estevam @ 2010-10-22 11:13 UTC (permalink / raw)
  To: linux-arm-kernel

mx3: Enable PWM clock on mx31 and mx35.

Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
Tested-by: Radoslav Kolev <radoslav.kolev@rnd.bg>

---
 arch/arm/mach-mx3/clock-imx31.c |    1 +
 arch/arm/mach-mx3/clock-imx35.c |    2 ++
 2 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/arch/arm/mach-mx3/clock-imx31.c b/arch/arm/mach-mx3/clock-imx31.c
index 109e98f..3926915 100644
--- a/arch/arm/mach-mx3/clock-imx31.c
+++ b/arch/arm/mach-mx3/clock-imx31.c
@@ -612,6 +612,7 @@ int __init mx31_clocks_init(unsigned long fref)
 	clk_enable(&iim_clk);
 
 	clk_enable(&serial_pll_clk);
+	clk_enable(&pwm_clk);
 
 	mx31_read_cpu_rev();
 
diff --git a/arch/arm/mach-mx3/clock-imx35.c b/arch/arm/mach-mx3/clock-imx35.c
index 61e4a31..9796440 100644
--- a/arch/arm/mach-mx3/clock-imx35.c
+++ b/arch/arm/mach-mx3/clock-imx35.c
@@ -536,6 +536,8 @@ int __init mx35_clocks_init()
 	__raw_writel(cgr3, CCM_BASE + CCM_CGR3);
 
 	clk_enable(&iim_clk);
+	clk_enable(&pwm_clk);
+
 	mx35_read_cpu_rev();
 
 #ifdef CONFIG_MXC_USE_EPIT
-- 
1.6.0.4



      

^ permalink raw reply related	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2010-10-22 12:26 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-10-22 11:13 [PATCH] mx3: Enable PWM clock on mx31 and mx35 Fabio Estevam
2010-10-22 12:03 ` Eric Bénard
2010-10-22 12:26   ` Radoslav Kolev

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).