[PATCHv2 0/2] Permit reuse of APB timers on other platforms

From: Jamie Iles
Date: Fri Apr 08 2011 - 10:33:49 EST


This patch series splits out the DesignWare APB timer handling into
clocksource and clockevent drivers then allows different platforms to reuse
them. The Synopsys timers can be found in x86, ARM and potentially other
architectures.

Here's the updated patch series which Jacob has had running on his x86
platform and I have working on a currently out-of-tree ARM platform.

Many thanks to Jacob for the testing (and fixing) to get this running on
x86.

Jamie Iles (2):
x86, mrst: share APB timer code with other platforms
clocksource: platform driver for APB timers

arch/x86/Kconfig | 1 +
arch/x86/include/asm/apb_timer.h | 22 +--
arch/x86/kernel/apb_timer.c | 421 +++++----------------------
drivers/Kconfig | 2 +
drivers/clocksource/Kconfig | 11 +
drivers/clocksource/Makefile | 2 +
drivers/clocksource/dw_apb_timer.c | 322 ++++++++++++++++++++
drivers/clocksource/dw_apb_timer_platform.c | 173 +++++++++++
include/linux/dw_apb_timer.h | 129 ++++++++
9 files changed, 714 insertions(+), 369 deletions(-)
create mode 100644 drivers/clocksource/Kconfig
create mode 100644 drivers/clocksource/dw_apb_timer.c
create mode 100644 drivers/clocksource/dw_apb_timer_platform.c
create mode 100644 include/linux/dw_apb_timer.h

--
1.7.4.2

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/