octeon-usb and dwc2 in staging are for the same hw

Greg KH gregkh at linuxfoundation.org
Sat Aug 17 22:05:02 UTC 2013


On Sat, Aug 17, 2013 at 08:44:18PM +0000, Paul Zimmerman wrote:
> > From: Aaro Koskinen [mailto:aaro.koskinen at iki.fi]
> > Sent: Saturday, August 17, 2013 8:39 AM
> > 
> > On Fri, Aug 16, 2013 at 08:02:27PM -0700, Greg KH wrote:
> > > dcw2 already supports different boards/systems, so perhaps there's a way
> > > to tie your board into that?
> > 
> > It doesn't get very far:
> > 
> > 	External DMA Mode not supported
> > 	dwc2_hcd_init() FAILED, returning -22
> 
> Hi Greg, all,
> 
> After taking a look at the Octeon driver, it looks like that controller
> uses a customized version of the DWC2 core - it has a different DMA
> engine than the one provided by the standard hardware. So in fact these
> two drivers are actually not "for the same hw".
> 
> I think it would be very complicated to combine both of these into a
> common driver. So in my opinion the best solution is to keep both drivers.

Ok, thanks for taking the time to look at it.  I guess we will end up
with multiple drivers, making it easier for the developers involved :)

thanks,

greg k-h


More information about the devel mailing list