usb: otg: OMAP4430: Powerdown the internal PHY when USB is disabled
authorHema HK <hemahk@ti.com>
Thu, 24 Mar 2011 11:39:03 +0000 (17:09 +0530)
committerFelipe Balbi <balbi@ti.com>
Wed, 18 May 2011 10:39:54 +0000 (13:39 +0300)
Powerdown the internal UTMI PHY when USB is not enabled. This will
allow the OMAP core domain to transition to retention and offmode.

Signed-off-by: Hema HK <hemahk@ti.com>
Cc: Felipe Balbi <balbi@ti.com>
Signed-off-by: Felipe Balbi <balbi@ti.com>
arch/arm/mach-omap2/usb-musb.c

index f665adeec3f0f32a4f1b07ca7019ae459cafc90a..fd95e62e8fcf11c5ad55dc55deb00b5380c257c2 100644 (file)
@@ -167,5 +167,7 @@ void __init usb_musb_init(struct omap_musb_board_data *board_data)
 #else
 void __init usb_musb_init(struct omap_musb_board_data *board_data)
 {
+       if (cpu_is_omap44xx())
+               omap4430_phy_init(NULL);
 }
 #endif /* CONFIG_USB_MUSB_SOC */