Re: [PATCH 1/3] dt-bindings: usb: dwc3: spacemit: add support for K3 SoC
From: Conor Dooley
Date: Tue Mar 17 2026 - 09:00:19 EST
On Tue, Mar 17, 2026 at 11:53:02AM +0000, Yixun Lan wrote:
> Add compatible string for DWC3 USB controller found in SpacemiT K3 SoC.
> The USB2.0 host controller in K3 SoC actually use DWC3 IP but only has
> USB2.0 functionality, and requires only one USB2.0 PHY connected.
>
> Explicitly reduce number of phy property to minimal one.
Is this valid for the existing compatible, will it work with only one
clock?
>
> Signed-off-by: Yixun Lan <dlan@xxxxxxxxxx>
> ---
> Documentation/devicetree/bindings/usb/spacemit,k1-dwc3.yaml | 6 +++++-
> 1 file changed, 5 insertions(+), 1 deletion(-)
>
> diff --git a/Documentation/devicetree/bindings/usb/spacemit,k1-dwc3.yaml b/Documentation/devicetree/bindings/usb/spacemit,k1-dwc3.yaml
> index 0f0b5e061ca1..cc27b363ca79 100644
> --- a/Documentation/devicetree/bindings/usb/spacemit,k1-dwc3.yaml
> +++ b/Documentation/devicetree/bindings/usb/spacemit,k1-dwc3.yaml
> @@ -27,7 +27,9 @@ allOf:
>
> properties:
> compatible:
> - const: spacemit,k1-dwc3
> + enum:
> + - spacemit,k1-dwc3
> + - spacemit,k3-dwc3
>
> reg:
> maxItems: 1
> @@ -42,11 +44,13 @@ properties:
> maxItems: 1
>
> phys:
> + minItems: 1
> items:
> - description: phandle to USB2/HS PHY
> - description: phandle to USB3/SS PHY
>
> phy-names:
> + minItems: 1
> items:
> - const: usb2-phy
> - const: usb3-phy
>
> --
> 2.53.0
>
Attachment:
signature.asc
Description: PGP signature