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

2013-08-19 Thread Sebastian Andrzej Siewior
On 08/17/2013 10:44 PM, Paul Zimmerman wrote: 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

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

2013-08-18 Thread Aaro Koskinen
Hi, On Sat, Aug 17, 2013 at 08:44:18PM +, Paul Zimmerman wrote: 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

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

2013-08-18 Thread Paul Zimmerman
From: Aaro Koskinen [mailto:aaro.koski...@iki.fi] Sent: Sunday, August 18, 2013 4:41 AM On Sat, Aug 17, 2013 at 08:44:18PM +, Paul Zimmerman wrote: It doesn't get very far: External DMA Mode not supported dwc2_hcd_init() FAILED, returning -22 Hi Greg, all, After

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

2013-08-17 Thread Sebastian Andrzej Siewior
On 08/17/2013 01:18 AM, Aaro Koskinen wrote: Looking more into this (and after a failed testing attempt), I don't think we can simply delete octeon-usb if we want to keep supporting Octeon: there's also Octeon-specific registers of which the driver needs to take care of before/while using DWC2

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

2013-08-17 Thread Aaro Koskinen
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 A. -- To unsubscribe

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

2013-08-17 Thread Paul Zimmerman
From: Aaro Koskinen [mailto:aaro.koski...@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:

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

2013-08-17 Thread Greg KH
On Sat, Aug 17, 2013 at 08:44:18PM +, Paul Zimmerman wrote: From: Aaro Koskinen [mailto:aaro.koski...@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

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

2013-08-16 Thread Greg KH
Hi Aaro and Paul, It was just pointed out to me by Sebastian that it looks like both the octeon-usb and dwc2 drivers in drivers/staging/ are for the same exact hardware core. Were you two aware of this? As the dwc2 code seems to be the more mature codebase, any objection to me deleting the

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

2013-08-16 Thread Aaro Koskinen
Hi, On Fri, Aug 16, 2013 at 06:01:50AM -0700, Greg KH wrote: It was just pointed out to me by Sebastian that it looks like both the octeon-usb and dwc2 drivers in drivers/staging/ are for the same exact hardware core. Were you two aware of this? It was mentioned here:

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

2013-08-16 Thread Greg KH
On Fri, Aug 16, 2013 at 08:33:10PM +0300, Aaro Koskinen wrote: Hi, On Fri, Aug 16, 2013 at 06:01:50AM -0700, Greg KH wrote: It was just pointed out to me by Sebastian that it looks like both the octeon-usb and dwc2 drivers in drivers/staging/ are for the same exact hardware core.

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

2013-08-16 Thread Paul Zimmerman
From: Aaro Koskinen [mailto:aaro.koski...@iki.fi] Sent: Friday, August 16, 2013 10:33 AM On Fri, Aug 16, 2013 at 06:01:50AM -0700, Greg KH wrote: It was just pointed out to me by Sebastian that it looks like both the octeon-usb and dwc2 drivers in drivers/staging/ are for the same exact

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

2013-08-16 Thread Aaro Koskinen
On Fri, Aug 16, 2013 at 08:51:57PM +, Paul Zimmerman wrote: From: Aaro Koskinen [mailto:aaro.koski...@iki.fi] Sent: Friday, August 16, 2013 1:45 PM On Fri, Aug 16, 2013 at 06:35:10PM +, Paul Zimmerman wrote: Aaro, I would ask you the same question. Is the Octeon driver fully

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

2013-08-16 Thread Aaro Koskinen
Hi, On Fri, Aug 16, 2013 at 06:35:10PM +, Paul Zimmerman wrote: Aaro, I would ask you the same question. Is the Octeon driver fully functional? Are there any shortcomings with it that you know about? I sent this driver when mainlining the support for EdgeRouter Lite

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

2013-08-16 Thread David Daney
On 08/16/2013 02:07 PM, Aaro Koskinen wrote: On Fri, Aug 16, 2013 at 08:51:57PM +, Paul Zimmerman wrote: From: Aaro Koskinen [mailto:aaro.koski...@iki.fi] Sent: Friday, August 16, 2013 1:45 PM On Fri, Aug 16, 2013 at 06:35:10PM +, Paul Zimmerman wrote: Aaro, I would ask you the same

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

2013-08-16 Thread Aaro Koskinen
Hi, On Fri, Aug 16, 2013 at 10:39:39AM -0700, Greg KH wrote: As the dwc2 code seems to be the more mature codebase, any objection to me deleting the octeon-usb driver? If it's possible to get it working on Octeon HW, then having a single driver is of course the best solution. Is dwc2

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

2013-08-16 Thread Paul Zimmerman
From: Aaro Koskinen [mailto:aaro.koski...@iki.fi] Sent: Friday, August 16, 2013 1:45 PM On Fri, Aug 16, 2013 at 06:35:10PM +, Paul Zimmerman wrote: Aaro, I would ask you the same question. Is the Octeon driver fully functional? Are there any shortcomings with it that you know about?

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

2013-08-16 Thread Greg KH
On Sat, Aug 17, 2013 at 02:18:27AM +0300, Aaro Koskinen wrote: Hi, On Fri, Aug 16, 2013 at 10:39:39AM -0700, Greg KH wrote: As the dwc2 code seems to be the more mature codebase, any objection to me deleting the octeon-usb driver? If it's possible to get it working on Octeon HW,