Andy : OMAP5 uses DWC3, while OMAP4 MUSB. I see no problem with both stacks built into the kernel. Only the one which has the relevant platform device populated (based upon which platform is it), would spring to life. The other shouldn't make any difference. BTW, I couldn't find Panda-omap5 even initializing USB gadget side.
Vishal : The following changes to your omap4plus_defconfig above, should get it working.
Andy : OMAP5 uses DWC3, while OMAP4 MUSB. I see no problem with both stacks built into the kernel. Only the one which has the relevant platform device populated (based upon which platform is it), would spring to life. The other shouldn't make any difference. BTW, I couldn't find Panda-omap5 even initializing USB gadget side.
Vishal : The following changes to your omap4plus_defconfig above, should get it working.
167c167 USB_MUSB_ HDRC=m USB_MUSB_ OMAP2PLUS= m USB_MUSB_ HDRC=y USB_MUSB_ OMAP2PLUS= y USB_GADGET_ MUSB_HDRC= m USB_MASS_ STORAGE= m USB_GADGET_ MUSB_HDRC= y
< CONFIG_USB_DWC3=m
---
> CONFIG_USB_DWC3=y
170,171c170,171
< CONFIG_
< CONFIG_
---
> CONFIG_
> CONFIG_
176,178c176
< CONFIG_
< CONFIG_USB_ZERO=m
< CONFIG_
---
> CONFIG_