]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
dt-bindings: net: socionext,uniphier-ave4: add top-level constraints
authorKrzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Sun, 18 Aug 2024 17:29:05 +0000 (19:29 +0200)
committerJakub Kicinski <kuba@kernel.org>
Tue, 20 Aug 2024 22:28:42 +0000 (15:28 -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 clock-names and reset-names.

Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Reviewed-by: Rob Herring (Arm) <robh@kernel.org>
Link: https://patch.msgid.link/20240818172905.121829-4-krzysztof.kozlowski@linaro.org
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Documentation/devicetree/bindings/net/socionext,uniphier-ave4.yaml

index b0ebcef6801ce50f728b24e70251125d8e1d373c..4eb63b303cffc33caebb2e6a2b2f911cfa75f175 100644 (file)
@@ -41,13 +41,17 @@ properties:
     minItems: 1
     maxItems: 4
 
-  clock-names: true
+  clock-names:
+    minItems: 1
+    maxItems: 4
 
   resets:
     minItems: 1
     maxItems: 2
 
-  reset-names: true
+  reset-names:
+    minItems: 1
+    maxItems: 2
 
   socionext,syscon-phy-mode:
     $ref: /schemas/types.yaml#/definitions/phandle-array