[PATCH v6 11/16] dt-bindings: usb: mediatek,mtk-xhci: Switch to ports for USB connections
Konrad Dybcio
konradybcio at gmail.com
Fri Jul 31 07:34:23 PDT 2026
On 7/31/26 4:33 PM, Konrad Dybcio wrote:
> On 7/21/26 8:54 AM, Chen-Yu Tsai wrote:
>> This reverts commit 454a1e3cd36c113341d7b71e8e691c6e47ab4a8a.
>>
>> MediaTek's XHCI implementation supports both USB 2.0 High Speed (HS)
>> and USB 3.x Super Speed (SS). The block can also be synthesized with
>> either HS-only capability or HS+SS capability. The SSUSB controller
>> handles the device or gadget mode. Saying that SSUSB handles the HS
>> portion is wrong.
>
> [...]
>
>> + ports:
>> + $ref: /schemas/graph.yaml#/properties/ports
>> +
>> + properties:
>> + port at 1:
>> + $ref: /schemas/graph.yaml#/properties/port
>> + description: Super Speed (SS) data bus if SS-capable;
>> + otherwise High Speed (HS) data bus.
>> +
>> + port at 2:
>> + $ref: /schemas/graph.yaml#/properties/port
>> + description: High Speed (HS) data bus if controller is SS-capable.
>
> FWIW this is opposite vs what the (most common) DWC3 schema defines:
(s/opposite/different to)
Konrad
>
>
> (also true for mediatek,mtu3 and renesas,usb3-peri)
>
> -- Documentation/devicetree/bindings/usb/snps,dwc3-common.yaml
> ports:
> $ref: /schemas/graph.yaml#/properties/ports
> description:
> Those ports should be used with any connector to the data bus of this
> controller using the OF graph bindings specified if the "usb-role-switch"
> property is used.
>
> properties:
> port at 0:
> $ref: /schemas/graph.yaml#/properties/port
> description: High Speed (HS) data bus.
>
> port at 1:
> $ref: /schemas/graph.yaml#/properties/port
> description: Super Speed (SS) data bus.
>
> Konrad
More information about the Linux-mediatek
mailing list