linux/arch/mips/include/asm/netlogic
Jayachandran C 4e45e542cd MIPS: Netlogic: Use PIC timer as a clocksource
The XLR/XLS/XLP PIC has a 8 countdown timers which run at the PIC
frequencey. One of these can be used as a clocksource to provide
timestamps that is common across cores. This can be used in place
of the count/compare clocksource which is per-CPU.

On XLR/XLS PIC registers are 32-bit, so we just use the lower 32-bits
of the PIC counter. On XLP, the whole 64-bit can be used.

Provide common macros and functions for PIC timer registers on XLR/XLS
and XLP, and use them to register a PIC clocksource.

Signed-off-by: Jayachandran C <jchandra@broadcom.com>
Patchwork: http://patchwork.linux-mips.org/patch/4786/
Signed-off-by: John Crispin <blogic@openwrt.org>
2013-02-17 00:15:20 +01:00
..
xlp-hal MIPS: Netlogic: Use PIC timer as a clocksource 2013-02-17 00:15:20 +01:00
xlr MIPS: Netlogic: Use PIC timer as a clocksource 2013-02-17 00:15:20 +01:00
common.h MIPS: Netlogic: Support for XLR/XLS Fast Message Network 2012-11-09 11:37:20 +01:00
haldefs.h MIPS: Netlogic: Add XLP platform files for XLP SoC 2011-12-07 22:04:56 +00:00
interrupt.h MIPS: Netlogic: Support for XLR/XLS Fast Message Network 2012-11-09 11:37:20 +01:00
mips-extns.h MIPS: Netlogic: Optimize EIMR/EIRR accesses in 32-bit 2013-02-17 00:15:19 +01:00
psb-bootinfo.h MIPS: Platform files for XLR/XLS processor support 2011-05-19 09:55:40 +01:00