[PATCH] dt-bindings: usb: snps,dwc3: support i.MX8MQ

From: Peng Fan (OSS)
Date: Thu Feb 02 2023 - 20:07:44 EST


From: Peng Fan <peng.fan@xxxxxxx>

i.MX8MQ use Synopsys DesignWare USB3 Controller IP, so add the
compatible. And also add optional power-domains property.

Signed-off-by: Peng Fan <peng.fan@xxxxxxx>
---
.../devicetree/bindings/usb/snps,dwc3.yaml | 15 ++++++++++-----
1 file changed, 10 insertions(+), 5 deletions(-)

diff --git a/Documentation/devicetree/bindings/usb/snps,dwc3.yaml b/Documentation/devicetree/bindings/usb/snps,dwc3.yaml
index 6d78048c4613..a9a677411477 100644
--- a/Documentation/devicetree/bindings/usb/snps,dwc3.yaml
+++ b/Documentation/devicetree/bindings/usb/snps,dwc3.yaml
@@ -30,11 +30,13 @@ allOf:

properties:
compatible:
- contains:
- oneOf:
- - const: snps,dwc3
- - const: synopsys,dwc3
- deprecated: true
+ oneOf:
+ - items:
+ - const: fsl,imx8mq-dwc3
+ - const: snps,dwc3
+ - const: snps,dwc3
+ - const: synopsys,dwc3
+ deprecated: true

reg:
maxItems: 1
@@ -91,6 +93,9 @@ properties:
- usb2-phy
- usb3-phy

+ power-domains:
+ maxItems: 1
+
resets:
minItems: 1

--
2.37.1