1
linux/arch/arm/plat-iop
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
..
adma.c dmaengine: cleanup unused transaction types 2009-09-08 17:42:52 -07:00
cp6.c
gpio.c [ARM] 5160/1: IOP3XX: gpio/gpiolib support 2008-07-09 23:31:42 +01:00
i2c.c [ARM] Convert asm/io.h to linux/io.h 2008-09-06 12:10:45 +01:00
io.c [ARM] Convert asm/io.h to linux/io.h 2008-09-06 12:10:45 +01:00
Makefile
pci.c iop3xx: ATU and PCI memory configuration corrected 2009-08-18 13:48:35 -07:00
setup.c Nicolas Pitre has a new email address 2009-09-15 09:37:12 -07:00
time.c iop: clockevent support 2009-10-29 11:46:54 -07:00