I am using xilinx sdk 2021.2 and following https://xilinx-wiki.atlassian.net/wiki/spaces/A/pages/18841729/Zynq+Ultrascale+MPSOC+Linux+USB+device+driver to enable OTG feature, after following all steps when I plug in USB cable it is detected...
Elixir Cross Referencer - Explore source code in your browser - Particularly useful for the Linux kernel and other low-level projects in C/C++ (bootloaders, C libraries...)
ret = dwc3_ep0_delegate_req(dwc, ctrl);/* if the cfg matches and the cfg is non zero */if(cfg && (!ret || (ret == USB_GADGET_DELAYED_STATUS))) { usb_gadget_set_state(&dwc->gadget, USB_STATE_CONFIGURED);/* * Enable transition to U1/U2 state when * nothing is pending from...