Hello,
I am using DM8148 USB.
As I understand OTG is not supported with it.
Therefore when we use USB device mode, we use the kernel which was build with the menuconfig in usb device mode, and when we use the device in host mode we use the kernel build for host usb.
I would like to ask if there is a way that we can do this on-the-fly, i.e. when we need the device, we somehow work with kernel device mode, and when we need host, we work with kernel host mode.
Thanks for any suggestions.
Ran