linux-sg2042/include/asm-avr32/arch-at32ap
David Brownell e723ff666a avr32: Generic clockevents support
This combines three patches from David Brownell:
  * avr32: tclib support
  * avr32: simplify clocksources
  * avr32: Turn count/compare into a oneshot clockevent device

Register both TC blocks (instead of just the first one) so that
the AT32/AT91 tclib code will pick them up (instead of just the
avr32-only PIT-style clocksource).

Rename the first one and its resources appropriately.

More cleanups to the cycle counter clocksource code

 - Disable all the weak symbol magic; remove the AVR32-only TCB-based
   clocksource code (source and header).

 - Mark the __init code properly.

 - Don't forget to report IRQF_TIMER.

 - Make the system work properly with this clocksource, by preventing
   use of the CPU "idle" sleep state in the idle loop when it's used.

Package the avr32 count/compare timekeeping support as a oneshot
clockevent device, so it supports NO_HZ and high res timers.
This means it also supports plugging in other clockevent devices
and clocksources.

Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
Signed-off-by: Haavard Skinnemoen <hskinnemoen@atmel.com>
2008-04-19 20:40:08 -04:00
..
at32ap700x.h gpiolib: avr32 at32ap platform support 2008-02-05 09:44:13 -08:00
board.h avr32: pass i2c board info through at32_add_device_twi 2008-04-19 20:40:06 -04:00
cpu.h [ARM] 4764/1: [AT91] AT91CAP9 core support 2008-01-26 15:01:13 +00:00
gpio.h gpiolib: avr32 at32ap platform support 2008-02-05 09:44:13 -08:00
init.h [PATCH] AVR32: Allow renumbering of serial devices 2006-10-04 10:25:06 -07:00
io.h [AVR32] Add support for AT32AP7001 and AT32AP7002 2008-01-25 08:31:41 +01:00
irq.h gpiolib: avr32 at32ap platform support 2008-02-05 09:44:13 -08:00
pm.h avr32: Move sleep code into mach-at32ap 2008-04-19 20:40:07 -04:00
portmux.h [AVR32] add multidrive support for pio driver 2007-10-11 11:38:41 +02:00
smc.h [AVR32] SMC configuration in clock cycles 2007-10-11 13:32:49 +02:00