Re: Multiple generic PHY instances for DWC3 USB IP

From: Masahiro Yamada
Date: Wed Apr 04 2018 - 06:34:15 EST


Hi Arnd,

2018-04-04 17:43 GMT+09:00 Arnd Bergmann <arnd@xxxxxxxx>:
> On Wed, Apr 4, 2018 at 10:00 AM, Felipe Balbi
> <felipe.balbi@xxxxxxxxxxxxxxx> wrote:
>>
>> Hi,
>>
>> Masahiro Yamada <yamada.masahiro@xxxxxxxxxxxxx> writes:
>>>>> Each DWC3 instance is connected with
>>>>> multiple HS PHYs and multiple SS PHYs,
>>>>> depending on the number of ports.
>>>>
>>>> in that case, you shouldn't need dwc3 at all. A Host-only dwc3 is xHCI
>>>> compliant. If you really don't have the gadget block, there's no need
>>>> for you to use dwc3. Just use xhci-plat directly.
>>>
>>> Sorry, I was misunderstanding.
>>>
>>> Some of our SoCs support gadget,
>>> so we need to use the dwc3 driver.
>>
>> fair enough. Now we need to figure out how to pass multiply PHYs to a
>> multi-port dwc3 instance.
>>
>> Kishon, any ideas? How do you think DT should look like?
>
> See this series from Martin Blumenstingl:
>
> https://www.spinics.net/lists/linux-usb/msg166281.html
>
> Arnd


Very useful information!

Not tested yet, but I quickly reviewed the series visually,
and probably this will work for us.

Thanks!


--
Best Regards
Masahiro Yamada