]> git.karo-electronics.de Git - karo-tx-linux.git/commit
metag: Time keeping
authorJames Hogan <james.hogan@imgtec.com>
Tue, 9 Oct 2012 09:54:39 +0000 (10:54 +0100)
committerJames Hogan <james.hogan@imgtec.com>
Wed, 6 Feb 2013 13:11:34 +0000 (13:11 +0000)
commit3fedb0674fbc9c4f3ac5e63d35a6fc27b058f804
tree956b4c82f04ec896e33a211082af3e7bb1f9bcc3
parent18d6f1f1d84e1b50c4ee473c15ce24fcb3a2ed66
metag: Time keeping

Add time keeping code for metag. Meta hardware threads have 2 timers.
The background timer (TXTIMER) is used as a free-running time base, and
the interrupt timer (TXTIMERI) is used for the timer interrupt. Both
counters traditionally count at approximately 1MHz.

Signed-off-by: James Hogan <james.hogan@imgtec.com>
Cc: John Stultz <johnstul@us.ibm.com>
Cc: Thomas Gleixner <tglx@linutronix.de>
MAINTAINERS
arch/metag/include/asm/clock.h [new file with mode: 0644]
arch/metag/include/asm/delay.h [new file with mode: 0644]
arch/metag/include/asm/mach/arch.h
arch/metag/kernel/clock.c [new file with mode: 0644]
arch/metag/kernel/time.c [new file with mode: 0644]
drivers/clocksource/Kconfig
drivers/clocksource/Makefile
drivers/clocksource/metag_generic.c [new file with mode: 0644]
include/clocksource/metag_generic.h [new file with mode: 0644]