Commit 6a4ff5ea authored by Krzysztof Kozlowski's avatar Krzysztof Kozlowski Committed by Rob Herring

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: default avatarKrzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Acked-by: default avatarConor Dooley <conor.dooley@microchip.com>
Link: https://lore.kernel.org/r/20231112184403.3449-5-krzysztof.kozlowski@linaro.orgSigned-off-by: default avatarRob Herring <robh@kernel.org>
parent 6ff067f3
......@@ -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
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment