]> www.infradead.org Git - users/jedix/linux-maple.git/commitdiff
dt-bindings: clock: baikal,bt1-ccu-div: add top-level constraints
authorKrzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Sun, 18 Aug 2024 17:30:10 +0000 (19:30 +0200)
committerStephen Boyd <sboyd@kernel.org>
Wed, 28 Aug 2024 17:01:22 +0000 (10:01 -0700)
Properties with variable number of items per each device are expected to
have widest constraints in top-level "properties:" block and further
customized (narrowed) in "if:then:".  Add missing top-level constraints
for clocks and clock-names.

Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Link: https://lore.kernel.org/r/20240818173014.122073-1-krzysztof.kozlowski@linaro.org
Reviewed-by: Serge Semin <fancer.lancer@gmail.com>
Acked-by: Conor Dooley <conor.dooley@microchip.com>
Signed-off-by: Stephen Boyd <sboyd@kernel.org>
Documentation/devicetree/bindings/clock/baikal,bt1-ccu-div.yaml

index bd4cefbb1244d48183fae6b999c856bca6e2de78..30252c95700c3923c03b4c178297d89856fb39b2 100644 (file)
@@ -134,9 +134,13 @@ properties:
   "#reset-cells":
     const: 1
 
-  clocks: true
+  clocks:
+    minItems: 3
+    maxItems: 4
 
-  clock-names: true
+  clock-names:
+    minItems: 3
+    maxItems: 4
 
 additionalProperties: false