]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
dt-bindings: display: sprd,sharkl3-dsi-host: Fix missing clocks constraints
authorKrzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Sun, 20 Jul 2025 12:30:05 +0000 (14:30 +0200)
committerRob Herring (Arm) <robh@kernel.org>
Wed, 23 Jul 2025 04:14:22 +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: 2295bbd35edb ("dt-bindings: display: add Unisoc's mipi dsi controller bindings")
Cc: stable@vger.kernel.org
Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Link: https://lore.kernel.org/r/20250720123003.37662-4-krzysztof.kozlowski@linaro.org
Signed-off-by: Rob Herring (Arm) <robh@kernel.org>
Documentation/devicetree/bindings/display/sprd/sprd,sharkl3-dsi-host.yaml

index bc5594d18643010b91376c92a8f235a522d7dc3d..300bf2252c3e8e589dc74927520e24aa4a59f81b 100644 (file)
@@ -20,7 +20,7 @@ properties:
     maxItems: 2
 
   clocks:
-    minItems: 1
+    maxItems: 1
 
   clock-names:
     items: