linux/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
board-apollon.c
board-generic.c
board-h4.c
clock.c
clock.h
devices.c
gpmc.c
id.c
io.c
irq.c
Kconfig
mailbox.c
Makefile ARM: OMAP: Timer32K: Re-organize duplicated 32k-timer code 2008-04-14 09:57:12 -07:00
Makefile.boot
memory.c
memory.h
mux.c ARM: OMAP: Split omap_cfg_reg() into omap processor specific functions 2008-04-14 09:57:11 -07:00
pm-domain.c
pm.c
prcm-regs.h
prcm.c
serial.c
sleep.S
sram-fn.S
timer-gp.c ARM: OMAP: Timer32K: Re-organize duplicated 32k-timer code 2008-04-14 09:57:12 -07:00
usb-tusb6010.c