[PATCH v6 02/13] dt-bindings: PCI: Use maxItems for reset controllers

From: Jim Quinlan
Date: Thu Aug 15 2024 - 18:58:23 EST


Provide the maxItem property for the reset controllers and drop their
superfluous descriptions.

Signed-off-by: Jim Quinlan <james.quinlan@xxxxxxxxxxxx>
---
.../devicetree/bindings/pci/brcm,stb-pcie.yaml | 12 ++++++++----
1 file changed, 8 insertions(+), 4 deletions(-)

diff --git a/Documentation/devicetree/bindings/pci/brcm,stb-pcie.yaml b/Documentation/devicetree/bindings/pci/brcm,stb-pcie.yaml
index a95760357335..7d2552192153 100644
--- a/Documentation/devicetree/bindings/pci/brcm,stb-pcie.yaml
+++ b/Documentation/devicetree/bindings/pci/brcm,stb-pcie.yaml
@@ -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:
--
2.17.1