Re: [PATCH v8 3/8] usb: chipidea: add otg id switch and vbus connect/disconnect detect

2013-02-16 Thread Peter Chen
On Thu, Feb 14, 2013 at 02:37:42PM +0200, Alexander Shishkin wrote: > Peter Chen writes: > > > @@ -130,6 +130,7 @@ struct hw_bank { > > * @transceiver: pointer to USB PHY, if any > > * @hcd: pointer to usb_hcd for ehci host driver > > * @otg: for otg support > > + * @events: events for otg,

Re: [PATCH v8 3/8] usb: chipidea: add otg id switch and vbus connect/disconnect detect

2013-02-14 Thread Alexander Shishkin
Peter Chen writes: > The main design flow is the same with msm otg driver, that is the id and > vbus interrupt are handled at core driver, others are handled by > individual drivers. > > - At former design, when switch usb role from device->host, it will call > udc_stop, it will remove the gadget

[PATCH v8 3/8] usb: chipidea: add otg id switch and vbus connect/disconnect detect

2013-02-05 Thread Peter Chen
The main design flow is the same with msm otg driver, that is the id and vbus interrupt are handled at core driver, others are handled by individual drivers. - At former design, when switch usb role from device->host, it will call udc_stop, it will remove the gadget driver, so when switch role fro