Subject: Re: MPC5200 PCI interrupt routing

From: Juergen Beisert <[email-masked]>
Date: Wed, 24 Sep 2008 17:16:34 +0200

On Dienstag, 23. September 2008, Juergen Beisert wrote:
> Matt,
>
> On Montag, 22. September 2008, Matt Sealey wrote:
> > Juergen Beisert wrote:
> > > Hi,
> > > $ lspci
> > > 00:18.0 USB Controller: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1
> > > Controller (rev 61) 00:18.1 USB Controller: VIA Technologies, Inc.
> > > VT82xxxxx UHCI USB 1.1 Controller (rev 61) 00:18.2 USB Controller: VIA
> > > Technologies, Inc. USB 2.0 (rev 63)
> > >
> > > USB driver (endianess???) or oftee or hardware problem?
> > >
> >  > Anyone experience with VIA USB hardware on PowerPc?
> >
> > The USB driver should work fine, I have an Efika (MPC5200B) with that
> > exact USB controller and revision and it's just fine and dandy. We also
> > used to ship Via-based USB cards in the Pegasos Open Desktop Workstation
> > (using Marvell Discovery II northbridge).
> >
> > The major difference here would be that PCI tree entries were created
> > by a real OF implementation so may have reflected some hardware better;
> > it is dynamically created on boot to a certain point, rather than a fixed
> > device tree which may contain some "errors". There seems to be a lot less
> > data in our tree...
>
> What Kernel do you run on your target? On my hardware a 2.6.23 still work
> as expected, but a 2.6.26 fails all the time.

One should enable the internal USB clock. If done, it works... In 2.6.23 is 
was done in mpc52xx_common.c. It was removed in 2.6.24.

Juergen

-- 
Dipl.-Ing. Juergen Beisert | http://www.pengutronix.de
 Pengutronix - Linux Solutions for Science and Industry
    Handelsregister: Amtsgericht Hildesheim, HRA 2686
         Vertretung Sued/Muenchen, Germany
   Phone: +49-8766-939 228 |  Fax: +49-5121-206917-9