android_kernel_xiaomi_sm7250/arch/avr32/kernel
Hans-Christian Egtvedt 7760989e5e [AVR32] Change system timer from count-compare to Timer/Counter 0
Due to limitation of the count-compare system timer (not able to
count when CPU is in sleep), the system timer had to be changed to
use a peripheral timer/counter.

The old COUNT-COMPARE code is still present in time.c as weak
functions. The new timer is added to the architecture directory.

This patch sets up TC0 as system timer The new timer has been tested
on AT32AP7000/ATSTK1000 at 100 Hz, 250 Hz, 300 Hz and 1000 Hz.

For more details about the timer/counter see the datasheet for
AT32AP700x available at

http://www.atmel.com/dyn/products/product_card.asp?part_id=3903

Signed-off-by: Hans-Christian Egtvedt <hcegtvedt@atmel.com>
Signed-off-by: Haavard Skinnemoen <hskinnemoen@atmel.com>
2007-04-27 13:44:12 +02:00
..
asm-offsets.c [PATCH] avr32 architecture 2006-09-26 08:48:54 -07:00
avr32_ksyms.c [AVR32] Export clear_page symbol 2007-01-26 13:12:25 +01:00
cpu.c [AVR32] Add missing #include <linux/module.h> 2007-02-09 15:23:46 +01:00
entry-avr32b.S [PATCH] avr32 architecture 2006-09-26 08:48:54 -07:00
head.S AVR32: Get rid of board_early_init 2006-11-06 10:43:23 +01:00
init_task.c [PATCH] avr32 architecture 2006-09-26 08:48:54 -07:00
irq.c [AVR32] /proc/interrupts display 2007-02-09 15:01:57 +01:00
kprobes.c [PATCH] avr32: fixup kprobes preemption handling 2006-12-07 08:39:26 -08:00
Makefile [PATCH] avr32 architecture 2006-09-26 08:48:54 -07:00
module.c [PATCH] AVR32: Silence some compile warnings 2006-10-25 20:26:32 -07:00
process.c [AVR32] Put the chip in "stop" mode when halting the system 2006-12-08 13:06:23 +01:00
ptrace.c [AVR32] Fix bogus ti->flags manipulation in debug handler 2007-03-07 10:50:28 +01:00
semaphore.c [PATCH] avr32 architecture 2006-09-26 08:48:54 -07:00
setup.c [PATCH] Dynamic kernel command-line: avr32 2007-02-12 09:48:37 -08:00
signal.c [PATCH] Add include/linux/freezer.h and move definitions from sched.h 2006-12-07 08:39:27 -08:00
switch_to.S [PATCH] avr32 architecture 2006-09-26 08:48:54 -07:00
sys_avr32.c [PATCH] AVR32: Implement kernel_execve 2006-10-02 07:57:24 -07:00
syscall_table.S [AVR32] Remove unnecessary sys_nfsservctl conditional 2007-02-16 12:55:42 +01:00
syscall-stubs.S AVR32: Wire up sys_epoll_pwait 2006-11-06 14:07:15 +01:00
time.c [AVR32] Change system timer from count-compare to Timer/Counter 0 2007-04-27 13:44:12 +02:00
traps.c [AVR32] show_trace: Only walk valid stack addresses 2007-03-07 10:50:27 +01:00
vmlinux.lds.c [PATCH] disable init/initramfs.c: architectures 2007-02-11 10:51:25 -08:00