> -----Original Message-----
> From: rakesh kn [mailto:[EMAIL PROTECTED]
> Sent: Tuesday, April 04, 2006 3:59 PM
> To: Li Yang-r58472
> Subject: Re: [linux-usb-devel] EHCI - OTG Transceiver (ULPI ) Issues
> 
> Hi Leo,
> Thanks for ur reply. It was informative.
> 
> If u have experience in developing EHCI-OTG driver in linux,
> Can u please comment on the following issues.
> 
>   I am working on linux-2.6.10 for some unavoidable reasons.
>   I am writing the host controller driver (Ehci) for ARC-OTG HS
> controller, with the
>  ULPI interface.
If you are only interested in host controller driver, there is no need to care 
about the transceiver and OTG related issues.  OTG support is far more than the 
changes you indicated below.  You need a separate transceiver driver to handle 
OTGSC interrupts and OTG state change.  And that is not needed when the 
controller is used as host only.

For ARC SoC USB controller host support, there should be several 
implementations for reference, most of which are for MPC8349E.  I have posted 
one on the list before and there is also one implemented by Montavista in 
current -mm tree.

Ps: I'm no authority on linux usb.  But I'd like to share my experience.
> 
> 1) I have taken in to consideration the framework of OMAP , and added
> the additions
> that have been made in to ohci-hcd structure to support OTG on OMAP. I
> took those and added them to the present ehci-hcd  structure.
> 
> 2) Also i had to modify the ehci-hub.c to add the flag CONFIG_USB_OTG
> and defined the following functions
>              a) ehci_start_port_reset
>              Also in function "ehci_hub_control" , in the case of
> SetPort Feature , if we are suspening the port ... i.e
> USB_PORT_FEAT_SUSPEND ,
> i have added the conditional inclusion of start_hnp(), which is the
> same they did for ohci-hub.c., where the port is suspended.
> 
> 3) Also please tell where else should the host controller be dependent
> on issues with transceiver.
> 
> 
> Thanks
> Rak



-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
linux-usb-devel@lists.sourceforge.net
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel

Reply via email to