提交 f18153f9 编写于 作者: R R Sricharan 提交者: Rajendra Nayak

ARM: DRA7: Resue the clocksource, clockevent support

All of OMAP5 timer support for clocksource and clockevent is completely
reused across DRA7.
Signed-off-by: NR Sricharan <r.sricharan@ti.com>
Signed-off-by: NRajendra Nayak <rnayak@ti.com>
上级 a3a9384a
...@@ -132,7 +132,7 @@ config SOC_HAS_OMAP2_SDRC ...@@ -132,7 +132,7 @@ config SOC_HAS_OMAP2_SDRC
config SOC_HAS_REALTIME_COUNTER config SOC_HAS_REALTIME_COUNTER
bool "Real time free running counter" bool "Real time free running counter"
depends on SOC_OMAP5 depends on SOC_OMAP5 || SOC_DRA7XX
default y default y
comment "OMAP Core Type" comment "OMAP Core Type"
......
...@@ -594,7 +594,8 @@ OMAP_SYS_GP_TIMER_INIT(3, 2, "timer_sys_ck", NULL, ...@@ -594,7 +594,8 @@ OMAP_SYS_GP_TIMER_INIT(3, 2, "timer_sys_ck", NULL,
1, "timer_sys_ck", "ti,timer-alwon"); 1, "timer_sys_ck", "ti,timer-alwon");
#endif #endif
#if defined(CONFIG_ARCH_OMAP4) || defined(CONFIG_SOC_OMAP5) #if defined(CONFIG_ARCH_OMAP4) || defined(CONFIG_SOC_OMAP5) || \
defined(CONFIG_SOC_DRA7XX)
static OMAP_SYS_32K_TIMER_INIT(4, 1, "timer_32k_ck", "ti,timer-alwon", static OMAP_SYS_32K_TIMER_INIT(4, 1, "timer_32k_ck", "ti,timer-alwon",
2, "sys_clkin_ck", NULL); 2, "sys_clkin_ck", NULL);
#endif #endif
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册