]> pilppa.org Git - linux-2.6-omap-h63xx.git/commit
3430ES2 clock: separate 3430ES1/3430ES2 clocks in clock code
authorPaul Walmsley <paul@pwsan.com>
Fri, 25 Jan 2008 08:20:06 +0000 (01:20 -0700)
committerTony Lindgren <tony@atomide.com>
Fri, 25 Jan 2008 22:48:22 +0000 (14:48 -0800)
commit3cc18b4107fcdcfec69ff03f89438ccab6cebefc
tree5e2c97ec698388c582563e6bfd271b9c3d817d65
parente8bf9d58e793752e77641d53094b7328ddf45996
3430ES2 clock: separate 3430ES1/3430ES2 clocks in clock code

On the OMAP3430 architecture, some clocks are only available on
3430ES1 (e.g., the GFX subsystem, and the 16.8MHz input crystal rate
option) and some clocks are only available on 3430ES2 (e.g., DPLL5,
temp sensor, etc.)  Now that OMAP3430ES revision detection is in the
tree, we can flag these so we do not try to initialize clocks that
don't exist on other ES revisions.

To do so, add new clock flags CLOCK_IN_OMAP3430ES1 and
CLOCK_IN_OMAP3430ES2, to be used for clocks that only exist on one
architecture or the other.  CLOCK_IN_OMAP343X is still present and
used for clocks which exist on all 343X-level devices.  The current
code assumes that production clocks will be identical to 3430ES2
clocks, but this is easy enough to change if necessary.

Signed-off-by: Paul Walmsley <paul@pwsan.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
arch/arm/mach-omap2/clock34xx.c
arch/arm/mach-omap2/clock34xx.h
arch/arm/mach-omap2/cm_regbits_34xx.h
include/asm-arm/arch-omap/clock.h