[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <1301656091-1284-1-git-send-email-jamie@jamieiles.com>
Date: Fri, 1 Apr 2011 12:08:09 +0100
From: Jamie Iles <jamie@...ieiles.com>
To: linux-kernel@...r.kernel.org
Cc: johnstul@...ibm.com, tglx@...utronix.de,
jacob.jun.pan@...ux.intel.com, Jamie Iles <jamie@...ieiles.com>
Subject: [RFC PATCH 0/2] Permit reuse of APB timers on other platforms
These patches allow the APB timers to be used by platforms other than
x86. The first patch moves the actual timer handling and
clocksource/clock_event_device abstraction into drivers/clocksource and
converts x86 to use this. The second patch adds a platform_driver to
allow other systems to use them.
I've tested these on an ARM platform with NO_HZ but I don't have an x86
platform with these timers that I can test them on so that's just
compile tested.
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 | 401 ++++-----------------------
drivers/Kconfig | 2 +
drivers/clocksource/Kconfig | 11 +
drivers/clocksource/Makefile | 2 +
drivers/clocksource/dw_apb_timer.c | 291 +++++++++++++++++++
drivers/clocksource/dw_apb_timer_platform.c | 173 ++++++++++++
include/linux/dw_apb_timer.h | 122 ++++++++
9 files changed, 662 insertions(+), 363 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
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists