]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/commit
OMAP2/3 clock: encode target IDLEST bits and clean omap2_clk_wait_ready()
authorPaul Walmsley <paul@pwsan.com>
Tue, 16 Sep 2008 14:58:34 +0000 (08:58 -0600)
committerTony Lindgren <tony@atomide.com>
Mon, 22 Sep 2008 14:55:47 +0000 (17:55 +0300)
commita63efb1547ac35dcb0f007090396a3c7510eb691
tree4e5f4a7ecac6c2ba1fa4f1b873ea4761ff3c8600
parente1f1a5cc24615fb790cc763c96d1c5cfe6296f5b
OMAP2/3 clock: encode target IDLEST bits and clean omap2_clk_wait_ready()

For each OMAP module that has a target IDLEST bit, add the appropriate
bits to the clock tree on both the module interface clock and the appropriate
functional clock.  Add a new clock bit, "WAIT_READY", that indicates that
the clock code must wait for the clock's module to come out of idle after
both the target functional clock and interface clocks are enabled.  Fix
some clock flag comments while there to indicate that clocks marked
as "3430ES2" clocks also are valid for later 3430 revisions.

Several OMAP3xxx clocks must be split into platform-specific variants,
since some early silicon revisions do not have target idle state bits
available. DSS, HSOTGUSB, and SSI clocks are affected.  In the future, it
would be ideal to #ifdef out those clocks for kernels that don't need to
run on 3430ES1 chips to save memory.

Signed-off-by: Paul Walmsley <paul@pwsan.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
arch/arm/mach-omap2/clock24xx.h
arch/arm/mach-omap2/clock34xx.h
arch/arm/mach-omap2/cm-regbits-24xx.h
arch/arm/plat-omap/include/mach/clock.h