Skip to contentSkip to conversation

usb: otg: OMAP4430: Powerdown the internal PHY when USB is disabled

PATCH New Hema HK 1 participant 1 message Mar 24, 2011

Subsystems (4)
lore
Share & tools
lore

Hema HK

author
#0 lore raw

PATCH v2 2/2 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.

Cc Felipe Balbi <[email protected]>
---
 arch/arm/mach-omap2/usb-musb.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
arch/arm/mach-omap2/usb-musb.c +2 -0
index 35559f7..500d9db 100644
@@ -169,5 +169,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 */
Signature · 1 line
1.7.0.4