mirror of
https://github.com/u-boot/u-boot.git
synced 2025-04-23 13:56:20 +00:00
![]() Add driver model support by using the uclass UCLASS_USB_GADGET_GENERIC. Disable local usb_gadget_register_driver()/usb_gadget_unregister_driver() implementation which is implemented in udc-core.c when DM_USB_GADGET is enabled. Replace dm_usb_gadget_handle_interrupts() with handle_interrupts ops when DM_USB_GADGET is enabled. Disable legacy struct usba_udc controller as controller point is extracted from udevice private data with DM. Disable legacy usba_udc_probe() to avoid conflict with DM when it's enabled. Compared to Linux driver only supported devices' DT bindings are included (sorted as Linux driver) Signed-off-by: Zixun LI <admin@hifiphile.com> Reviewed-by: Mattijs Korpershoek <mkorpershoek@baylibre.com> Link: https://lore.kernel.org/r/20240725153204.358925-8-admin@hifiphile.com Signed-off-by: Mattijs Korpershoek <mkorpershoek@baylibre.com> |
||
---|---|---|
.. | ||
at91_udc.h | ||
atmel_usba_udc.h | ||
cdc.h | ||
ch9.h | ||
composite.h | ||
dwc3-omap.h | ||
dwc3.h | ||
gadget.h | ||
musb.h | ||
otg.h | ||
phy-rockchip-usbdp.h | ||
phy.h | ||
usb_urb_compat.h | ||
xhci-fsl.h | ||
xhci-omap.h |