-
- Downloads
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>
Showing
- MAINTAINERS 1 addition, 0 deletionsMAINTAINERS
- arch/metag/include/asm/clock.h 51 additions, 0 deletionsarch/metag/include/asm/clock.h
- arch/metag/include/asm/delay.h 29 additions, 0 deletionsarch/metag/include/asm/delay.h
- arch/metag/include/asm/mach/arch.h 4 additions, 0 deletionsarch/metag/include/asm/mach/arch.h
- arch/metag/kernel/clock.c 53 additions, 0 deletionsarch/metag/kernel/clock.c
- arch/metag/kernel/time.c 15 additions, 0 deletionsarch/metag/kernel/time.c
- drivers/clocksource/Kconfig 5 additions, 0 deletionsdrivers/clocksource/Kconfig
- drivers/clocksource/Makefile 1 addition, 0 deletionsdrivers/clocksource/Makefile
- drivers/clocksource/metag_generic.c 198 additions, 0 deletionsdrivers/clocksource/metag_generic.c
- include/clocksource/metag_generic.h 21 additions, 0 deletionsinclude/clocksource/metag_generic.h
Loading
Please register or sign in to comment