]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
dt-bindings: usb: dwc2: add iommus
authorKrzysztof Kozlowski <krzysztof.kozlowski@canonical.com>
Fri, 18 Feb 2022 16:15:20 +0000 (17:15 +0100)
committerDinh Nguyen <dinguyen@kernel.org>
Tue, 1 Mar 2022 15:41:54 +0000 (09:41 -0600)
The DWC2 node might use IOMMU (e.g. Altera Stratix10), so add "iommus"
property.  This fixes warnings like:

  arch/arm64/boot/dts/altera/socfpga_stratix10_socdk.dt.yaml:
    usb@ffb40000: 'iommus' does not match any of the regexes: 'pinctrl-[0-9]+'

Acked-by: Rob Herring <robh@kernel.org>
Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@canonical.com>
Signed-off-by: Dinh Nguyen <dinguyen@kernel.org>
Documentation/devicetree/bindings/usb/dwc2.yaml

index 048e352c531a4891bddbb8d5689757dd27a882d2..1ba96706bbcbcd63810e697c4d048f1c30a5c735 100644 (file)
@@ -68,6 +68,9 @@ properties:
     items:
       - const: otg
 
+  iommus:
+    maxItems: 1
+
   resets:
     items:
       - description: common reset