dt-bindings: serial: snps-dw-apb-uart: correct number of DMAs

The "minItems" alone does not impose any upper limit of DMAs, so switch
it to "maxItems" which also implies same value for minItems.

Fixes: 370f696e44 ("dt-bindings: serial: snps-dw-apb-uart: add dma & dma-names properties")
Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Reviewed-by: Conor Dooley <conor.dooley@microchip.com>
Acked-by: Rob Herring <robh@kernel.org>
Link: https://lore.kernel.org/r/20230317155712.99654-1-krzysztof.kozlowski@linaro.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
Krzysztof Kozlowski
2023-03-17 16:57:12 +01:00
committed by Greg Kroah-Hartman
parent cd74c5e355
commit dedd376e0c

View File

@@ -68,7 +68,7 @@ properties:
- const: apb_pclk
dmas:
minItems: 2
maxItems: 2
dma-names:
items: