linux/arch/arm/mach-sa1100
Will Deacon d0a533b182 ARM: 7452/1: delay: allow timer-based delay implementation to be selected
This patch allows a timer-based delay implementation to be selected by
switching the delay routines over to use get_cycles, which is
implemented in terms of read_current_timer. This further allows us to
skip the loop calibration and have a consistent delay function in the
face of core frequency scaling.

To avoid the pain of dealing with memory-mapped counters, this
implementation uses the co-processor interface to the architected timers
when they are available. The previous loop-based implementation is
kept around for CPUs without the architected timers and we retain both
the maximum delay (2ms) and the corresponding conversion factors for
determining the number of loops required for a given interval. Since the
indirection of the timer routines will only work when called from C,
the sa1100 sleep routines are modified to branch to the loop-based delay
functions directly.

Tested-by: Shinya Kuribayashi <shinya.kuribayashi.px@renesas.com>
Reviewed-by: Stephen Boyd <sboyd@codeaurora.org>
Signed-off-by: Will Deacon <will.deacon@arm.com>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
2012-07-09 17:42:23 +01:00
..
include/mach ARM: fix lcd power build failure in collie_defconfig 2012-04-02 22:03:44 -07:00
assabet.c ARM: sa1100: use machine specific hook for late init 2012-05-08 20:36:34 +08:00
badge4.c ARM: sa1100: use machine specific hook for late init 2012-05-08 20:36:34 +08:00
cerf.c ARM: sa1100: use machine specific hook for late init 2012-05-08 20:36:34 +08:00
clock.c ARM: sa1100: clean up clock support 2012-02-28 10:08:07 +08:00
collie.c ARM: sa1100: use machine specific hook for late init 2012-05-08 20:36:34 +08:00
cpu-sa1100.c ARM: sa11x0: fix section mismatch in cpu-sa1100.c 2012-01-19 17:26:28 +00:00
cpu-sa1110.c ARM: 6451/1: sa1100: Fix checkpatch.pl issues in arch/arm/mach-sa1100/cpu-sa1110.c. 2010-12-21 14:53:39 +00:00
generic.c Merge branch 'clean/late_initcall_v2' of git://git.linaro.org/people/shawnguo/linux-2.6 into staging/cleanup 2012-05-11 00:49:56 -07:00
generic.h ARM: sa1100: use machine specific hook for late init 2012-05-08 20:36:34 +08:00
h3xxx.c ARM: sa11x0: convert to use DEFINE_RES_xxx macros 2012-02-09 15:34:12 +00:00
h3100.c ARM: sa1100: use machine specific hook for late init 2012-05-08 20:36:34 +08:00
h3600.c ARM: sa1100: use machine specific hook for late init 2012-05-08 20:36:34 +08:00
hackkit.c ARM: sa1100: use machine specific hook for late init 2012-05-08 20:36:34 +08:00
irq.c ARM: 7342/2: sa1100: prepare for sparse irq conversion 2012-03-25 23:57:20 +01:00
jornada720.c ARM: sa1100: use machine specific hook for late init 2012-05-08 20:36:34 +08:00
jornada720_ssp.c ARM: 7288/1: mach-sa1100: add missing module_init() call 2012-01-23 10:21:38 +00:00
Kconfig ARM: 6459/2: sa1100: Add nanoEngine PCI support. 2010-12-21 14:53:46 +00:00
lart.c ARM: sa1100: use machine specific hook for late init 2012-05-08 20:36:34 +08:00
leds-assabet.c Disintegrate asm/system.h for ARM 2012-03-28 18:30:01 +01:00
leds-badge4.c Disintegrate asm/system.h for ARM 2012-03-28 18:30:01 +01:00
leds-cerf.c Disintegrate asm/system.h for ARM 2012-03-28 18:30:01 +01:00
leds-hackkit.c Disintegrate asm/system.h for ARM 2012-03-28 18:30:01 +01:00
leds-lart.c Disintegrate asm/system.h for ARM 2012-03-28 18:30:01 +01:00
leds.c ARM: 7026/1: simpad: replace ARM specific LED code 2011-10-17 09:12:42 +01:00
leds.h ARM: 7026/1: simpad: replace ARM specific LED code 2011-10-17 09:12:42 +01:00
Makefile ARM: sa11x0: remove old SoC private DMA driver 2012-03-25 23:55:09 +01:00
Makefile.boot ARM: sa1100: fix build error 2011-12-08 14:55:57 +08:00
nanoengine.c ARM: sa1100: use machine specific hook for late init 2012-05-08 20:36:34 +08:00
neponset.c ARM: neponset: make sure neponset_ncr_frob() is exported 2012-05-25 08:41:53 +01:00
pci-nanoengine.c ARM: PCI: provide a default bus scan implementation 2012-05-13 17:12:17 +01:00
pleb.c ARM: sa1100: use machine specific hook for late init 2012-05-08 20:36:34 +08:00
pm.c ARM: sa1100: use machine specific hook for late init 2012-05-08 20:36:34 +08:00
shannon.c ARM: sa1100: use machine specific hook for late init 2012-05-08 20:36:34 +08:00
simpad.c ARM: sa1100: use machine specific hook for late init 2012-05-08 20:36:34 +08:00
sleep.S ARM: 7452/1: delay: allow timer-based delay implementation to be selected 2012-07-09 17:42:23 +01:00
ssp.c ARM: 7342/2: sa1100: prepare for sparse irq conversion 2012-03-25 23:57:20 +01:00
time.c ARM: 7342/2: sa1100: prepare for sparse irq conversion 2012-03-25 23:57:20 +01:00