ARM: OMAP4: USB: power down MUSB PHY during boot
authorTero Kristo <t-kristo@ti.com>
Fri, 9 Nov 2012 14:30:35 +0000 (16:30 +0200)
committerKevin Hilman <khilman@ti.com>
Tue, 13 Nov 2012 23:57:09 +0000 (15:57 -0800)
commit4fd7a41233eac62b10ede394b35d8919086f94ec
tree39b16f2baa69cad668df2c6511f2ec1515df1f3f
parent0c7018e232c5526869250e57da8043a86a45b5de
ARM: OMAP4: USB: power down MUSB PHY during boot

Commit c9e4412ab8eb8ef82d645d8749c4ce96ad490007 removed all of the USB
PHY functions for OMAP4, but this causes a problem with core retention
as the MUSB module remains enabled if omap-usb2 phy driver is not used.
This keeps the USB DPLL enabled and prevents l3_init pwrdm from idling.

Fixed by adding a minimal function back that disables the USB PHY during
boot.

Signed-off-by: Tero Kristo <t-kristo@ti.com>
Cc: Kishon Vijay Abraham I <kishon@ti.com>
Cc: Tony Lindgren <tony@atomide.com>
Acked-by: Felipe Balbi <balbi@ti.com>
Signed-off-by: Kevin Hilman <khilman@ti.com>
arch/arm/mach-omap2/omap_phy_internal.c