From: Krzysztof Kozlowski Date: Fri, 17 Mar 2023 15:57:12 +0000 (+0100) Subject: dt-bindings: serial: snps-dw-apb-uart: correct number of DMAs X-Git-Tag: v6.6.17~5003^2~35 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=dedd376e0c7096daf4171d54957a679b4dfeadbf;p=platform%2Fkernel%2Flinux-rpi.git 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: 370f696e4474 ("dt-bindings: serial: snps-dw-apb-uart: add dma & dma-names properties") Signed-off-by: Krzysztof Kozlowski Reviewed-by: Conor Dooley Acked-by: Rob Herring Link: https://lore.kernel.org/r/20230317155712.99654-1-krzysztof.kozlowski@linaro.org Signed-off-by: Greg Kroah-Hartman --- diff --git a/Documentation/devicetree/bindings/serial/snps-dw-apb-uart.yaml b/Documentation/devicetree/bindings/serial/snps-dw-apb-uart.yaml index 2becdfa..8212a9f 100644 --- a/Documentation/devicetree/bindings/serial/snps-dw-apb-uart.yaml +++ b/Documentation/devicetree/bindings/serial/snps-dw-apb-uart.yaml @@ -68,7 +68,7 @@ properties: - const: apb_pclk dmas: - minItems: 2 + maxItems: 2 dma-names: items: