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

Marek Vasut marek.vasut at mailbox.org
Thu Mar 21 20:38:07 CET 2024


On 3/21/24 6:05 PM, Caleb Connolly wrote:
> 
> 
> On 20/03/2024 20:18, Marek Vasut wrote:
>> 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.
> 
> heh yeah it looked like it would be fine for qcom, but better safe than
> sorry :P
> 
> Thanks for the ping.
> 
> Tested-by: Caleb Connolly <caleb.connolly at linaro.org> # qcom sdm845

Thank you!


More information about the U-Boot mailing list