From mboxrd@z Thu Jan 1 00:00:00 1970 From: Tony Lindgren Subject: Re: [PATCH 0/4] musb fixes for v4.9-rc cycle Date: Wed, 7 Dec 2016 21:51:23 -0800 Message-ID: <20161208055122.GC4264@atomide.com> References: <20161107215020.31399-1-tony@atomide.com> <20161123163448.GJ4082@atomide.com> <19526c30-5f18-337a-1e73-7f8965a778c1@ti.com> <32195517.5VSIMIXRqn@avalon> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Content-Disposition: inline In-Reply-To: <32195517.5VSIMIXRqn@avalon> Sender: linux-usb-owner-u79uwXL29TY76Z2rM5mHXA@public.gmane.org To: Laurent Pinchart Cc: Tomi Valkeinen , Bin Liu , Boris Brezillon , Greg Kroah-Hartman , Andreas Kemnade , Felipe Balbi , Kishon Vijay Abraham I , Ivaylo Dimitrov , Johan Hovold , Ladislav Michl , Sergei Shtylyov , linux-usb-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, linux-omap-u79uwXL29TY76Z2rM5mHXA@public.gmane.org List-Id: linux-omap@vger.kernel.org * Laurent Pinchart [161123 08:44]: > Hello, > > On Wednesday 23 Nov 2016 18:40:09 Tomi Valkeinen wrote: > > On 23/11/16 18:34, Tony Lindgren wrote: > > > OK. And what changes to your current .config make the musb_bus_suspend() > > > issues show up? > > > > > > If it happens with USB-B cable from host to musb with musb set to host > > > only mode I'm not suprised there are errors :) > > > > I have no USB cables connected. I have attached my config. If > > CONFIG_USB_MUSB_HDRC is disabled, the musb error goes away. > > For what it's worth, that's exactly the same problem I experienced. See > https://www.spinics.net/lists/linux-usb/msg149172.html for an analysis. The problem is that with the built-in musb configuration we're trying to set USB-B cable to host mode with ID pin not grounded. That's not going to work on most hardware unless the PHY can configure the ID pin. Here's how to fix the .config for built-in musb: 1. Change to have CONFIG_USB_GADGET=y 2. Then change CONFIG_USB_MUSB_DUAL_ROLE=y instead of CONFIG_USB_MUSB_HOST We should probably get rid of CONFIG_USB_MUSB_HOST to avoid this. Regards, Tony -- To unsubscribe from this list: send the line "unsubscribe linux-usb" in the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org More majordomo info at http://vger.kernel.org/majordomo-info.html