]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
dt-bindings: display: sprd,sharkl3-dpu: Fix missing clocks constraints
authorKrzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Sun, 20 Jul 2025 12:30:04 +0000 (14:30 +0200)
committerRob Herring (Arm) <robh@kernel.org>
Wed, 23 Jul 2025 04:14:14 +0000 (23:14 -0500)
'minItems' alone does not impose upper bound, unlike 'maxItems' which
implies lower bound.  Add missing clock constraint so the list will have
exact number of items (clocks).

Fixes: 8cae15c60cf0 ("dt-bindings: display: add Unisoc's dpu bindings")
Cc: stable@vger.kernel.org
Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Link: https://lore.kernel.org/r/20250720123003.37662-3-krzysztof.kozlowski@linaro.org
Signed-off-by: Rob Herring (Arm) <robh@kernel.org>
Documentation/devicetree/bindings/display/sprd/sprd,sharkl3-dpu.yaml

index 4ebea60b8c5ba5f177854e3a8d89e93e7304e18b..8c52fa0ea5f8ee2149ebf1d4b0d5b052832e3d97 100644 (file)
@@ -25,7 +25,7 @@ properties:
     maxItems: 1
 
   clocks:
-    minItems: 2
+    maxItems: 2
 
   clock-names:
     items: