dt-bindings: gpu: samsung-scaler: constrain iommus and power-domains

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-5-krzysztof.kozlowski@linaro.org
Signed-off-by: Rob Herring <robh@kernel.org>
This commit is contained in:
Krzysztof Kozlowski
2023-11-12 19:44:03 +01:00
committed by Rob Herring
parent 6ff067f3d5
commit 6a4ff5eab8
@@ -29,8 +29,12 @@ properties:
minItems: 1
maxItems: 3
iommus: {}
power-domains: {}
iommus:
minItems: 1
maxItems: 2
power-domains:
maxItems: 1
required:
- compatible
@@ -54,6 +58,8 @@ allOf:
clock-names:
items:
- const: mscl
iommus:
minItems: 2
else:
properties:
@@ -67,6 +73,8 @@ allOf:
- const: pclk
- const: aclk
- const: aclk_xiu
iommus:
maxItems: 1
additionalProperties: false