I am using a design that has the TPS65950 USB PHY attached to an OMAP3530 OTG (MUSB) port, and am struggling to get the OMAP to go into idle mode. I have a thread in the OMAP group on the OMAP side of things, but wanted to ask about the PHY driver.
1. The twl4030-usb driver can be made as a module, and seems to insmod and rmmod just fine. Are there any known issues with insmod-ing and rmmod-ing the driver?
a. Any reason that doing so would keep the OMAP side active when it doesn't need to be?
b. I note that the VUSB1.5, VUSB1.8, and VUSB3.1 power off when the driver is rmmod-ed, and turn on when it's insmod-ed, but I don't see them turn off at other times.
i. Should they turn off if nothing is connected to the USB port?
ii. Will the driver still work if they are turned off and back on by some mechanism other than the driver? (i.e. some other kernel mechanism sets the DEV_GRP to 0 and back to DEV_GRP_ALL)
2. Are there any patches I should be aware of?
3. Can the NOP PHY (NOP_USB_XCEIV) be removed from the kernel build when using the TPS65950 PHY instead of the external PHY on the EVM?
4. Is there any configuration information that should be in the board file to logically/physically connect the TPS65950's PHY to the OMAP's OTG port?