]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
dt-bindings: PCI: renesas,pci-rcar-gen2: Add top-level constraints
authorKrzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Sun, 18 Aug 2024 17:28:42 +0000 (19:28 +0200)
committerKrzysztof Wilczyński <kwilczynski@kernel.org>
Wed, 4 Sep 2024 14:32:02 +0000 (14:32 +0000)
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.

Link: https://lore.kernel.org/linux-pci/20240818172843.121787-2-krzysztof.kozlowski@linaro.org
Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Signed-off-by: Krzysztof Wilczyński <kwilczynski@kernel.org>
Reviewed-by: Rob Herring (Arm) <robh@kernel.org>
Documentation/devicetree/bindings/pci/renesas,pci-rcar-gen2.yaml

index b288cdb1ec70a53fb335bf6f35c00752f0efcfe7..065b7508d2888f7d0202128403e305372296f3e7 100644 (file)
@@ -42,9 +42,13 @@ properties:
   interrupts:
     maxItems: 1
 
-  clocks: true
+  clocks:
+    minItems: 1
+    maxItems: 3
 
-  clock-names: true
+  clock-names:
+    minItems: 1
+    maxItems: 3
 
   resets:
     maxItems: 1