1

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 <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>
This commit is contained in:
Jim Quinlan 2024-08-15 18:57:15 -04:00 committed by Krzysztof Wilczyński
parent 8a4db021b9
commit c64e40caf9
No known key found for this signature in database
GPG Key ID: 7C64768D3DE334E7

View 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: