Hi
Which is the aim of "gadget builtin" option (CONFIG_USB_G_DBGP) in AM335x kernel configuration? UsbgeneralpageLinux-v3p1 says "this is suitable for a board where one port is hardwired to be host only. The builtin gadget would make sure that the host only port works soon after bootup. Second gadget driver module can be inserted after bootup". But why a gadget should be build for a port that will work in host mode?
My custom board has one host port (usb0) and one device port (usb1). Do I need to include "gadget builtin" option in my kernel configuration? Can I or do I need to tell to MUSB controller that one port will work in host mode only, and the second in peripheral mode only?
I'm trying to debug some issues on device port: I think there are some minor typos UsbSoftwareInterface page; debugfs commands would probably look likes "... > /sys/kernel/debug/musb/testmode" instead of "... > /sys/kernel/debug/testmode". Moreover it seems this command affect just first instance of musb controller, the usb0 related. Would be useful to enhance it to work also on usb1.
Thanks in advance for your clarifications.
Regards, Max