From: Felipe Balbi Date: Fri, 27 Jun 2014 10:36:04 -0500 Subject: [U-Boot] [PATCH 1/2] usb: host: xhci: make sure to power up PHY In-Reply-To: <53AD8D62.8090002@ti.com> References: <1403558739-24461-1-git-send-email-balbi@ti.com> <53AD8D62.8090002@ti.com> Message-ID: <20140627153604.GG8069@saruman.home> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On Fri, Jun 27, 2014 at 10:27:30AM -0500, Dan Murphy wrote: > Hi > > On 06/23/2014 04:25 PM, Felipe Balbi wrote: > > some boards won't work if the PHY isn't explicitly > > powered up. > > > > Signed-off-by: Felipe Balbi > > --- > > drivers/usb/host/xhci-omap.c | 1 + > > 1 file changed, 1 insertion(+) > > > > diff --git a/drivers/usb/host/xhci-omap.c b/drivers/usb/host/xhci-omap.c > > index e667810..912b2bd 100644 > > --- a/drivers/usb/host/xhci-omap.c > > +++ b/drivers/usb/host/xhci-omap.c > > @@ -98,6 +98,7 @@ static int omap_xhci_core_init(struct omap_xhci *omap) > > { > > int ret = 0; > > > > + usb_phy_power(1); > > Should this not be in the omap_usb_phy.c in the omap_enable_phy call below? > I mean you are enabling the PHY right? no, I'm powering it up :-) moreover omap_xhci_core_exit() calls usb_power_power(0), so it's only balancing the calls. -- balbi -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 819 bytes Desc: Digital signature URL: