dt-bindings: mmc: mmc-pwreq-simple: Accept more than one reset GPIO

There might be multiple reset GPIOs but dtschema has trouble parsing it
if there are no maxItems:

  arch/arm/boot/dts/exynos5250-snow.dt.yaml: mmc3_pwrseq: reset-gpios: [[20, 2, 1], [20, 1, 1]] is too long
    From schema: Documentation/devicetree/bindings/mmc/mmc-pwrseq-simple.yaml

Signed-off-by: Krzysztof Kozlowski <krzk@kernel.org>
Link: https://lore.kernel.org/r/20200831161147.13515-2-krzk@kernel.org
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
This commit is contained in:
Krzysztof Kozlowski 2020-08-31 18:11:47 +02:00 committed by Ulf Hansson
parent 80fd350b95
commit 9381118fcf
1 changed files with 2 additions and 0 deletions

View File

@ -20,6 +20,8 @@ properties:
reset-gpios: reset-gpios:
minItems: 1 minItems: 1
# Put some limit to avoid false warnings
maxItems: 32
description: description:
contains a list of GPIO specifiers. The reset GPIOs are asserted contains a list of GPIO specifiers. The reset GPIOs are asserted
at initialization and prior we start the power up procedure of the card. at initialization and prior we start the power up procedure of the card.