diff mbox series

[v3] dt-bindings: usb: dwc3: Allow connector in USB controller node

Message ID 20250325131848.127438-1-matthias.schiffer@ew.tq-group.com (mailing list archive)
State New
Headers show
Series [v3] dt-bindings: usb: dwc3: Allow connector in USB controller node | expand

Commit Message

Matthias Schiffer March 25, 2025, 1:18 p.m. UTC
Allow specifying the connector directly in the USB controller node, as
allow in other USB controller bindings and commonly used for
"gpio-usb-b-connector". Linux already supports this without driver
changes.

Signed-off-by: Matthias Schiffer <matthias.schiffer@ew.tq-group.com>
Acked-by: Conor Dooley <conor.dooley@microchip.com>
---

Changes in v3:
- Rebased onto linux-next (moved to the new snps,dwc3-common.yaml)
- Extended commit message
- Pull patch out of "TQ-Systems TQMa62xx SoM and MBa62xx board" series,
  as the series will need some more rework, and this patch should be
  good to go independently (and should go through the USB tree, unlike
  the rest of the series)
  In the submissions of the previous versions, the linux-usb list was
  forgotten by accident.

Changes in v2:
- Collected ack
- Rebased onto v6.13-rc1

 Documentation/devicetree/bindings/usb/snps,dwc3-common.yaml | 6 ++++++
 1 file changed, 6 insertions(+)
diff mbox series

Patch

diff --git a/Documentation/devicetree/bindings/usb/snps,dwc3-common.yaml b/Documentation/devicetree/bindings/usb/snps,dwc3-common.yaml
index 71249b6ba6168..6c0b8b6538246 100644
--- a/Documentation/devicetree/bindings/usb/snps,dwc3-common.yaml
+++ b/Documentation/devicetree/bindings/usb/snps,dwc3-common.yaml
@@ -390,6 +390,12 @@  properties:
     maximum: 8
     default: 1
 
+  connector:
+    $ref: /schemas/connector/usb-connector.yaml#
+    description: Connector for dual role switch
+    type: object
+    unevaluatedProperties: false
+
   port:
     $ref: /schemas/graph.yaml#/properties/port
     description: