From mboxrd@z Thu Jan 1 00:00:00 1970 From: alexandre.belloni@free-electrons.com (Alexandre Belloni) Date: Wed, 27 May 2015 11:42:05 +0200 Subject: MUSB dual-role on AM335x behaving weirdly In-Reply-To: <20150526145118.GD26599@saruman.tx.rr.com> References: <20150514190429.GT24269@saruman.tx.rr.com> <20150514192125.GU24269@saruman.tx.rr.com> <20150514192946.GV24269@saruman.tx.rr.com> <20150514212653.GC3338@piout.net> <20150526145118.GD26599@saruman.tx.rr.com> Message-ID: <20150527094205.GO3199@piout.net> To: linux-arm-kernel@lists.infradead.org List-Id: linux-arm-kernel.lists.infradead.org Hi, On 26/05/2015 at 09:51:18 -0500, Felipe Balbi wrote : > On Thu, May 14, 2015 at 04:36:33PM -0500, Bin Liu wrote: > > Alexandre, > > > > On Thu, May 14, 2015 at 4:26 PM, Alexandre Belloni > > wrote: > > > On 14/05/2015 at 16:16:12 -0500, Bin Liu wrote : > > >> I think I found the root cause of the problem: board design issue - I > > >> bet the custom board has too much cap on VBUS line. It should be < > > >> 10uF. > > >> > > > > > > We have a custom board that exhibits the issue but it only has a 100nF > > > cap on VBUS. > > > > Have you measured the VBUS discharging? Is there any way to share your > > schematics? > > Alexandre, any further comments ? > Yeah, I have just got more info. This is the relevant part of the schematic: http://free-electrons.com/~alexandre/usb.png The total VBUS capacitance is 200nF and the USB0 pins are connected directly to the AM3358 pins. U1 is actually not fitted. We didn't measure VBUS discharging but we observe the OTG pin sensing stops when plugging an OTG cable without any device. -- Alexandre Belloni, Free Electrons Embedded Linux, Kernel and Android engineering http://free-electrons.com