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:
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
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user