Re: [PATCH v10 08/14] usb: otg: add OTG/dual-role core
From: Felipe Balbi <hidden>
Date: 2016-06-10 11:02:54
Also in:
linux-omap, lkml
Attachments
- signature.asc [application/pgp-signature] 818 bytes
From: Felipe Balbi <hidden>
Date: 2016-06-10 11:02:54
Also in:
linux-omap, lkml
Hi, Roger Quadros [off-list ref] writes:
quoted
quoted
What is wrong with calling it gadget controller?It's not a controller, it's a piece of software AFAIU. Or is my English just too weak? :-)Everything at this point is a piece of software :). struct usb_gadget, represents the gadget controller device not the driver (or software). struct usb_gadget_driver represents the gadget function driver. struct usb_gadget_ops represents the UDC driver ops.
right, and usb_udc was added just to have a way of linking usb_gadget with usb_gadget_driver so we could have more than one peripheral port in a system. -- balbi