Our software is based on 4AJ2.1 release and we are using omap4430 and PMIC twl6032. When I connect our device to PC host, most time it report PC type in omap4_charger_detect function at /arch/arm/mach-omap2/omap_phy_internal.c.
However, sometimes it reports "Unknown charger", the bit 23:21 in CONTROL_USB2PHYCORE indicate 0(Wait state). And I need to reconnect USB cable to let PC host recognize the device. First, I don't know how it ends up in Wait state. Second, is there any way to reset the USB port from OMAP when it faces such condition? Thanks!