dt-bindings: gpu: samsung-g2d: constrain iommus and power-domains
authorKrzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Sun, 12 Nov 2023 18:44:02 +0000 (19:44 +0100)
committerRob Herring <robh@kernel.org>
Fri, 8 Dec 2023 13:24:19 +0000 (07:24 -0600)
Provide specific constraints for iommus and power-domains, based on
current DTS.

Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Acked-by: Conor Dooley <conor.dooley@microchip.com>
Link: https://lore.kernel.org/r/20231112184403.3449-4-krzysztof.kozlowski@linaro.org
Signed-off-by: Rob Herring <robh@kernel.org>
Documentation/devicetree/bindings/gpu/samsung-g2d.yaml

index f368966..132aaa4 100644 (file)
@@ -30,8 +30,12 @@ properties:
     minItems: 1
     maxItems: 2
 
-  iommus: {}
-  power-domains: {}
+  iommus:
+    minItems: 1
+    maxItems: 2
+
+  power-domains:
+    maxItems: 1
 
 required:
   - compatible