5e802dfab7
GENERIC_TIME and GENERIC_CLOCKEVENTS support for the at91rm9200. - Oneshot mode (used for NO_HZ and high res timers) uses the alarm to emulate a real oneshot timer; the trickiest bit is how to avoid some lowlevel races. Thanks to Remy Bohmer for various fixes to this code. - Tighten up periodic mode support using the PIT. - Streamline reads of the 32KHz counter. Thanks to Marc Pignat for some testing results: the CRTR register has *very* odd behavior. The reread appears to work around stranger glitches than just getting an old clock value (which would quickly self-correct). - Remove the rounding-up of tick_usec to 10.009 msec (32KiHz/100), since that no longer acts correct (time increases too fast). Note that the at91sam9 and at91x40 chips need other solutions, since they don't have the same system timer module. Signed-off-by: David Brownell <dbrownell@users.sourceforge.net> Acked-by: Bill Gatliff <bgat@billgatliff.com> Acked-by:Remy Bohmer <linux@bohmer.net> Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk> |
||
---|---|---|
.. | ||
Kconfig | ||
Makefile | ||
Makefile.boot | ||
at91rm9200.c | ||
at91rm9200_devices.c | ||
at91rm9200_time.c | ||
at91sam9rl.c | ||
at91sam9rl_devices.c | ||
at91sam926x_time.c | ||
at91sam9260.c | ||
at91sam9260_devices.c | ||
at91sam9261.c | ||
at91sam9261_devices.c | ||
at91sam9263.c | ||
at91sam9263_devices.c | ||
at91x40.c | ||
at91x40_time.c | ||
board-1arm.c | ||
board-carmeva.c | ||
board-csb337.c | ||
board-csb637.c | ||
board-dk.c | ||
board-eb01.c | ||
board-eb9200.c | ||
board-ek.c | ||
board-kafa.c | ||
board-kb9202.c | ||
board-picotux200.c | ||
board-sam9rlek.c | ||
board-sam9260ek.c | ||
board-sam9261ek.c | ||
board-sam9263ek.c | ||
clock.c | ||
clock.h | ||
generic.h | ||
gpio.c | ||
irq.c | ||
leds.c | ||
pm.c |