[PATCH 2/4] dt-bindings: usb: dwc2: add iommus

From: Krzysztof Kozlowski
Date: Fri Feb 18 2022 - 11:15:44 EST


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]+'

Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@xxxxxxxxxxxxx>
---
Documentation/devicetree/bindings/usb/dwc2.yaml | 3 +++
1 file changed, 3 insertions(+)

diff --git a/Documentation/devicetree/bindings/usb/dwc2.yaml b/Documentation/devicetree/bindings/usb/dwc2.yaml
index 048e352c531a..1ba96706bbcb 100644
--- a/Documentation/devicetree/bindings/usb/dwc2.yaml
+++ b/Documentation/devicetree/bindings/usb/dwc2.yaml
@@ -68,6 +68,9 @@ properties:
items:
- const: otg

+ iommus:
+ maxItems: 1
+
resets:
items:
- description: common reset
--
2.32.0