DWC3 host support
Marek Vasut
marex at denx.de
Sun Jul 17 17:23:27 CEST 2022
On 7/17/22 05:00, Angus Ainslie wrote:
> 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.
I assume you do have CONFIG_PHY_IMX8MQ_USB enabled ?
What does generic_phy_get_by_name() return for you in
drivers/usb/dwc3/dwc3-generic.c ?
More information about the U-Boot
mailing list