Commit 37b3280d authored by R Sricharan's avatar R Sricharan Committed by Santosh Shilimkar

ARM: OMAP5: timer: Add clocksource, clockevent support

Adding the Initialisaton for clocksource and clockevent device
on OMAP5 Socs.
Signed-off-by: default avatarR Sricharan <r.sricharan@ti.com>
Signed-off-by: default avatarSantosh Shilimkar <santosh.shilimkar@ti.com>
parent 05e152c7
...@@ -130,6 +130,7 @@ extern struct sys_timer omap3_timer; ...@@ -130,6 +130,7 @@ extern struct sys_timer omap3_timer;
extern struct sys_timer omap3_secure_timer; extern struct sys_timer omap3_secure_timer;
extern struct sys_timer omap3_am33xx_timer; extern struct sys_timer omap3_am33xx_timer;
extern struct sys_timer omap4_timer; extern struct sys_timer omap4_timer;
extern struct sys_timer omap5_timer;
void omap2420_init_early(void); void omap2420_init_early(void);
void omap2430_init_early(void); void omap2430_init_early(void);
......
...@@ -393,6 +393,11 @@ static void __init omap4_timer_init(void) ...@@ -393,6 +393,11 @@ static void __init omap4_timer_init(void)
OMAP_SYS_TIMER(4) OMAP_SYS_TIMER(4)
#endif #endif
#ifdef CONFIG_SOC_OMAP5
OMAP_SYS_TIMER_INIT(5, 1, OMAP4_CLKEV_SOURCE, 2, OMAP4_MPU_SOURCE)
OMAP_SYS_TIMER(5)
#endif
/** /**
* omap_timer_init - build and register timer device with an * omap_timer_init - build and register timer device with an
* associated timer hwmod * associated timer hwmod
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment