linux/arch/arm/mach-mmp
Lennert Buytenhek 7ce5ae39c4 ARM: mmp: Also start timer 1 on boot.
Currently, arch-mmp/time.c uses timer 0 both as a clocksource timer
and as a clockevent timer, the latter by setting up a comparator
interrupt to match on 'current_time + delta'.  This is problematic
if delta is small enough, as that can lead to 'current_time + delta'
already being in the past when comparator setup has finished, leading
to the requested event not triggering.

As there is also a silicon issue that requires stopping a timer's
counter while writing to one of its match registers, we'll switch to
using two separate timers -- timer 0 as clockevent timer, which we'll
start and stop on every invocation of ->set_next_event(), and timer 1
as clocksource timer, which will be free-running.

This first patch enables timer 1 on boot, so that we can use it as
clocksource timer.

Signed-off-by: Lennert Buytenhek <buytenh@laptop.org>
Acked-by: Haojian Zhuang <haojian.zhuang@gmail.com>
Signed-off-by: Eric Miao <eric.y.miao@gmail.com>
2011-08-11 10:10:44 +08:00
..
include/mach ARM: pxa168/gplugd: get rid of mfp-gplugd.h 2011-08-11 10:10:43 +08:00
aspenite.c arm: remove machine_desc.io_pg_offst and .phys_io 2010-10-20 00:27:46 -04:00
avengers_lite.c arm: remove machine_desc.io_pg_offst and .phys_io 2010-10-20 00:27:46 -04:00
brownstone.c mmc: update mmp2 mmc resources in arch/arm 2011-07-20 17:20:50 -04:00
clock.c ARM: pxa: add clk_set_rate() 2011-07-12 19:45:19 +08:00
clock.h ARM: pxa: add clk_set_rate() 2011-07-12 19:45:19 +08:00
common.c ARM: mmp: update cpuid of pxa168 and pxa910 2010-10-09 17:07:32 +08:00
common.h [ARM] mmp: move declarations into SoC specific header file from common.h 2010-08-05 14:34:46 +08:00
devices.c [ARM] pxa: add base support for Marvell's PXA168 processor line 2009-03-23 10:11:34 +08:00
flint.c ARM: mmp: correct the naming of GPIOxx_GPIO definitions 2010-12-20 23:07:47 +08:00
gplugd.c ARM: pxa168/gplugd: free correct GPIO 2011-08-11 10:10:43 +08:00
irq-mmp2.c arm: Cleanup the irq namespace 2011-03-29 14:47:57 +02:00
irq-pxa168.c arm: Fold irq_set_chip/irq_set_handler 2011-03-29 14:47:58 +02:00
jasper.c mmc: update mmp2 mmc resources in arch/arm 2011-07-20 17:20:50 -04:00
Kconfig ARM: pxa168: Add board support for gplugD 2011-07-12 19:50:37 +08:00
Makefile ARM: pxa168: Add board support for gplugD 2011-07-12 19:50:37 +08:00
Makefile.boot [ARM] pxa: add base support for Marvell's PXA168 processor line 2009-03-23 10:11:34 +08:00
mmp2.c mmc: update mmp2 mmc resources in arch/arm 2011-07-20 17:20:50 -04:00
pxa168.c Merge branch 'next/devel' of ssh://master.kernel.org/pub/scm/linux/kernel/git/arm/linux-arm-soc 2011-07-26 17:41:04 -07:00
pxa910.c ARM: pxa910: correct nand pmu setting 2011-07-06 23:51:22 +08:00
tavorevb.c arm: remove machine_desc.io_pg_offst and .phys_io 2010-10-20 00:27:46 -04:00
teton_bga.c arm: remove machine_desc.io_pg_offst and .phys_io 2010-10-20 00:27:46 -04:00
time.c ARM: mmp: Also start timer 1 on boot. 2011-08-11 10:10:44 +08:00
ttc_dkb.c ARM: mmp/dkb: enable max7312 gpio expander 2011-07-12 19:50:38 +08:00