]> git.ipfire.org Git - thirdparty/kernel/stable.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)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 28 Aug 2025 14:34:17 +0000 (16:34 +0200)
commit 2558df8c13ae3bd6c303b28f240ceb0189519c91 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: 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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.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: