diff options
author | Jamie Iles <jamie@jamieiles.com> | 2011-06-06 07:43:07 -0400 |
---|---|---|
committer | John Stultz <john.stultz@linaro.org> | 2011-06-27 18:16:21 -0400 |
commit | 06c3df49521c1b112b777cc4946e5de057c814ba (patch) | |
tree | 34989a358e7554d82dd4e73328f492653ceeac88 /arch/x86/Kconfig | |
parent | af4087e0e682df12bdffec5cfafc2fec9208716e (diff) |
clocksource: apb: Share APB timer code with other platforms
The APB timers are an IP block from Synopsys (DesignWare APB timers)
and are also found in other systems including ARM SoC's. This patch
adds functions for creating clock_event_devices and clocksources from
APB timers but does not do the resource allocation. This is handled
in a higher layer to allow the timers to be created from multiple
methods such as platform_devices.
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: Ingo Molnar <mingo@redhat.com>
Cc: "H. Peter Anvin" <hpa@zytor.com>
Cc: Jacob Pan <jacob.jun.pan@linux.intel.com>
Signed-off-by: Jamie Iles <jamie@jamieiles.com>
Signed-off-by: John Stultz <john.stultz@linaro.org>
Diffstat (limited to 'arch/x86/Kconfig')
-rw-r--r-- | arch/x86/Kconfig | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/x86/Kconfig b/arch/x86/Kconfig index da349723d411..10ce62f17ea1 100644 --- a/arch/x86/Kconfig +++ b/arch/x86/Kconfig | |||
@@ -617,6 +617,7 @@ config HPET_EMULATE_RTC | |||
617 | config APB_TIMER | 617 | config APB_TIMER |
618 | def_bool y if MRST | 618 | def_bool y if MRST |
619 | prompt "Langwell APB Timer Support" if X86_MRST | 619 | prompt "Langwell APB Timer Support" if X86_MRST |
620 | select DW_APB_TIMER | ||
620 | help | 621 | help |
621 | APB timer is the replacement for 8254, HPET on X86 MID platforms. | 622 | APB timer is the replacement for 8254, HPET on X86 MID platforms. |
622 | The APBT provides a stable time base on SMP | 623 | The APBT provides a stable time base on SMP |