]> www.infradead.org Git - users/jedix/linux-maple.git/commitdiff
dt-bindings: PCI: brcm,stb-pcie: Use maxItems for reset controllers
authorJim Quinlan <james.quinlan@broadcom.com>
Thu, 15 Aug 2024 22:57:15 +0000 (18:57 -0400)
committerKrzysztof Wilczyński <kwilczynski@kernel.org>
Wed, 4 Sep 2024 12:20:04 +0000 (12:20 +0000)
Provide the maxItem property for the reset controllers and drop their
superfluous descriptions.

Link: https://lore.kernel.org/linux-pci/20240815225731.40276-3-james.quinlan@broadcom.com
Signed-off-by: Jim Quinlan <james.quinlan@broadcom.com>
[kwilczynski: commit log]
Signed-off-by: Krzysztof Wilczyński <kwilczynski@kernel.org>
Reviewed-by: Florian Fainelli <florian.fainelli@broadcom.com>
Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Documentation/devicetree/bindings/pci/brcm,stb-pcie.yaml

index a95760357335bc2ddf302051be2bca49179f7ee8..7d255219215331ddb1b4c10ab4011f7c05d830e1 100644 (file)
@@ -95,6 +95,12 @@ properties:
       minItems: 1
       maxItems: 3
 
+  resets:
+    maxItems: 1
+
+  reset-names:
+    maxItems: 1
+
 required:
   - compatible
   - reg
@@ -118,8 +124,7 @@ allOf:
     then:
       properties:
         resets:
-          items:
-            - description: reset controller handling the PERST# signal
+          maxItems: 1
 
         reset-names:
           items:
@@ -136,8 +141,7 @@ allOf:
     then:
       properties:
         resets:
-          items:
-            - description: phandle pointing to the RESCAL reset controller
+          maxItems: 1
 
         reset-names:
           items: