]> www.infradead.org Git - users/jedix/linux-maple.git/commitdiff
dt-bindings: clock: cirrus,lochnagar: add top-level constraints
authorKrzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Sun, 18 Aug 2024 17:30:11 +0000 (19:30 +0200)
committerStephen Boyd <sboyd@kernel.org>
Wed, 28 Aug 2024 17:01:25 +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.  Drop also redundant assigned-clocks properties, because
core dtschema allows them if clocks are provided.

Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Link: https://lore.kernel.org/r/20240818173014.122073-2-krzysztof.kozlowski@linaro.org
Acked-by: Conor Dooley <conor.dooley@microchip.com>
Signed-off-by: Stephen Boyd <sboyd@kernel.org>
Documentation/devicetree/bindings/clock/cirrus,lochnagar.yaml

index 59de125647ecb57a63de6d850c59e811689d410c..ccff74eda9fb9371456c1b3413afbb2b38207532 100644 (file)
@@ -67,9 +67,9 @@ properties:
     minItems: 1
     maxItems: 19
 
-  clocks: true
-  assigned-clocks: true
-  assigned-clock-parents: true
+  clocks:
+    minItems: 1
+    maxItems: 19
 
 additionalProperties: false