From: Jim Quinlan Date: Thu, 15 Aug 2024 22:57:15 +0000 (-0400) Subject: dt-bindings: PCI: brcm,stb-pcie: Use maxItems for reset controllers X-Git-Tag: v6.12-rc1~96^2~16^2~12 X-Git-Url: https://gentwo.org/gitweb/?a=commitdiff_plain;h=c64e40caf9eab6bbd3f37d106472723349853b4f;p=linux%2F.git dt-bindings: PCI: brcm,stb-pcie: Use maxItems for reset controllers 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 [kwilczynski: commit log] Signed-off-by: Krzysztof WilczyƄski Reviewed-by: Florian Fainelli Reviewed-by: Krzysztof Kozlowski --- 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: