Re: [PATCH 3/7] dt-bindings: usb: add SpacemiT K1 DWC3 glue

From: Krzysztof Kozlowski
Date: Wed Apr 09 2025 - 06:09:52 EST


On 09/04/2025 10:16, Ze Huang wrote:
>>
>>> + vbus-supply:
>>> + description: A phandle to the regulator supplying the VBUS voltage.
>>> +
>>> +patternProperties:
>>> + '^usb@':
>>> + $ref: snps,dwc3.yaml#
>> No, rather fold child into the parent.
>
> I’m not entirely sure I understand your suggestion. Could you please provide
> an example? Thanks!
Do not create glue node, but only one node for entire DWC. All new DWC
USB bindings are supposed to follow this new approach. There are some
examples in the tree and some on the lists.

Best regards,
Krzysztof