mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [RFC PATCH 0/2] Permit reuse of APB timers on other platforms
@ 2011-04-01 11:08 Jamie Iles
  2011-04-01 11:08 ` [RFC PATCH 1/2] x86, mrst: share APB timer code with " Jamie Iles
  2011-04-01 11:08 ` [RFC PATCH 2/2] clocksource: platform driver for APB timers Jamie Iles
  0 siblings, 2 replies; 3+ messages in thread
From: Jamie Iles @ 2011-04-01 11:08 UTC (permalink / raw)
  To: linux-kernel; +Cc: johnstul, tglx, jacob.jun.pan, Jamie Iles

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


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2011-04-01 11:08 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-04-01 11:08 [RFC PATCH 0/2] Permit reuse of APB timers on other platforms Jamie Iles
2011-04-01 11:08 ` [RFC PATCH 1/2] x86, mrst: share APB timer code with " Jamie Iles
2011-04-01 11:08 ` [RFC PATCH 2/2] clocksource: platform driver for APB timers Jamie Iles

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®