Re: [RFC PATCH v3 1/2] dt-bindings: usb: snps,dwc3: describe two connectors sharing one HS bus
From: Krzysztof Kozlowski
Date: Fri Oct 23 2026 - 03:50:55 EST
On Mon, Oct 19, 2026 at 09:18:47PM +0800, Qianhui Xu wrote:
> Two connectors can share the High Speed D+/D- pair of a single DWC3
> controller, with a GPIO selecting which one is connected. Super Speed
> lanes stay per connector.
>
> Describe that in snps,dwc3-common.yaml:
>
> - port-select-gpios selects which connector drives the shared HS bus;
> - the shared HS bus is port@0 with two numbered endpoints, endpoint@0
> and endpoint@1, so that "ports" keeps describing the controller's own
> buses as the graph bindings expect;
> - each endpoint carries "mux-state", the port-select level of that
> connector, and "usb-role-switch" to declare that this connector has
> its own role switch input.
>
> When port-select-gpios is absent the endpoint properties are rejected,
> so existing single-connector descriptions are unaffected. The two
> mux-state values are constrained to be complementary.
>
> Signed-off-by: Qianhui Xu <xiaqinghuan@xxxxxxxxxxxxxxxx>
> ---
v2 had several Sashiko comments, this is called RFC and threaded there,
so kind of confusing what you expect us here. I assume RFC, so I drop
this patch from DT patchwork.
Best regards,
Krzysztof