2
0
mirror of https://github.com/edk2-porting/linux-next.git synced 2024-12-24 05:04:00 +08:00
linux-next/include/asm-avr32/arch-at32ap
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
..
at32ap7000.h [AVR32] Add PIOE device and reserve SDRAM pins 2007-02-09 15:01:58 +01:00
board.h [AVR32] Use per-controller spi_board_info structures 2007-02-16 14:01:40 +01:00
gpio.h [PATCH] gpio_direction_output() needs an initial value 2007-03-16 19:25:04 -07:00
init.h [PATCH] AVR32: Allow renumbering of serial devices 2006-10-04 10:25:06 -07:00
irq.h [AVR32] Add PIOE device and reserve SDRAM pins 2007-02-09 15:01:58 +01:00
portmux.h [AVR32] Introduce at32_reserve_pin() 2007-02-09 15:01:58 +01:00
sm.h [PATCH] avr32 architecture 2006-09-26 08:48:54 -07:00
smc.h [AVR32] Add nwait and tdf parameters to SMC configuration 2007-04-27 13:43:27 +02:00
time.h [AVR32] Change system timer from count-compare to Timer/Counter 0 2007-04-27 13:44:12 +02:00