linux/arch/arm/mach-msm
Stephen Boyd 4312a7ef9c ARM: msm: Allow timer.c to compile on multiple targets
The timer code relies on #defines from mach/iomap.h, cpu_is_*()
checks, and a global irq #define. All this makes this file
impossible to compile in a mult-target build. Therefore, make a
sys_timer struct for each SoC so that machine descriptors can
reference the correct timer. Then go through and replace all the
defines with raw values that are passed to a common
initialization function.

This paves the way to adding DT support to this code as well as
allows us to compile this file on multiple targets at the same
time.

Signed-off-by: Stephen Boyd <sboyd@codeaurora.org>
Signed-off-by: David Brown <davidb@codeaurora.org>
2012-09-13 11:14:37 -07:00
..
include/mach ARM: msm: Allow timer.c to compile on multiple targets 2012-09-13 11:14:37 -07:00
acpuclock-arm11.c Fix common misspellings 2011-03-31 11:26:23 -03:00
acpuclock.h arm: msm: add cpu frequency controls 2010-05-12 09:14:20 -07:00
board-halibut.c ARM: msm: Allow timer.c to compile on multiple targets 2012-09-13 11:14:37 -07:00
board-mahimahi.c ARM: msm: use machine specific hook for late init 2012-05-08 20:36:17 +08:00
board-msm7x27.c ARM: msm: use machine specific hook for late init 2012-05-08 20:36:17 +08:00
board-msm7x30.c ARM: msm: Allow timer.c to compile on multiple targets 2012-09-13 11:14:37 -07:00
board-msm8x60.c ARM: msm: Allow timer.c to compile on multiple targets 2012-09-13 11:14:37 -07:00
board-msm8960.c ARM: msm: Allow timer.c to compile on multiple targets 2012-09-13 11:14:37 -07:00
board-qsd8x50.c ARM: msm: Allow timer.c to compile on multiple targets 2012-09-13 11:14:37 -07:00
board-sapphire.c ARM: msm: use machine specific hook for late init 2012-05-08 20:36:17 +08:00
board-trout-gpio.c arm: Fold irq_set_chip/irq_set_handler 2011-03-29 14:47:58 +02:00
board-trout-mmc.c ARM: gpio: convert includes of mach/gpio.h and asm/gpio.h to linux/gpio.h 2011-08-08 14:27:41 +01:00
board-trout-panel.c arm: msm: trout: fix compile failure 2012-04-13 10:23:16 -07:00
board-trout.c ARM: msm: Allow timer.c to compile on multiple targets 2012-09-13 11:14:37 -07:00
board-trout.h Add GPIO support for HTC Dream. 2010-06-15 13:19:43 -07:00
clock-7x30.h msm: clock: Migrate to clkdev 2011-02-28 12:40:17 -08:00
clock-debug.c msm: clock: Remove references to clk_ops_pcom 2011-02-28 12:40:05 -08:00
clock-pcom.c msm: clock: Remove references to clk_ops_pcom 2011-02-28 12:40:05 -08:00
clock-pcom.h msm: clock: Migrate to clkdev 2011-02-28 12:40:17 -08:00
clock.c PM QoS: Move and rename the implementation files 2011-08-25 15:35:03 +02:00
clock.h msm: clock: Migrate to clkdev 2011-02-28 12:40:17 -08:00
common.h ARM: msm: Allow timer.c to compile on multiple targets 2012-09-13 11:14:37 -07:00
devices-iommu.c iommu/msm: Fix compile error in mach-msm/devices-iommu.c 2011-12-06 11:17:34 +01:00
devices-msm7x00.c msm: mmc: Remove "pio_irq" resource 2011-10-26 15:43:37 -04:00
devices-msm7x30.c msm: clock: Migrate to clkdev 2011-02-28 12:40:17 -08:00
devices-msm8960.c msm: serial: Add MSM8960 serial support 2011-01-28 12:27:21 -08:00
devices-qsd8x50.c msm: mmc: Remove "pio_irq" resource 2011-10-26 15:43:37 -04:00
devices.h msm: clock: Migrate to clkdev 2011-02-28 12:40:17 -08:00
dma.c msm: dma: add completion.h header 2010-06-07 16:16:33 -07:00
gpiomux-8x50.c msm: 8x50: Add initial support for SDCC 2011-01-21 16:58:02 -08:00
gpiomux-8x60.c msm: add gpiomux api for gpio multiplex & configuration. 2010-10-06 09:01:15 -07:00
gpiomux-v1.c msm: add gpiomux api for gpio multiplex & configuration. 2010-10-06 09:01:15 -07:00
gpiomux-v1.h msm: add gpiomux api for gpio multiplex & configuration. 2010-10-06 09:01:15 -07:00
gpiomux-v2.c msm: add gpiomux api for gpio multiplex & configuration. 2010-10-06 09:01:15 -07:00
gpiomux-v2.h msm: add gpiomux api for gpio multiplex & configuration. 2010-10-06 09:01:15 -07:00
gpiomux.c msm: add gpiomux api for gpio multiplex & configuration. 2010-10-06 09:01:15 -07:00
gpiomux.h msm: gpiomux: Move public API to public header 2011-08-01 04:58:00 -07:00
headsmp.S ARM: msm: Add missing ENDPROC to headsmp.S 2012-01-16 08:36:02 -06:00
hotplug.c ARM: 7293/1: logical_cpu_map: decouple CPU mapping from SMP 2012-01-23 10:20:05 +00:00
idle.c ARM: mach-msm: hook special idle handlers to arm_pm_idle 2012-01-20 18:55:15 -05:00
io.c ARM: msm: use runtime ioremap hook 2012-03-06 21:23:17 -06:00
irq-vic.c arm: Fold irq_set_chip/irq_set_handler 2011-03-29 14:47:58 +02:00
irq.c arm: Fold irq_set_chip/irq_set_handler 2011-03-29 14:47:58 +02:00
Kconfig Cleanups on various subarchitectures 2012-01-09 14:21:03 -08:00
last_radio_log.c llseek: automatically add .llseek fop 2010-10-15 15:53:27 +02:00
Makefile ARM: msm: fix compilation flags for MSM_SCM 2011-11-08 08:58:28 -08:00
Makefile.boot ARM: msm: Add msm8660-surf.dts to Makefile.boot 2012-09-13 10:51:52 -07:00
platsmp.c ARM: msm: Don't touch GIC registers outside of GIC code 2012-09-13 11:14:29 -07:00
proc_comm.c ARM: msm: Fix section mismatches in proc_comm.c 2012-04-13 10:23:17 -07:00
proc_comm.h arm: msm: smd: fix SMD modem processor sync condition 2010-05-12 09:19:33 -07:00
scm-boot.c msm: scm-boot: Support for setting cold/warm boot addresses 2011-01-07 15:54:43 -08:00
scm-boot.h msm: Use explicit GPLv2 licenses 2011-02-28 12:40:05 -08:00
scm.c ARM: msm: fix compilation flags for MSM_SCM (part 2) 2012-05-11 11:08:37 -07:00
scm.h msm: Use explicit GPLv2 licenses 2011-02-28 12:40:05 -08:00
sirc.c arm: Fold irq_set_chip/irq_set_handler 2011-03-29 14:47:58 +02:00
smd_debug.c ARM: msm: use machine specific hook for late init 2012-05-08 20:36:17 +08:00
smd_private.h arm: msm: smd: msm7x30 a2m clean up 2010-05-12 09:19:04 -07:00
smd.c msm: smd: Reduce driver log chatter 2010-11-16 12:23:56 -08:00
timer.c ARM: msm: Allow timer.c to compile on multiple targets 2012-09-13 11:14:37 -07:00
vreg.c ARM: msm: vreg is a module and so needs module.h 2012-01-06 11:07:57 -08:00