summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-ux500/timer.c
Commit message (Collapse)AuthorAgeFilesLines
* ARM: ux500: Provide local timer support for Device TreeLee Jones2012-03-161-3/+8
| | | | | | | | | This enables local timer (AKA: private timer) support for all u8500 based hardware using DT. Acked-by: Linus Walleij <linus.walleij@linaro.org> Signed-off-by: Lee Jones <lee.jones@linaro.org> Signed-off-by: Arnd Bergmann <arnd@arndb.de>
* ARM: ux500: fix compilation after local timer reworkMarc Zyngier2012-03-151-1/+1
| | | | | | | | | | | | mach-ux500/timer.c lacked the inclusion of mach/irqs.h, and thus failed to compile. Fix it and also remove an unused variable. Test compiled only. Reported-by: Lee Jones <lee.jones@linaro.org> Cc: Arnd Bergman <arnd@arndb.de> Cc: Linus Walleij <linus.walleij@linaro.org> Signed-off-by: Marc Zyngier <marc.zyngier@arm.com>
* ARM: ux500: convert to twd_local_timer_register() interfaceMarc Zyngier2012-03-131-7/+25
| | | | | | | | Add support for the new smp_twd runtime registration interface to the ux500 platforms, and remove the old compile-time support. Acked-by: Linus Walleij <linus.walleij@linaro.org> Signed-off-by: Marc Zyngier <marc.zyngier@arm.com>
* ARM: plat-nomadik: get rid of global mtu base pointerLinus Walleij2012-01-311-3/+4
| | | | | | | | Pass the base offset to the Nomadik MTU timer in the init call instead of keeping a global pointer to be assigned. Acked-by: Alessandro Rubini <rubini@unipv.it> Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
* clocksource: fixup ux500 build problemsLinus Walleij2011-10-031-3/+6
| | | | | | | | | | | Based on a patch from Arnd Bergmann this fixes up the build problem of assigning a non-existing global when the ux500 PRCMU timer is not linked in by passing its base address to the init function. We also add a missing <linux/errno.h> inclusion and staticize the dummy function. Cc: Arnd Bergmann <arnd@arndb.de> Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
* ARM: ux500: Reprogram timers upon resumeJonas Aaberg2011-09-221-0/+7
| | | | | | | | | | On ux500 the MTU timer blocks are powered off during suspend/resume, so these need some reinitialization when coming back from suspend. Cc: Thomas Gleixner <tglx@linutronix.de> Signed-off-by: Jonas Aaberg <jonas.aberg@stericsson.com> Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
* ARM: ux500: Move timer code to separate fileJonas Aaberg2011-09-221-0/+58
Just split off the timer code to its own file so we have a more fine-grained file tree. Cc: Thomas Gleixner <tglx@linutronix.de> Signed-off-by: Jonas Aaberg <jonas.aberg@stericsson.com> Signed-off-by: Linus Walleij <linus.walleij@linaro.org>