OMAP2xxx: clock: add clockfw autoidle support for APLLs
authorPaul Walmsley <paul@pwsan.com>
Fri, 25 Feb 2011 22:39:27 +0000 (15:39 -0700)
committerPaul Walmsley <paul@pwsan.com>
Tue, 8 Mar 2011 03:02:13 +0000 (20:02 -0700)
commit92618ff8b025419960e2e845983f0f49b0cb57a9
treeac747c8eafb7cdd6fee8399464cf79aa1b8e1f00
parent0fd0c21be71293d8a54d9075b18b5a25a1868057
OMAP2xxx: clock: add clockfw autoidle support for APLLs

OMAP2xxx devices have two on-chip APLLs.  These APLLs can
automatically enter idle when not in use.  Connect the APLL autoidle
code to the clock code, so that the clock framework can handle this
process.  As part of this patch, remove the code in mach-omap2/pm24xx.c
that previously handled APLL autoidle control.

Signed-off-by: Paul Walmsley <paul@pwsan.com>
Cc: Kevin Hilman <khilman@ti.com>
Tested-by: Rajendra Nayak <rnayak@ti.com>
Reviewed-by: Kevin Hilman <khilman@ti.com>
arch/arm/mach-omap2/clkt2xxx_apll.c
arch/arm/mach-omap2/cm2xxx_3xxx.c
arch/arm/mach-omap2/cm2xxx_3xxx.h
arch/arm/mach-omap2/pm24xx.c