Re: [PATCH v4 1/2] dt-bindings: phy: google: Add Google Tensor G5 USB PHY
From: Roy Luo
Date: Mon Oct 27 2025 - 19:22:10 EST
On Mon, Oct 27, 2025 at 7:02 AM Krzysztof Kozlowski <krzk@xxxxxxxxxx> wrote:
>
> On 24/10/2025 00:22, Roy Luo wrote:
> >>> +
> >>> + clocks:
> >>> + items:
> >>> + - description: USB2 PHY clock.
> >>> + - description: USB2 PHY APB clock.
> >>> +
> >>> + clock-names:
> >>> + items:
> >>> + - const: usb2_phy
> >>
> >> core
> >>
> >>> + - const: u2phy_apb
> >>
> >> apb
> >>
> >
> > Just to provide the full context, these two clocks/resets
> > (usb2_phy and u2phy_apb) are specifically for eUSB2 PHY.
> > USB3/DP combo PHY has its own clock/reset that hasn't
> > been added yet, we would have to differentiate them once
>
> That's confusing a bit. You must add all clocks, all resets, all power
> domains, all pins etc. Bindings are supposed to be complete, see writing
> bindings doc.
>
>
> Best regards,
> Krzysztof
Ok found this in the writing binding doc:
"DO attempt to make bindings complete even if a driver doesn’t
support some features. For example, if a device has an interrupt,
then include the ‘interrupts’ property even if the driver is only
polled mode."
I will add all the clocks and resets inclusive of usb3 in the
next version.
Thanks,
Roy Luo