Chipidea usb otg support for IMX/MXS (device functionality)

Chen Peter-B29397 B29397 at freescale.com
Fri Jun 28 02:48:30 EDT 2013


 
> - I use the port in HOST mode by plugging in a USB pendrive over the OTG-
> capable
> reduction ; this works OK
> - I disconnect the reduction and connect it to the computer ; here I get
> "timeout waiting for 00000800 in 11".
> 
> This means the BSV bit in OTGSC register wasn't unset.
> 
> Interestingly enough, transition the other way around (first use in
> gadget mode
> then in host mode) works fine, but if I do host mode -> gadget mode, I
> get the
> timeout. Do you have any hint for me?
> 

It means your OTG VBUS does not lower than BSV (B SESSION VALID, 0.8v) after
plugging out Micro-B-TO-A cable. Two possible reasons:

1. You have not gpio control for vbus toggle when role switches.
2. Your hardware has some problems that the vbus can't lower than 0.8v.

> btw. what is the plan about cleaning up and upstreaming all these patches
> we
> have here? Is anyone working on it? I'd hate to stomp on anyones'
> efforts,but
> I'd also like to see this mess sorted out.

We had something un-decided before, now, things almost are cleared.
But I am a little busy recently, I hope I can begin to work on it
from next week.

Best regards,
Peter
 





More information about the linux-arm-kernel mailing list