summaryrefslogtreecommitdiff
path: root/arch/arm/mach-omap2/usb-musb.c
diff options
context:
space:
mode:
authorHema HK <hemahk@ti.com>2011-03-24 11:39:03 (GMT)
committerFelipe Balbi <balbi@ti.com>2011-05-18 10:39:54 (GMT)
commit208466dc10083e734a8af71d10f923ee4bff950c (patch)
tree7a47d11d8c3988abd9f5fd7fd9faba7339ac54b8 /arch/arm/mach-omap2/usb-musb.c
parent8cfc67f0740cede2a6aec94b8513285d00c46d5f (diff)
downloadlinux-208466dc10083e734a8af71d10f923ee4bff950c.tar.xz
usb: otg: OMAP4430: Powerdown the internal PHY when USB is disabled
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>
Diffstat (limited to 'arch/arm/mach-omap2/usb-musb.c')
-rw-r--r--arch/arm/mach-omap2/usb-musb.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/arm/mach-omap2/usb-musb.c b/arch/arm/mach-omap2/usb-musb.c
index f665ade..fd95e62 100644
--- a/arch/arm/mach-omap2/usb-musb.c
+++ b/arch/arm/mach-omap2/usb-musb.c
@@ -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 */