OMAP3: PM: Add D2D clocks and auto-idle setup to PRCM init
authorKevin Hilman <khilman@deeprootsystems.com>
Tue, 28 Apr 2009 22:27:44 +0000 (15:27 -0700)
committerKevin Hilman <khilman@deeprootsystems.com>
Thu, 28 May 2009 17:59:07 +0000 (10:59 -0700)
commit8111b221a275cbc974eba26059dc764680ded9a9
treec64ee856ffe9ff796f8a746025b82586c19e5617
parentba87a9beae8b39894f55761f4aff5ae2ca624f81
OMAP3: PM: Add D2D clocks and auto-idle setup to PRCM init

Add D2D clocks (modem_fck, sad2d_ick, mad2d_ick) to clock framework
and ensure that auto-idle bits are set for these clocks during PRCM
init.

Also add omap3_d2d_idle() function called durint PRCM setup which
ensures D2D pins are MUX'd correctly to enable retention for
standalone (no-modem) devices.

Signed-off-by: Kevin Hilman <khilman@deeprootsystems.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/pm34xx.c
arch/arm/plat-omap/include/mach/control.h