Skip to content

Commit b32eb97

Browse files
wensvinodkoul
authored andcommitted
dt-bindings: dma: allwinner,sun50i-a64-dma: Add compatible for H616
The DMA controllers found on the H616 and H618 are the same as the one found on the A100. The only difference is the DMA endpoint (DRQ) layout. Since the number of channels and endpoints are described with additional generic properties, just add a new H616-specific compatible string and fallback to the A100 one. Signed-off-by: Chen-Yu Tsai <[email protected]> Acked-by: Conor Dooley <[email protected]> Reviewed-by: Andre Przywara <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Vinod Koul <[email protected]>
1 parent 8fcc3f7 commit b32eb97

File tree

1 file changed

+8
-4
lines changed

1 file changed

+8
-4
lines changed

Documentation/devicetree/bindings/dma/allwinner,sun50i-a64-dma.yaml

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,9 @@ properties:
2828
- items:
2929
- const: allwinner,sun8i-r40-dma
3030
- const: allwinner,sun50i-a64-dma
31+
- items:
32+
- const: allwinner,sun50i-h616-dma
33+
- const: allwinner,sun50i-a100-dma
3134

3235
reg:
3336
maxItems: 1
@@ -59,10 +62,11 @@ required:
5962
if:
6063
properties:
6164
compatible:
62-
enum:
63-
- allwinner,sun20i-d1-dma
64-
- allwinner,sun50i-a100-dma
65-
- allwinner,sun50i-h6-dma
65+
contains:
66+
enum:
67+
- allwinner,sun20i-d1-dma
68+
- allwinner,sun50i-a100-dma
69+
- allwinner,sun50i-h6-dma
6670

6771
then:
6872
properties:

0 commit comments

Comments
 (0)