public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [U-Boot] Question about DWC3 USB controller driver
@ 2015-07-27 15:37 Masahiro Yamada
  2015-07-27 17:03 ` Marek Vasut
  0 siblings, 1 reply; 4+ messages in thread
From: Masahiro Yamada @ 2015-07-27 15:37 UTC (permalink / raw)
  To: u-boot

Hi Marek, other USB guys,


I noticed commit dc9cdf859e11de (usb: dwc3: Add DWC3 controller driver
support) was pulled into the mainline a few days ago.


Now we have two drivers with similar names.


- drivers/usb/dwc3/
- drivers/usb/host/xhci-dwc3.c


Are they the same hardware, or completely different ones?


I am not tracking USB subsystem these days,
nor am I USB expert, but I'd like to be sure.


Marek, I think you can answer my question
because both of the two were applied by you.



-- 
Best Regards
Masahiro Yamada

^ permalink raw reply	[flat|nested] 4+ messages in thread

* [U-Boot] Question about DWC3 USB controller driver
  2015-07-27 15:37 [U-Boot] Question about DWC3 USB controller driver Masahiro Yamada
@ 2015-07-27 17:03 ` Marek Vasut
  2015-07-28 15:48   ` Masahiro Yamada
  0 siblings, 1 reply; 4+ messages in thread
From: Marek Vasut @ 2015-07-27 17:03 UTC (permalink / raw)
  To: u-boot

On Monday, July 27, 2015 at 05:37:52 PM, Masahiro Yamada wrote:
> Hi Marek, other USB guys,

Hi!

> I noticed commit dc9cdf859e11de (usb: dwc3: Add DWC3 controller driver
> support) was pulled into the mainline a few days ago.
> 
> 
> Now we have two drivers with similar names.
> 
> 
> - drivers/usb/dwc3/
> - drivers/usb/host/xhci-dwc3.c
> 
> 
> Are they the same hardware, or completely different ones?

dwc3 is the USB gadget, drivers/usb/host/xhci-dwc3 is the USB host.
I believe the host part should be merged into drivers/usb/xhci-dwc3
eventually.

> I am not tracking USB subsystem these days,
> nor am I USB expert, but I'd like to be sure.
> 
> 
> Marek, I think you can answer my question
> because both of the two were applied by you.

I hope it helps!

Best regards,
Marek Vasut

^ permalink raw reply	[flat|nested] 4+ messages in thread

* [U-Boot] Question about DWC3 USB controller driver
  2015-07-27 17:03 ` Marek Vasut
@ 2015-07-28 15:48   ` Masahiro Yamada
  2015-07-28 15:55     ` Marek Vasut
  0 siblings, 1 reply; 4+ messages in thread
From: Masahiro Yamada @ 2015-07-28 15:48 UTC (permalink / raw)
  To: u-boot

Hi Marek,


2015-07-28 2:03 GMT+09:00 Marek Vasut <marex@denx.de>:
> On Monday, July 27, 2015 at 05:37:52 PM, Masahiro Yamada wrote:
>> Hi Marek, other USB guys,
>
> Hi!
>
>> I noticed commit dc9cdf859e11de (usb: dwc3: Add DWC3 controller driver
>> support) was pulled into the mainline a few days ago.
>>
>>
>> Now we have two drivers with similar names.
>>
>>
>> - drivers/usb/dwc3/
>> - drivers/usb/host/xhci-dwc3.c
>>
>>
>> Are they the same hardware, or completely different ones?
>
> dwc3 is the USB gadget, drivers/usb/host/xhci-dwc3 is the USB host.
> I believe the host part should be merged into drivers/usb/xhci-dwc3
> eventually.


In my understanding, Synopsys' DWC3 is dual role core.


In Linux, both host and gadget are supported,
but drivers/usb/dwc3/host.c is missing from U-Boot.

I think merging into a single directory drivers/usb/dwc3
is the right thing.




-- 
Best Regards
Masahiro Yamada

^ permalink raw reply	[flat|nested] 4+ messages in thread

* [U-Boot] Question about DWC3 USB controller driver
  2015-07-28 15:48   ` Masahiro Yamada
@ 2015-07-28 15:55     ` Marek Vasut
  0 siblings, 0 replies; 4+ messages in thread
From: Marek Vasut @ 2015-07-28 15:55 UTC (permalink / raw)
  To: u-boot

On Tuesday, July 28, 2015 at 05:48:49 PM, Masahiro Yamada wrote:
> Hi Marek,

Hi!

> 2015-07-28 2:03 GMT+09:00 Marek Vasut <marex@denx.de>:
> > On Monday, July 27, 2015 at 05:37:52 PM, Masahiro Yamada wrote:
> >> Hi Marek, other USB guys,
> > 
> > Hi!
> > 
> >> I noticed commit dc9cdf859e11de (usb: dwc3: Add DWC3 controller driver
> >> support) was pulled into the mainline a few days ago.
> >> 
> >> 
> >> Now we have two drivers with similar names.
> >> 
> >> 
> >> - drivers/usb/dwc3/
> >> - drivers/usb/host/xhci-dwc3.c
> >> 
> >> 
> >> Are they the same hardware, or completely different ones?
> > 
> > dwc3 is the USB gadget, drivers/usb/host/xhci-dwc3 is the USB host.
> > I believe the host part should be merged into drivers/usb/xhci-dwc3
> > eventually.
> 
> In my understanding, Synopsys' DWC3 is dual role core.
> 
> 
> In Linux, both host and gadget are supported,
> but drivers/usb/dwc3/host.c is missing from U-Boot.
> 
> I think merging into a single directory drivers/usb/dwc3
> is the right thing.

Correct. Someone would have to backport the host part of drivers/usb/dwc3
from mainline for that purpose though .

Best regards,
Marek Vasut

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2015-07-28 15:55 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-07-27 15:37 [U-Boot] Question about DWC3 USB controller driver Masahiro Yamada
2015-07-27 17:03 ` Marek Vasut
2015-07-28 15:48   ` Masahiro Yamada
2015-07-28 15:55     ` Marek Vasut

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox