aboutsummaryrefslogtreecommitdiff
path: root/Documentation/devicetree/bindings/serial/snps-dw-apb-uart.yaml
diff options
context:
space:
mode:
authorKrzysztof Kozlowski <krzysztof.kozlowski@linaro.org>2023-03-17 16:57:12 +0100
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2023-03-29 10:54:05 +0200
commitdedd376e0c7096daf4171d54957a679b4dfeadbf (patch)
tree5e7a32a69b0e9b36b79009bf81587289f412ba5e /Documentation/devicetree/bindings/serial/snps-dw-apb-uart.yaml
parentcd74c5e35546362fdb410551fe650e7e3fa2208e (diff)
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 <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>
Diffstat (limited to 'Documentation/devicetree/bindings/serial/snps-dw-apb-uart.yaml')
-rw-r--r--Documentation/devicetree/bindings/serial/snps-dw-apb-uart.yaml2
1 files changed, 1 insertions, 1 deletions
diff --git a/Documentation/devicetree/bindings/serial/snps-dw-apb-uart.yaml b/Documentation/devicetree/bindings/serial/snps-dw-apb-uart.yaml
index 2becdfab4f15..8212a9f483b5 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: