diff options
author | R Sricharan <r.sricharan@ti.com> | 2013-02-07 02:55:39 -0500 |
---|---|---|
committer | Rajendra Nayak <rnayak@ti.com> | 2013-08-13 01:30:38 -0400 |
commit | f18153f984bef7ab551701f2bae74078c0ded27c (patch) | |
tree | 149dedcb218f8a0c762296c554a7e5b1ff1fefc5 | |
parent | a3a9384a115756e275ed3845b5f92f21efd5a691 (diff) |
ARM: DRA7: Resue the clocksource, clockevent support
All of OMAP5 timer support for clocksource and clockevent is completely
reused across DRA7.
Signed-off-by: R Sricharan <r.sricharan@ti.com>
Signed-off-by: Rajendra Nayak <rnayak@ti.com>
-rw-r--r-- | arch/arm/mach-omap2/Kconfig | 2 | ||||
-rw-r--r-- | arch/arm/mach-omap2/timer.c | 3 |
2 files changed, 3 insertions, 2 deletions
diff --git a/arch/arm/mach-omap2/Kconfig b/arch/arm/mach-omap2/Kconfig index 3eed0006d189..fc6ec23b0109 100644 --- a/arch/arm/mach-omap2/Kconfig +++ b/arch/arm/mach-omap2/Kconfig | |||
@@ -132,7 +132,7 @@ config SOC_HAS_OMAP2_SDRC | |||
132 | 132 | ||
133 | config SOC_HAS_REALTIME_COUNTER | 133 | config SOC_HAS_REALTIME_COUNTER |
134 | bool "Real time free running counter" | 134 | bool "Real time free running counter" |
135 | depends on SOC_OMAP5 | 135 | depends on SOC_OMAP5 || SOC_DRA7XX |
136 | default y | 136 | default y |
137 | 137 | ||
138 | comment "OMAP Core Type" | 138 | comment "OMAP Core Type" |
diff --git a/arch/arm/mach-omap2/timer.c b/arch/arm/mach-omap2/timer.c index b37e1fcbad56..1e77f11c5f51 100644 --- a/arch/arm/mach-omap2/timer.c +++ b/arch/arm/mach-omap2/timer.c | |||
@@ -594,7 +594,8 @@ OMAP_SYS_GP_TIMER_INIT(3, 2, "timer_sys_ck", NULL, | |||
594 | 1, "timer_sys_ck", "ti,timer-alwon"); | 594 | 1, "timer_sys_ck", "ti,timer-alwon"); |
595 | #endif | 595 | #endif |
596 | 596 | ||
597 | #if defined(CONFIG_ARCH_OMAP4) || defined(CONFIG_SOC_OMAP5) | 597 | #if defined(CONFIG_ARCH_OMAP4) || defined(CONFIG_SOC_OMAP5) || \ |
598 | defined(CONFIG_SOC_DRA7XX) | ||
598 | static OMAP_SYS_32K_TIMER_INIT(4, 1, "timer_32k_ck", "ti,timer-alwon", | 599 | static OMAP_SYS_32K_TIMER_INIT(4, 1, "timer_32k_ck", "ti,timer-alwon", |
599 | 2, "sys_clkin_ck", NULL); | 600 | 2, "sys_clkin_ck", NULL); |
600 | #endif | 601 | #endif |