]> git.ipfire.org Git - thirdparty/kernel/stable.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)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 28 Aug 2025 14:34:16 +0000 (16:34 +0200)
commit 934da599e694d476f493d3927a30414e98a81561 upstream.

'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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.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: