kernel_optimize_test/arch/arm/mach-omap2
Kevin Hilman 5a3a388fbe ARM: OMAP: Timer32K: Re-organize duplicated 32k-timer code
On OMAP2/3, the gp-timer code can be used for a 32kHz timer simply by
setting the source to be the 32k clock instead of sys_clk.

This patch uses the mach-omap2/timer-gp.c code for 32kHz timer on
OMAP2, moving the logic into mach-omap2/timer-gp.c, and not using
plat-omap/timer32k.c which, for OMAP2, is redundant with the timer-gp
code.

Also, if CONFIG_OMAP_32K_TIMER is enabled, the gptimer-based
clocksource is not used.  Instead the default 32k sync counter is used
as the clocksource (see the clocksource in plat-omap/common.c.)  This
is important for sleep/suspend so there is a valid counter during
sleep.  Note that the suspend/sleep code needs fixing to check for
overflows of this counter.

In addition, the OMAP2/3 details are removed from timer32k.c leaving
that with only OMAP1 specifics.  A follow-up patch will move it from
plat-omap common code to mach-omap1.

Signed-off-by: Kevin Hilman <khilman@mvista.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
2008-04-14 09:57:12 -07:00
..
board-2430sdp.c [NET] smc91x: Make smc91x use IRQ resource trigger flags 2008-01-28 13:13:19 +00:00
board-apollon.c Merge branch 'pxa-plat' into devel 2008-01-28 13:21:38 +00:00
board-generic.c fix file specification in comments 2006-10-03 23:01:26 +02:00
board-h4.c ARM: OMAP: abstract debug card setup (smc, leds) 2007-09-20 09:59:20 -07:00
clock.c [ARM] Fix assignment instead of condition in arm/mach-omap2/clock.c 2007-10-31 15:21:43 +00:00
clock.h [ARM] spelling fixes 2007-05-20 20:10:32 +01:00
devices.c ARM: OMAP: Add minimal OMAP2430 support 2007-09-20 09:59:20 -07:00
gpmc.c ARM: OMAP: Merge gpmc changes from N800 tree 2007-09-20 09:59:26 -07:00
id.c ARM: OMAP: Add minimal OMAP2430 support 2007-09-20 09:59:20 -07:00
io.c ARM: OMAP2: Register the L4 io bus to boot OMAP2 2008-03-06 13:28:06 +02:00
irq.c ARM: OMAP: Optimize INTC register accesses and enable autoidling 2007-09-20 09:59:19 -07:00
Kconfig ARM: OMAP: Add minimal OMAP2430 support 2007-09-20 09:59:20 -07:00
mailbox.c ARM: OMAP: Add mailbox support for IVA 2007-05-09 10:37:10 +01:00
Makefile ARM: OMAP: Timer32K: Re-organize duplicated 32k-timer code 2008-04-14 09:57:12 -07:00
Makefile.boot [ARM] 3145/1: OMAP 3a/5: Add support for omap24xx 2005-11-10 14:26:51 +00:00
memory.c ARM: OMAP: omap2/memory.c compile fixes 2007-09-20 09:59:20 -07:00
memory.h [ARM] 3426/1: ARM: OMAP: 1/8 Update clock framework 2006-04-02 17:46:20 +01:00
mux.c ARM: OMAP: Split omap_cfg_reg() into omap processor specific functions 2008-04-14 09:57:11 -07:00
pm-domain.c Remove all inclusions of <linux/config.h> 2006-10-04 03:38:54 -04:00
pm.c PM: Rework struct platform_suspend_ops 2007-10-18 14:37:18 -07:00
prcm-regs.h fix file specification in comments 2006-10-03 23:01:26 +02:00
prcm.c ARM: OMAP: Avoid sleeping during arch_reset 2006-09-25 12:41:20 +03:00
serial.c ARM: OMAP: Enable serial idling and wakeup features 2007-08-22 00:42:52 -07:00
sleep.S Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
sram-fn.S fix file specification in comments 2006-10-03 23:01:26 +02:00
timer-gp.c ARM: OMAP: Timer32K: Re-organize duplicated 32k-timer code 2008-04-14 09:57:12 -07:00
usb-tusb6010.c ARM: OMAP: TUSB EVM init 2007-09-20 09:59:21 -07:00