Skip to contentSkip to conversation

dt-bindings: usb: mtu3: Add ports property

PATCH Applied Macpaul Lin 5 participants 7 messages Feb 20, 2025 – Feb 25, 2025

Subsystems (4)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 dt-bindings: usb: mtu3: Add ports property

Define the ports property in the mediatek,mtu3 device tree binding schema. Include definitions for port@0 and port@1, specifying their roles as High Speed (HS) and Super Speed (SS) data buses, respectively.

---
 .../devicetree/bindings/usb/mediatek,mtu3.yaml       | 12 ++++++++++++
 1 file changed, 12 insertions(+)
Documentation/devicetree/bindings/usb/mediatek,mtu3.yaml +12 -0
index d4e187c78a0b..21fc6bbe954f 100644
@@ -155,6 +155,18 @@ properties:
       property is used. See graph.txt
     $ref: /schemas/graph.yaml#/properties/port
 
+  ports:
+    $ref: /schemas/graph.yaml#/properties/ports
+
+    properties:
+      port@0:
+        $ref: /schemas/graph.yaml#/properties/port
+        description: High Speed (HS) data bus.
+
+      port@1:
+        $ref: /schemas/graph.yaml#/properties/port
+        description: Super Speed (SS) data bus.
+
   enable-manual-drd:
     $ref: /schemas/types.yaml#/definitions/flag
     description:
Signature · 1 line
2.45.2
maintainer Reviewed-by on v1 1/1
#1 lore raw

Il 20/02/25 15:22, Macpaul Lin ha scritto:

Quoted 6 lines

Define the ports property in the mediatek,mtu3 device tree binding schema. Include definitions for port@0 and port@1, specifying their roles as High Speed (HS) and Super Speed (SS) data buses, respectively.

Some SoCs do have SuperSpeed peripheral mode, so for this commit

Quoted 27 lines
---
  .../devicetree/bindings/usb/mediatek,mtu3.yaml       | 12 ++++++++++++
  1 file changed, 12 insertions(+)
Documentation/devicetree/bindings/usb/mediatek,mtu3.yaml +12 -0
index d4e187c78a0b..21fc6bbe954f 100644
@@ -155,6 +155,18 @@ properties:
        property is used. See graph.txt
      $ref: /schemas/graph.yaml#/properties/port
 
+  ports:
+    $ref: /schemas/graph.yaml#/properties/ports
+
+    properties:
+      port@0:
+        $ref: /schemas/graph.yaml#/properties/port
+        description: High Speed (HS) data bus.
+
+      port@1:
+        $ref: /schemas/graph.yaml#/properties/port
+        description: Super Speed (SS) data bus.
+
    enable-manual-drd:
      $ref: /schemas/types.yaml#/definitions/flag
      description:
Acked-by
#2 lore raw
Quoted 11 lines · AngeloGioacchino Del Regno

Il 20/02/25 15:22, Macpaul Lin ha scritto:

Quoted 6 lines

Define the ports property in the mediatek,mtu3 device tree binding schema. Include definitions for port@0 and port@1, specifying their roles as High Speed (HS) and Super Speed (SS) data buses, respectively.

Some SoCs do have SuperSpeed peripheral mode, so for this commit

maintainer Reviewed-by on v1 1/1
#3 lore raw
In reply to Macpaul Lin
Quoted 27 lines · Macpaul Lin

Define the ports property in the mediatek,mtu3 device tree binding schema.
Include definitions for port@0 and port@1, specifying their roles as High Speed (HS) and Super Speed (SS) data buses, respectively.

Suggested-by: AngeloGioacchino Del Regno <
[email protected]>

---
 .../devicetree/bindings/usb/mediatek,mtu3.yaml       | 12
++++++++++++
 1 file changed, 12 insertions(+)
Documentation/devicetree/bindings/usb/mediatek,mtu3.yaml +5 -0
index d4e187c78a0b..21fc6bbe954f 100644
@@ -155,6 +155,18 @@ properties:
       property is used. See graph.txt
     $ref: /schemas/graph.yaml#/properties/port
 
+  ports:
+    $ref: /schemas/graph.yaml#/properties/ports
+
+    properties:
+      port@0:

Documentation/devicetree/bindings/usb/mediatek,mtu3.yaml properties: · line 172

Quoted 10 lines
Documentation/devicetree/bindings/usb/mediatek,mtu3.yaml +7 -0
+        $ref: /schemas/graph.yaml#/properties/port
+        description: High Speed (HS) data bus.
+
+      port@1:
+        $ref: /schemas/graph.yaml#/properties/port
+        description: Super Speed (SS) data bus.
+
   enable-manual-drd:
     $ref: /schemas/types.yaml#/definitions/flag
     description:

