Re: [RFC] usb: musb: dsps, OTG detection

2013-10-15 Thread Markus Pargmann
On Mon, Oct 14, 2013 at 03:43:35PM -0500, Bin Liu wrote: > On Mon, Oct 14, 2013 at 10:22 AM, Markus Pargmann wrote: > > Hi, > > > > On Mon, Oct 14, 2013 at 08:54:09AM -0500, Bin Liu wrote: > >> On Mon, Oct 14, 2013 at 8:35 AM, Markus Pargmann > >> wrote: > >> > The USB Controller does not suppor

Re: [RFC] usb: musb: dsps, OTG detection

2013-10-14 Thread Bin Liu
On Mon, Oct 14, 2013 at 10:22 AM, Markus Pargmann wrote: > Hi, > > On Mon, Oct 14, 2013 at 08:54:09AM -0500, Bin Liu wrote: >> On Mon, Oct 14, 2013 at 8:35 AM, Markus Pargmann wrote: >> > The USB Controller does not support ID pin change interrupts. So we have >> > to use a polling function to de

Re: [RFC] usb: musb: dsps, OTG detection

2013-10-14 Thread Markus Pargmann
Hi, On Mon, Oct 14, 2013 at 08:54:09AM -0500, Bin Liu wrote: > On Mon, Oct 14, 2013 at 8:35 AM, Markus Pargmann wrote: > > The USB Controller does not support ID pin change interrupts. So we have > > to use a polling function to detect changes of A/B device state > > (otg_timer). This poll functi

Re: [RFC] usb: musb: dsps, OTG detection

2013-10-14 Thread Bin Liu
On Mon, Oct 14, 2013 at 8:35 AM, Markus Pargmann wrote: > The USB Controller does not support ID pin change interrupts. So we have > to use a polling function to detect changes of A/B device state > (otg_timer). This poll function has to check in several states if a > other device type might be co