Re: [PATCH v10 1/3] dt-bindings: usb: snps,dwc3: describe two connectors on one HS data bus

From: Krzysztof Kozlowski

Date: Sat Nov 21 2026 - 04:11:14 EST


On Sat, Nov 21, 2026 at 10:21:02AM +0800, Qianhui Xu wrote:
> Some designs route two USB Type-C receptacles through one High Speed D+/D-
> pair with a GPIO multiplexer, so only one connector drives the controller
> at a time. Each connector needs to be described: which role-switch input
> belongs to it and which mux state selects it, because the role switch is
> registered per connector and the driver must know the state to program
> when that connector asks for a role.
>
> Describe the two connectors as the two endpoints of the High Speed port,
> which is what a mux'ed data stream is in the OF graph: port@0 of "ports"
> carries endpoint@0 and endpoint@1 under "mux-controls", each with
> "usb-role-switch" and the "mux-state" that reaches it. The mux
> controller is referenced with "mux-controls", so an existing "gpio-mux"
> controller can be used as is.
>
> The High Speed port definition itself stays optional: a single-connector
> controller keeps describing one plain "endpoint", and requiring the two
> endpoints together with the rule that their mux states differ only
> applies when "mux-controls" is present. The two states must be opposite,
> and the driver rejects a device tree where two connectors claim the same
> one.
>
> *** AI-assistance disclosure ***
> This patch was prepared with the help of an LLM coding assistant. The
> author reviewed every line and ran the gates quoted in the series notes.

This does not go to commit msg, but changelog.

You keep sending multiple revisions, this one even threaded to other
posting and still not really responding to feedbacks.

Feedback was waiting for three days and then you send the same. That's
just wasting our time.

Best regards,
Krzysztof