2
0
mirror of https://github.com/edk2-porting/linux-next.git synced 2024-12-25 05:34:00 +08:00
linux-next/arch/arm/mach-at91
David Brownell 5e802dfab7 [ARM] 4539/1: clocksource and clockevents for at91rm9200
GENERIC_TIME and GENERIC_CLOCKEVENTS support for the at91rm9200.

 - Oneshot mode (used for NO_HZ and high res timers) uses the
   alarm to emulate a real oneshot timer; the trickiest bit is
   how to avoid some lowlevel races.  Thanks to Remy Bohmer for
   various fixes to this code.

 - Tighten up periodic mode support using the PIT.

 - Streamline reads of the 32KHz counter.  Thanks to Marc Pignat
   for some testing results: the CRTR register has *very* odd
   behavior.  The reread appears to work around stranger glitches
   than just getting an old clock value (which would quickly
   self-correct).

 - Remove the rounding-up of tick_usec to 10.009 msec (32KiHz/100),
   since that no longer acts correct (time increases too fast).

Note that the at91sam9 and at91x40 chips need other solutions,
since they don't have the same system timer module.

Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
Acked-by: Bill Gatliff <bgat@billgatliff.com>
Acked-by:Remy Bohmer <linux@bohmer.net>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
2007-10-12 23:43:15 +01:00
..
at91rm9200_devices.c [ARM] 4478/1: AT91: Convert AT91RM9200 to use atmel_spi driver 2007-07-20 09:43:28 +01:00
at91rm9200_time.c [ARM] 4539/1: clocksource and clockevents for at91rm9200 2007-10-12 23:43:15 +01:00
at91rm9200.c [ARM] 4351/1: AT91: Define rest of peripheral clocks 2007-05-03 14:10:21 +01:00
at91sam9rl_devices.c [ARM] 4372/1: Define byte sizes in asm-arm/sizes.h 2007-05-11 21:07:58 +01:00
at91sam9rl.c [ARM] 4370/3: AT91: Support for Atmel AT91SAM9RL processors. 2007-05-11 21:07:54 +01:00
at91sam926x_time.c Add IRQF_IRQPOLL flag on arm 2007-05-08 11:15:22 -07:00
at91sam9260_devices.c [ARM] 4372/1: Define byte sizes in asm-arm/sizes.h 2007-05-11 21:07:58 +01:00
at91sam9260.c [ARM] 4351/1: AT91: Define rest of peripheral clocks 2007-05-03 14:10:21 +01:00
at91sam9261_devices.c [ARM] 4542/1: AT91: include atmel_lcdc.h in at91sam926{1,3}_devices.c 2007-08-04 22:13:48 +01:00
at91sam9261.c [ARM] 4351/1: AT91: Define rest of peripheral clocks 2007-05-03 14:10:21 +01:00
at91sam9263_devices.c [ARM] 4542/1: AT91: include atmel_lcdc.h in at91sam926{1,3}_devices.c 2007-08-04 22:13:48 +01:00
at91sam9263.c [ARM] 4351/1: AT91: Define rest of peripheral clocks 2007-05-03 14:10:21 +01:00
at91x40_time.c [ARM] 4533/1: AT91x40 timer support 2007-10-12 23:43:04 +01:00
at91x40.c [ARM] 4534/1: AT91x40 interrupt support 2007-10-12 23:43:05 +01:00
board-1arm.c [ARM] 4124/1: Rename mach-at91rm9200 and arch-at91rm9200 directories 2007-02-08 14:50:56 +00:00
board-carmeva.c [ARM] spelling fixes 2007-05-20 20:10:32 +01:00
board-csb337.c csb337 supports "new style" rtc-ds1307 2007-07-17 10:23:09 -07:00
board-csb637.c [ARM] 4148/1: AT91: Physically mapped flash on CSB337 and CSB637 boards. 2007-02-08 14:55:28 +00:00
board-dk.c [ARM] Fix some section mismatch warnings 2007-05-30 17:48:45 +01:00
board-eb01.c [ARM] 4538/1: Atmel EB01 board support 2007-10-12 23:43:07 +01:00
board-eb9200.c [ARM] 4143/1: AT91: Prepare for AT91SAM9263 support 2007-02-08 14:55:22 +00:00
board-ek.c [ARM] 4143/1: AT91: Prepare for AT91SAM9263 support 2007-02-08 14:55:22 +00:00
board-kafa.c [ARM] 4124/1: Rename mach-at91rm9200 and arch-at91rm9200 directories 2007-02-08 14:50:56 +00:00
board-kb9202.c [ARM] Fix some section mismatch warnings 2007-05-30 17:48:45 +01:00
board-picotux200.c [ARM] 4300/1: Add picotux 200 ARM board 2007-04-21 21:01:08 +01:00
board-sam9rlek.c [ARM] Fix some section mismatch warnings 2007-05-30 17:48:45 +01:00
board-sam9260ek.c [ARM] 4355/2: AT91: SAM9260-EK and SAM9263-EK board updates 2007-05-03 17:42:42 +01:00
board-sam9261ek.c [ARM] 4420/2: AT91: GPIO buttons on SAM9261-EK board 2007-07-12 11:11:21 +01:00
board-sam9263ek.c [ARM] 4379/1: AT91: LCD support on SAM9261-EK and SAM9263-EK boards 2007-07-12 11:11:21 +01:00
clock.c [ARM] 4418/1: AT91: Number of programmable clocks differs 2007-06-02 21:31:43 +01:00
clock.h [ARM] 4124/1: Rename mach-at91rm9200 and arch-at91rm9200 directories 2007-02-08 14:50:56 +00:00
generic.h [ARM] 4535/1: AT91x40 function prototypes 2007-10-12 23:43:06 +01:00
gpio.c [PATCH] gpio_direction_output() needs an initial value 2007-03-16 19:25:04 -07:00
irq.c [ARM] 4124/1: Rename mach-at91rm9200 and arch-at91rm9200 directories 2007-02-08 14:50:56 +00:00
Kconfig [ARM] 4539/1: clocksource and clockevents for at91rm9200 2007-10-12 23:43:15 +01:00
leds.c [ARM] 4150/1: AT91: LED update 2007-02-08 14:55:30 +00:00
Makefile [ARM] 4537/1: build support for AT91x40 and EB01 2007-10-12 23:43:09 +01:00
Makefile.boot [ARM] 4124/1: Rename mach-at91rm9200 and arch-at91rm9200 directories 2007-02-08 14:50:56 +00:00
pm.c PM: introduce set_target method in pm_ops 2007-07-01 12:29:44 -07:00