[PATCH 1/2] usb: udc: dwc3: Fold board dm_usb_gadget_handle_interrupts() into DWC3 gadget

Marek Vasut marek.vasut at mailbox.org
Wed Mar 20 21:18:55 CET 2024


On 3/18/24 1:47 PM, Caleb Connolly wrote:
> 
> 
> On 17/03/2024 04:42, Marek Vasut wrote:
>> The dm_usb_gadget_handle_interrupts() has no place in board code. Move
>> this into DWC3 driver. The OMAP implementation is special, add new weak
>> dwc3_uboot_interrupt_status() function to decide whether DWC3 interrupt
>> handling should be called, and override it in OMAP DWC3 code, to repair
>> the special OMAP interrupt handling code until OMAP gets switched over
>> to DM UDC proper.
>>
>> Signed-off-by: Marek Vasut <marek.vasut+renesas at mailbox.org>
> 
> Reviewed-by: Caleb Connolly <caleb.connolly at linaro.org>

Thank you. If you have a hardware with DWC3 , can you please also test 
this series ? I am afraid this may break things, although it is likely 
to break mostly select MX8M boards.


More information about the U-Boot mailing list