Re: CPM2 USB host driver

2007-12-01 Thread Mike Rapoport
> >> I tried to forward-port FHCI from Freescale 2.6.11 kernels. Twice. >> But these efforts always stumbled over more important tasks. > > Do you think I start from the FHCI driver provided by Freescale for 2.6.11, > from the cpm2usb driver or from scratch ? The cmp2usb is old and crappy, and

Re: CPM2 USB host driver

2007-11-30 Thread David Brownell
On Friday 30 November 2007, Arnd Bergmann wrote: > 6100 lines means it's still the second-largest hcd driver in the kernel, > only drivers/usb/host/u132-hcd.c has even more. ~/kernel/g26/drivers/usb/host$ wc -l ohci*[hc] |grep total 9485 total ~/kernel/g26/drivers/usb/host$ wc -l ehci*[hc] |grep

Re: CPM2 USB host driver

2007-11-30 Thread Arnd Bergmann
(Cc:'ing linux-usb-devel) On Friday 30 November 2007, Anton Vorontsov wrote: > As for FHCI driver, it's not that big (6100 lines host patch + 3516 > lines usbgadget patch), but since usb subsystem changed: you have to > know all the changes (or to look them up) and blindly follow them. Or > start

Re: CPM2 USB host driver

2007-11-30 Thread Anton Vorontsov
On Fri, Nov 30, 2007 at 04:28:27PM +0100, Laurent Pinchart wrote: [...] > > I tried to forward-port FHCI from Freescale 2.6.11 kernels. Twice. > > But these efforts always stumbled over more important tasks. > > Do you think I start from the FHCI driver provided by Freescale for 2.6.11, > from th

Re: CPM2 USB host driver

2007-11-30 Thread Laurent Pinchart
On Friday 30 November 2007 13:48, Anton Vorontsov wrote: > On Fri, Nov 30, 2007 at 01:30:18PM +0100, Laurent Pinchart wrote: > > On Friday 30 November 2007 12:16, Vitaly Bordug wrote: > > > On Fri, 30 Nov 2007 11:45:49 +0100 > > > > > > Laurent Pinchart wrote: > > > > Hi everybody, > > > > > > > >

Re: CPM2 USB host driver

2007-11-30 Thread Vitaly Bordug
ature. However, any > > approach would be helpful I beleive. > > The CPM/CPM2 USB host controller does indeed put some pressure on the > CPU. The PowerQuick III family is much better in that respect as its > USB host controller is EHCI compliant. > > We plan to use an external

Re: CPM2 USB host driver

2007-11-30 Thread Vitaly Bordug
On Fri, 30 Nov 2007 15:48:01 +0300 Anton Vorontsov wrote: > On Fri, Nov 30, 2007 at 01:30:18PM +0100, Laurent Pinchart wrote: > > On Friday 30 November 2007 12:16, Vitaly Bordug wrote: > > > On Fri, 30 Nov 2007 11:45:49 +0100 > > > > > > Laurent Pinchart wrote: > > > > Hi everybody, > > > > > > >

Re: CPM2 USB host driver

2007-11-30 Thread Anton Vorontsov
On Fri, Nov 30, 2007 at 01:30:18PM +0100, Laurent Pinchart wrote: > On Friday 30 November 2007 12:16, Vitaly Bordug wrote: > > On Fri, 30 Nov 2007 11:45:49 +0100 > > > > Laurent Pinchart wrote: > > > Hi everybody, > > > > > > Linux USB host support for the CPM, CPM2 and CPM2 pro is far from > > > c

Re: CPM2 USB host driver

2007-11-30 Thread Laurent Pinchart
ressure on the CPU. The PowerQuick III family is much better in that respect as its USB host controller is EHCI compliant. We plan to use an external USB host controller when we will redesign the hardware. My goal in writting a CPM2 USB host driver is mainly to enable the hardware team to perform E

Re: CPM2 USB host driver

2007-11-30 Thread Vitaly Bordug
On Fri, 30 Nov 2007 11:45:49 +0100 Laurent Pinchart wrote: > Hi everybody, > > Linux USB host support for the CPM, CPM2 and CPM2 pro is far from > complete. Many people showed interest on this list (and on > linuxppc-embedded) in the past, but nobody managed to complete a > driver and get it merg

CPM2 USB host driver

2007-11-30 Thread Laurent Pinchart
Hi everybody, Linux USB host support for the CPM, CPM2 and CPM2 pro is far from complete. Many people showed interest on this list (and on linuxppc-embedded) in the past, but nobody managed to complete a driver and get it merged. As I need USB host support on my MPC8248 (CPM2), I decided to scr