Hi,
We are using Am335x based board with two MUSB_OTG ports and the MUSB configures it in device mode (In board_am335.c) and when it slect MUSB_HOST it configures it to HOST only role,My question is
-How to switch to HOST mode when MUS_OTG is selected in board file?.
-When MUSB_HOST is selected in board file the USB0 is configured to HOST mode and i am not able to insert gadget driver(ex. g_ncm.ko) to the kernel,it give "NO SUCH DEVICE" error, only when the USB0 or USB1 port is in device mode i can insert the gadget driver,but for our use case we need gadget driver to be inserted in the kernel(For dynamic role switching form host to device) before doing dynamic role switch ,so that after role switching the host can enumerate the device .