On Thursday 08 December 2005 1:00 pm, Jordan Crouse wrote:
> Ok, here we go. I give you the OHCI/EHCI host controller support for
> the Alchemy AU1200 processor. I'm sending this up, partly because I have
> it ready to go, but also because it seems that enough folks are getting their
> hands on AU1200 parts to make this a hot topic.
Interesting. This is actually a couple different things ... the OTG
related bits would IMO be good to split out from the EHCI ones, and
from the OHCI ones.
Maybe once 2.6.15 gets out you'd split these out a bit?
> Special thanks to Pete Popov and his merry band of kernel hackers for
> paving the way by pushing to seperate EHCI and PCI in the USB subsystem.
Actually that patch started with Matt Porter, although some earlier
non-mergeable versions came from ARC (now TDI). And splitting it out
turned up a bunch of problems, mostly now fixed.
> Note that the AU1200 does support UDC/OTG as well, but thats another patch
> for another day. :)
Actually you included a preview in this patch. Interesting ... that
makes three OTG implementations I've seen on Linux ... the second
highspeed one, too.
I think you shouldn't need that OTG_HIGHSPEED symbol, given there's
already USB_OTG and USB_GADGET_DUALSPEED, that's implicit. And in
fact, it'd be implicit inside EHCI given just USB_OTG!
That OTG stuff needs work yet. No <linux/usb.h> changes should be
needed, and I'm not sure what this "relaxed whitelist" is for. But
by the time those answers are apparent, I expect you'll have give
us mergeable patches for OHCI, EHCI, and the UDC. ;)