linux/arch/arm/mach-iop13xx
Mikael Pettersson 469d30448d iop: clockevent support
This updates the IOP platform to expose the interrupting
timer 0 as a clockevent object. The timer interrupt handler
is changed to call the clockevent ->event_handler() instead
of timer_tick(), and ->set_next_event() and ->set_mode()
operations are added to allow the mode of the timer to be
updated (required for ONESHOT/NOHZ mode).

Timer 0 must now be properly initialised, which requires
a new write_tcr0() function from the mach-specific code.

The mode of timer 0 must be read at the start of ->set_mode(),
which requires a new read_tmr0() function from the mach-
specific code.

Initial setup of timer 0 is also rewritten to be more robust.

Tested on n2100, compile-tested for all plat-iop machines.

Signed-off-by: Mikael Pettersson <mikpe@it.uu.se>
Signed-off-by: Dan Williams <dan.j.williams@intel.com>
2009-10-29 11:46:54 -07:00
..
include/mach iop: clockevent support 2009-10-29 11:46:54 -07:00
io.c [ARM] Convert asm/io.h to linux/io.h 2008-09-06 12:10:45 +01:00
iq81340mc.c [ARM] Move include/asm-arm/arch-* to arch/arm/*/include/mach 2008-08-07 09:55:48 +01:00
iq81340sc.c [ARM] Move include/asm-arm/arch-* to arch/arm/*/include/mach 2008-08-07 09:55:48 +01:00
irq.c [ARM] Move include/asm-arm/arch-* to arch/arm/*/include/mach 2008-08-07 09:55:48 +01:00
Kconfig [ARM] 3995/1: iop13xx: add iop13xx support 2006-12-07 17:20:21 +00:00
Makefile [ARM] iop13xx: msi support 2007-05-11 17:41:52 +01:00
Makefile.boot [ARM] 3995/1: iop13xx: add iop13xx support 2006-12-07 17:20:21 +00:00
msi.c [ARM] 5298/1: Drop desc_handle_irq() 2008-10-09 15:00:36 +01:00
pci.c [ARM] fix leak in iop13xx/pci 2009-03-24 22:52:27 +00:00
setup.c dmaengine: cleanup unused transaction types 2009-09-08 17:42:52 -07:00
tpmi.c dma-mapping: replace all DMA_64BIT_MASK macro with DMA_BIT_MASK(64) 2009-04-07 08:31:10 -07:00