Skip to content

Commit 370f696

Browse files
ConchuODgregkh
authored andcommitted
dt-bindings: serial: snps-dw-apb-uart: add dma & dma-names properties
Commit 0c559bc ("dt-bindings: serial: restrict possible child node names") exposed the Allwinner D1 devicetrees as users of unevaluated properties, with a slew of similar warnings now appearing during dtbs_check: sun20i-d1-nezha.dtb: serial@2500400: Unevaluated properties are not allowed ('dma-names', 'dmas' were unexpected) Document the missing properties. Signed-off-by: Conor Dooley <[email protected]> Acked-by: Krzysztof Kozlowski <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Greg Kroah-Hartman <[email protected]>
1 parent 491581f commit 370f696

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

Documentation/devicetree/bindings/serial/snps-dw-apb-uart.yaml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,14 @@ properties:
6767
- const: baudclk
6868
- const: apb_pclk
6969

70+
dmas:
71+
minItems: 2
72+
73+
dma-names:
74+
items:
75+
- const: rx
76+
- const: tx
77+
7078
snps,uart-16550-compatible:
7179
description: reflects the value of UART_16550_COMPATIBLE configuration
7280
parameter. Define this if your UART does not implement the busy functionality.

0 commit comments

Comments
 (0)