Hi Peter, I will need to configure both the phy and the controller. Thanks Anjana On Mon, Mar 2, 2015 at 11:24 AM, Peter Chen <Peter.Chen@xxxxxxxxxxxxx> wrote: > > >> 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 > -- Anjana -- To unsubscribe from this list: send the line "unsubscribe linux-usb" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html