diff options
author | Hema HK <hemahk@ti.com> | 2011-02-28 03:49:35 -0500 |
---|---|---|
committer | Felipe Balbi <balbi@ti.com> | 2011-05-18 06:39:44 -0400 |
commit | 1f15848807c20762017da29fa1dac64fb67b8128 (patch) | |
tree | bcc867dac9dccebf54304a77dc1e2a4a75bef142 /arch/arm/mach-omap2 | |
parent | 693d92a1bbc9e42681c42ed190bd42b636ca876f (diff) |
usb: musb: OMAP4430: Power down the PHY during board init
Powerdown the internal PHY during board init for OMAP44xx.
So that when musb is disabled core transition to retention/off
is not blocked.
Signed-off-by: Hema HK <hemahk@ti.com>
Cc: Tony Lindgren <tony@atomide.com>
Cc: Paul Walmsley <paul@pwsan.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.c | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/arch/arm/mach-omap2/usb-musb.c b/arch/arm/mach-omap2/usb-musb.c index 35559f77e2de..f665adeec3f0 100644 --- a/arch/arm/mach-omap2/usb-musb.c +++ b/arch/arm/mach-omap2/usb-musb.c | |||
@@ -117,11 +117,6 @@ void __init usb_musb_init(struct omap_musb_board_data *board_data) | |||
117 | int bus_id = -1; | 117 | int bus_id = -1; |
118 | const char *oh_name, *name; | 118 | const char *oh_name, *name; |
119 | 119 | ||
120 | if (cpu_is_omap3517() || cpu_is_omap3505()) { | ||
121 | } else if (cpu_is_omap44xx()) { | ||
122 | usb_musb_mux_init(board_data); | ||
123 | } | ||
124 | |||
125 | /* | 120 | /* |
126 | * REVISIT: This line can be removed once all the platforms using | 121 | * REVISIT: This line can be removed once all the platforms using |
127 | * musb_core.c have been converted to use use clkdev. | 122 | * musb_core.c have been converted to use use clkdev. |
@@ -164,6 +159,9 @@ void __init usb_musb_init(struct omap_musb_board_data *board_data) | |||
164 | dev->dma_mask = &musb_dmamask; | 159 | dev->dma_mask = &musb_dmamask; |
165 | dev->coherent_dma_mask = musb_dmamask; | 160 | dev->coherent_dma_mask = musb_dmamask; |
166 | put_device(dev); | 161 | put_device(dev); |
162 | |||
163 | if (cpu_is_omap44xx()) | ||
164 | omap4430_phy_init(dev); | ||
167 | } | 165 | } |
168 | 166 | ||
169 | #else | 167 | #else |