> This is regarding the registering and handling of ID interrupt to swich 
> between
> host and device mode.
> 
> My aim is to have OTG functionality for a not-OTG phy.
> 
> We wanted to register an ID interrupt which fires of change in ID value. Based
> on this ID value, we need to configure the phy to host or device mode.

Do you really need to configure USB PHY (not usb controller) according to host 
or device mode?
If it is, you need to handle your id switch routine at phy's driver, since you 
need
to set PHY's register according to id value.

Peter 

--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to