Re: DWC3 host support

Angus Ainslie
2022-07-17T03:00:26Z

On 2022-07-16 11:37, Marek Vasut wrote:
> On 7/16/22 15:02, Angus Ainslie wrote:
>> Hi Michal,
>>
>> I recently rebased my librem5 tree onto the latest u-boot-imx branch
>> and the dwc3 host mode stopped working.
>>
>> I bisected it down to this commit:
>>
>> 142d50fbce7c364a74f5e8204dba491b9f066e6c usb: dwc3: Add support for
>> usb3-phy PHY configuration
>>
>> Reverting that commit allows usb host mode to work on the librem5
>> again.
>>
>> Should this initialization go into an SOC specific glue_configure
>> function ?
>>
>> Is the imx8mq.dtsi missing something that will keep usb host working
>> with this patch ?
>>
>> Does this break usb host on other imx8mq devices ?
>
> Wasn't this fixed by:
> 868d58f69c ("usb: dwc3: Fix non-usb3 configurations")
> ?

I've got that in my tree and it still fails to probe the USB2 hub and
USB 2 storage.

Angus