Thank you

#4 lore raw

Il 22/02/25 09:35, Chunfeng Yun (云春峰) ha scritto:

Quoted 40 lines · Macpaul Lin
Quoted 27 lines

Define the ports property in the mediatek,mtu3 device tree binding schema.
Include definitions for port@0 and port@1, specifying their roles as High Speed (HS) and Super Speed (SS) data buses, respectively.

Suggested-by: AngeloGioacchino Del Regno <
[email protected]>

---
  .../devicetree/bindings/usb/mediatek,mtu3.yaml       | 12
++++++++++++
  1 file changed, 12 insertions(+)
Documentation/devicetree/bindings/usb/mediatek,mtu3.yaml +5 -0
index d4e187c78a0b..21fc6bbe954f 100644
@@ -155,6 +155,18 @@ properties:
        property is used. See graph.txt
      $ref: /schemas/graph.yaml#/properties/port
 
+  ports:
+    $ref: /schemas/graph.yaml#/properties/ports
+
+    properties:
+      port@0:

Documentation/devicetree/bindings/usb/mediatek,mtu3.yaml properties: · line 172

Quoted 10 lines
Documentation/devicetree/bindings/usb/mediatek,mtu3.yaml +7 -0
+        $ref: /schemas/graph.yaml#/properties/port
+        description: High Speed (HS) data bus.
+
+      port@1:
+        $ref: /schemas/graph.yaml#/properties/port
+        description: Super Speed (SS) data bus.
+
    enable-manual-drd:
      $ref: /schemas/types.yaml#/definitions/flag
      description:
Quoted 2 lines

Thank you

Is everyone okay if I pick this (and the XHCI one [1]) in the MediaTek trees?

This is so that I don't get devicetree warnings when picking the DT patches that are adding USB MUX/TCPC to the MediaTek boards.

[1]: https://lore.kernel.org/r/[email protected]

Thanks,
Angelo

Reviewed-by
#5 lore raw
Quoted 40 lines · AngeloGioacchino Del Regno

Il 22/02/25 09:35, Chunfeng Yun (云春峰) ha scritto:

Quoted 39 lines · Macpaul Lin
Quoted 33 lines

Define the ports property in the mediatek,mtu3 device tree binding schema.
Include definitions for port@0 and port@1, specifying their roles as High Speed (HS) and Super Speed (SS) data buses, respectively.

Suggested-by: AngeloGioacchino Del Regno <
[email protected]>

---
  .../devicetree/bindings/usb/mediatek,mtu3.yaml       | 12
++++++++++++

  1 file changed, 12 insertions(+)
Documentation/devicetree/bindings/usb/mediatek,mtu3.yaml +0 -0
index d4e187c78a0b..21fc6bbe954f 100644
@@ -155,6 +155,18 @@ properties:

        property is used. See graph.txt
      $ref: /schemas/graph.yaml#/properties/port
+  ports:
+    $ref: /schemas/graph.yaml#/properties/ports

Documentation/devicetree/bindings/usb/mediatek,mtu3.yaml +10 -0
+
+    properties:
+      port@0:
+        $ref: /schemas/graph.yaml#/properties/port
+        description: High Speed (HS) data bus.
+
+      port@1:
+        $ref: /schemas/graph.yaml#/properties/port
+        description: Super Speed (SS) data bus.
+
Quoted 3 lines

    enable-manual-drd:
      $ref: /schemas/types.yaml#/definitions/flag
      description:

Quoted 7 lines
Quoted 2 lines

Thank you

Is everyone okay if I pick this (and the XHCI one [1]) in the MediaTek trees?

This is so that I don't get devicetree warnings when picking the DT patches that are adding USB MUX/TCPC to the MediaTek boards.

Sound good to me.

Signature · 2 lines
Regards,
Alexandre
maintainer Applied
#6 lore raw
In reply to Macpaul Lin
Quoted 5 lines · Macpaul Lin

Define the ports property in the mediatek,mtu3 device tree binding schema. Include definitions for port@0 and port@1, specifying their roles as High Speed (HS) and Super Speed (SS) data buses, respectively.

Applied to v6.14-next/dts64, thanks!

[1/1] dt-bindings: usb: mtu3: Add ports property

      commit: 3aeff53c57c86981f9920e4d5ae7d00b7d62a671

Cheers,
Angelo