From mboxrd@z Thu Jan 1 00:00:00 1970 From: Marek Vasut Date: Tue, 28 Jul 2015 17:55:40 +0200 Subject: [U-Boot] Question about DWC3 USB controller driver In-Reply-To: References: <201507271903.51057.marex@denx.de> Message-ID: <201507281755.40647.marex@denx.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de 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 : > > 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