aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKrishna Kurapati <[email protected]>2023-08-28 19:00:22 +0530
committerGreg Kroah-Hartman <[email protected]>2023-10-02 13:55:24 +0200
commiteb3f1d9e42b1499152442e97b51bc1bcfee29d71 (patch)
tree51fd5a96d4b586eede2a8a9d87055e0b705cac76
parentca58c4ae75b65e1d78408b134f129ea91e9595b8 (diff)
dt-bindings: usb: Add bindings for multiport properties on DWC3 controller
Add bindings to indicate properties required to support multiport on Synopsys DWC3 controller. Suggested-by: Bjorn Andersson <[email protected]> Signed-off-by: Krishna Kurapati <[email protected]> Reviewed-by: Rob Herring <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Greg Kroah-Hartman <[email protected]>
-rw-r--r--Documentation/devicetree/bindings/usb/snps,dwc3.yaml13
1 files changed, 7 insertions, 6 deletions
diff --git a/Documentation/devicetree/bindings/usb/snps,dwc3.yaml b/Documentation/devicetree/bindings/usb/snps,dwc3.yaml
index a696f23730d3..5bc941355b43 100644
--- a/Documentation/devicetree/bindings/usb/snps,dwc3.yaml
+++ b/Documentation/devicetree/bindings/usb/snps,dwc3.yaml
@@ -85,15 +85,16 @@ properties:
phys:
minItems: 1
- maxItems: 2
+ maxItems: 8
phy-names:
minItems: 1
- maxItems: 2
- items:
- enum:
- - usb2-phy
- - usb3-phy
+ maxItems: 8
+ oneOf:
+ - items:
+ enum: [ usb2-phy, usb3-phy ]
+ - items:
+ pattern: "^usb[23]-port[0-3]$"
power-domains:
description: