summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-omap2
diff options
context:
space:
mode:
authorHema HK <hemahk@ti.com>2011-03-24 17:09:03 +0530
committerFelipe Balbi <balbi@ti.com>2011-05-18 13:39:54 +0300
commit208466dc10083e734a8af71d10f923ee4bff950c (patch)
tree7a47d11d8c3988abd9f5fd7fd9faba7339ac54b8 /arch/arm/mach-omap2
parent8cfc67f0740cede2a6aec94b8513285d00c46d5f (diff)
downloadblackbird-op-linux-208466dc10083e734a8af71d10f923ee4bff950c.tar.gz
blackbird-op-linux-208466dc10083e734a8af71d10f923ee4bff950c.zip
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')
-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 f665adeec3f0..fd95e62e8fcf 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 */
OpenPOWER on IntegriCloud