diff options
author | Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> | 2023-11-12 21:44:03 +0300 |
---|---|---|
committer | Rob Herring <robh@kernel.org> | 2023-12-08 16:24:20 +0300 |
commit | 6a4ff5eab84323f0275b8bde36cf4cea5ff7dcb1 (patch) | |
tree | b9ce71d0a7c02795227cddf86cc4dd97fe950c94 /Documentation/devicetree/bindings/gpu | |
parent | 6ff067f3d56689aa67bf9885f4a63b5160111ae0 (diff) | |
download | linux-6a4ff5eab84323f0275b8bde36cf4cea5ff7dcb1.tar.xz |
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>
Diffstat (limited to 'Documentation/devicetree/bindings/gpu')
-rw-r--r-- | Documentation/devicetree/bindings/gpu/samsung-scaler.yaml | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/Documentation/devicetree/bindings/gpu/samsung-scaler.yaml b/Documentation/devicetree/bindings/gpu/samsung-scaler.yaml index e08fc1e4115f..9fb530e65d0e 100644 --- a/Documentation/devicetree/bindings/gpu/samsung-scaler.yaml +++ b/Documentation/devicetree/bindings/gpu/samsung-scaler.yaml @@ -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 |