On Fri, Jun 30, 2023 at 10:43:14PM +0300, Roger Quadros wrote: > > > > .check_config = dwc3_gadget_check_config, > > https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/drivers/usb/dwc3/gadget.c > > I meant gadget drivers not UDC drivers. > > e.g. > > https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/drivers/usb/gadget/legacy/dbgp.c > This is for EHCI host controller debug port, specially implement simple tty gadget devices. Generally used for PC. This driver suppose will not use UDC at all.