dt-bindings: ehci/ohci: Allow iommus property
authorAndre Przywara <andre.przywara@arm.com>
Wed, 13 May 2020 10:30:16 +0000 (11:30 +0100)
committerRob Herring <robh@kernel.org>
Fri, 15 May 2020 03:17:06 +0000 (22:17 -0500)
A OHCI/EHCI controller could be behind an IOMMU, in which case an iommus
property assigns the stream ID for this device.

Allow that property in the DT bindings to fix a complaint about the Arm Juno
board's DTS file.

Signed-off-by: Andre Przywara <andre.przywara@arm.com>
Signed-off-by: Rob Herring <robh@kernel.org>
Documentation/devicetree/bindings/usb/generic-ehci.yaml
Documentation/devicetree/bindings/usb/generic-ohci.yaml

index fde980b..69f3f26 100644 (file)
@@ -88,6 +88,9 @@ properties:
   phy-names:
     const: usb
 
+  iommus:
+    maxItems: 1
+
 required:
   - compatible
   - reg
index d7efddf..2178bcc 100644 (file)
@@ -76,6 +76,9 @@ properties:
   phy-names:
     const: usb
 
+  iommus:
+    maxItems: 1
+
 required:
   - compatible
   - reg