iop: clocksource support
authorMikael Pettersson <mikpe@it.uu.se>
Thu, 29 Oct 2009 18:46:54 +0000 (11:46 -0700)
committerDan Williams <dan.j.williams@intel.com>
Thu, 29 Oct 2009 18:46:54 +0000 (11:46 -0700)
commita91549a8f27e63e0e537fe1c20d4845581de894f
tree6cf4a9ecf379cc4bdaa8d988c45702135aecdaa3
parent012abeea669ea49636cf952d13298bb68654146a
iop: clocksource support

This updates the IOP platform to expose the free-running
timer 1 as a clocksource object. This timer is now also
properly initialised, which requires a new write_tcr1()
function from the mach-specific code. Apart from the
explicit initialisation, there is no functional change
in how timer 1 is programmed.

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>
arch/arm/include/asm/hardware/iop3xx.h
arch/arm/mach-iop13xx/include/mach/time.h
arch/arm/plat-iop/time.c