[PATCH 00/11] usb: gadget: Introduce handle_interrupts ops to USB_GADGET_GENERIC uclass
Sverdlin, Alexander
alexander.sverdlin at siemens.com
Fri Jun 14 12:24:11 CEST 2024
Hi Marek!
On Fri, 2024-06-14 at 02:51 +0200, Marek Vasut wrote:
> Introduce .ops for USB_GADGET_GENERIC uclass. The first new ops is
> .handle_interrupts which must be implemented by DM capable USB gadget
> controller drivers and must implement interrupt handling similar to
> dm_usb_gadget_handle_interrupts(). For DM USB gadget drivers this is
> a replacement for dm_usb_gadget_handle_interrupts(). Convert the DM
> USB gadget drivers to this new ops instead.
>
> DEPENDS: https://patchwork.ozlabs.org/project/uboot/list/?series=410150
I've applied both the dependency and this series and tested on AM62x,
which I believe would cover patches 1,4,11 (32-bit SPL,
64-bit SPL + U-Boot proper, booted over USB DFU):
> Marek Vasut (11):
> usb: gadget: Introduce handle_interrupts ops to USB_GADGET_GENERIC
> uclass
> usb: gadget: dwc3: Convert interrupt handling to
> usb_gadget_generic_ops
> usb: gadget: Mark dm_usb_gadget_handle_interrupts as non-weak for
> DM_USB_GADGET
For these,
Tested-by: Alexander Sverdlin <alexander.sverdlin at siemens.com>
--
Alexander Sverdlin
Siemens AG
www.siemens.com
More information about the U-Boot
mailing list