ARM: OMAP2: Clock: Add OMAP3 DPLL autoidle functions
authorPaul Walmsley <paul@pwsan.com>
Thu, 3 Jul 2008 09:24:45 +0000 (12:24 +0300)
committerTony Lindgren <tony@atomide.com>
Thu, 3 Jul 2008 09:24:45 +0000 (12:24 +0300)
commit542313cc98e72d026d2df86f515699dfaface460
tree94bc87268a67cd1fff2d63cf48761f137384607d
parent097c584cd48844d9ef8402bdc6ab49e7e2135f31
ARM: OMAP2: Clock: Add OMAP3 DPLL autoidle functions

This patch adds support for DPLL autoidle control to the OMAP3 clock
framework.  These functions will be used by the noncore DPLL enable
and disable code - this is because, according to the CDP code, the
DPLL autoidle status must be saved and restored across DPLL
lock/bypass/off transitions.

N.B.: the CORE DPLL (DPLL3) has three autoidle mode options, rather
than just two.  This code currently does not support the third option,
low-power bypass autoidle.

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
arch/arm/mach-omap2/cm.h
include/asm-arm/arch-omap/clock.h