On Sunday 26 November 2006 7:40 pm, KL Ho wrote: > Hi everyone, > > Im doing a project of a MIPS SOC development and the kernel 2.6 will run on > it. > It has a USB 2.0 OTG controller IP but the host controller interface is not > EHCI/OHCI. > > I found that most of host controller driver in the kernel support High Speed > communication are EHCI. The OTG controller used in the project support full > function USB2.0 High speed, Full speed and low speed communication. I would > like ask if there are any reference for the HCD development.
As the saying goes, "Use the Source, Luke!" ... that's the only written ref. The best examples I can think of are probably the sl811-hcd, which is an extremely simple full-speed HCD, and the musb_hdrc, which might even be what you should be starting with. The musb_hdrc driver is for Mentor's HDRC IP, which handles OTG, and works now on various parts from Texas Instruments. Full OTG support isn't there quite yet, but the cable based role switching behaves (which is most of the hard part of OTG). Get current code for that driver from the Linux-OMAP tree [1], it's in the drivers/usb/musb directory (with trivial kbuild/kconfig hooks outside). - Dave [1] git://source.mvista.com/git/linux-omap-2.6.git ... but a faster mirror is on kernel.org, with a more recent gitweb interface. ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ linux-usb-devel@lists.sourceforge.net To unsubscribe, use the last form field at: https://lists.sourceforge.net/lists/listinfo/linux-usb-devel