Re: What are Shared HCD and Companion Controller(HCD?)

2016-04-21 Thread Alan Stern
On Thu, 21 Apr 2016, Peter Chen wrote: > I have one more question, if hcd codes takes primary hcd as USB2 and > shared hcd as USB3, are there any problems if EHCI (or OHCI) as primary > hcd and OHCI (EHCI) as shared hcd like [1], current hcd code seems to > use hcd->shared_hcd at drivers/usb/core/

Re: What are Shared HCD and Companion Controller(HCD?)

2016-04-20 Thread Peter Chen
On Tue, Apr 19, 2016 at 10:20:33AM -0400, Alan Stern wrote: > On Tue, 19 Apr 2016, Felipe Balbi wrote: > > > Hi, > > > > Peter Chen writes: > > > Hi all, > > > > > > When I review the patch [1] for adding companion controller support for > > > OTG framework, I am puzzled several concepts, like s

Re: What are Shared HCD and Companion Controller(HCD?)

2016-04-20 Thread Peter Chen
On Wed, Apr 20, 2016 at 10:41:42AM +0300, Felipe Balbi wrote: > Peter Chen writes: > > On Tue, Apr 19, 2016 at 10:20:33AM -0400, Alan Stern wrote: > >> On Tue, 19 Apr 2016, Felipe Balbi wrote: > >> > >> > Hi, > >> > > >> > Peter Chen writes: > >> > > Hi all, > >> > > > >> > > When I review the

Re: What are Shared HCD and Companion Controller(HCD?)

2016-04-20 Thread Felipe Balbi
Peter Chen writes: > On Tue, Apr 19, 2016 at 10:20:33AM -0400, Alan Stern wrote: >> On Tue, 19 Apr 2016, Felipe Balbi wrote: >> >> > Hi, >> > >> > Peter Chen writes: >> > > Hi all, >> > > >> > > When I review the patch [1] for adding companion controller support for >> > > OTG framework, I am p

Re: What are Shared HCD and Companion Controller(HCD?)

2016-04-20 Thread Peter Chen
On Tue, Apr 19, 2016 at 10:20:33AM -0400, Alan Stern wrote: > On Tue, 19 Apr 2016, Felipe Balbi wrote: > > > Hi, > > > > Peter Chen writes: > > > Hi all, > > > > > > When I review the patch [1] for adding companion controller support for > > > OTG framework, I am puzzled several concepts, like s

Re: What are Shared HCD and Companion Controller(HCD?)

2016-04-19 Thread Alan Stern
On Tue, 19 Apr 2016, Felipe Balbi wrote: > Hi, > > Peter Chen writes: > > Hi all, > > > > When I review the patch [1] for adding companion controller support for > > OTG framework, I am puzzled several concepts, like shared hcd and > > companion controller, companion hcd, companion port, would s

Re: What are Shared HCD and Companion Controller(HCD?)

2016-04-19 Thread Oliver Neukum
On Tue, 2016-04-19 at 17:44 +0800, Peter Chen wrote: > Hi all, > > When I review the patch [1] for adding companion controller support for > OTG framework, I am puzzled several concepts, like shared hcd and > companion controller, companion hcd, companion port, would someone > please explain them?

Re: What are Shared HCD and Companion Controller(HCD?)

2016-04-19 Thread Felipe Balbi
Hi, Peter Chen writes: > Hi all, > > When I review the patch [1] for adding companion controller support for > OTG framework, I am puzzled several concepts, like shared hcd and > companion controller, companion hcd, companion port, would someone > please explain them? And why EHCI/OHCI do not us

What are Shared HCD and Companion Controller(HCD?)

2016-04-19 Thread Peter Chen
Hi all, When I review the patch [1] for adding companion controller support for OTG framework, I am puzzled several concepts, like shared hcd and companion controller, companion hcd, companion port, would someone please explain them? And why EHCI/OHCI do not use shared hcd, but xHCI uses it? Thank