diff options
author | Tarun Kanti DebBarma <tarun.kanti@ti.com> | 2010-07-12 18:27:07 +0530 |
---|---|---|
committer | Santosh Shilimkar <santosh.shilimkar@ti.com> | 2010-07-12 18:27:07 +0530 |
commit | a94e782f2cc7a762c2208fbdb64a5ca5d331f357 (patch) | |
tree | 4c28bd44701444d838f3c2e5e481c04c5ae5e5c1 /arch/arm | |
parent | 86b7095601dc95ea952475708d8d8f0297bd499b (diff) |
omap4: dmtimer: allow multiple clock source
This patch supports different clock sources for omap4 dmtimers.
Specifically, dmtimers[5,6,7,8] have syc_clk_div_ck as parent clock,
while dmtimers[1,2,3,4,9,10,11,12] have sys_clkin_ck as the parent
clock.
Tested on OMAp4430 SDP.
Signed-off-by: Tarun Kanti DebBarma <tarun.kanti@ti.com>
Diffstat (limited to 'arch/arm')
-rw-r--r-- | arch/arm/mach-omap2/dmtimers.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/arch/arm/mach-omap2/dmtimers.c b/arch/arm/mach-omap2/dmtimers.c index 368691e291bf..e5ee00743f1f 100644 --- a/arch/arm/mach-omap2/dmtimers.c +++ b/arch/arm/mach-omap2/dmtimers.c @@ -54,9 +54,10 @@ struct clk *omap2_dm_source_clocks[2]; static const char *omap2_dm_source_names[] __initdata = { "sys_clkin_ck", "sys_32k_ck", + "syc_clk_div_ck", NULL }; -static struct clk *omap2_dm_source_clocks[2]; +static struct clk *omap2_dm_source_clocks[3]; #endif void omap2_dm_timer_enable(struct platform_device *pdev) |