Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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 <wens@csie.org>
Acked-by: Conor Dooley <conor.dooley@microchip.com>
Reviewed-by: Andre Przywara <andre.przywara@arm.com>
Link: https://lore.kernel.org/r/20240127163247.384439-5-wens@kernel.org
Signed-off-by: Vinod Koul <vkoul@kernel.org>

authored by

Chen-Yu Tsai and committed by
Vinod Koul
b32eb97e 8fcc3f7d

+8 -4
+8 -4
Documentation/devicetree/bindings/dma/allwinner,sun50i-a64-dma.yaml
··· 28 28 - items: 29 29 - const: allwinner,sun8i-r40-dma 30 30 - const: allwinner,sun50i-a64-dma 31 + - items: 32 + - const: allwinner,sun50i-h616-dma 33 + - const: allwinner,sun50i-a100-dma 31 34 32 35 reg: 33 36 maxItems: 1 ··· 62 59 if: 63 60 properties: 64 61 compatible: 65 - enum: 66 - - allwinner,sun20i-d1-dma 67 - - allwinner,sun50i-a100-dma 68 - - allwinner,sun50i-h6-dma 62 + contains: 63 + enum: 64 + - allwinner,sun20i-d1-dma 65 + - allwinner,sun50i-a100-dma 66 + - allwinner,sun50i-h6-dma 69 67 70 68 then: 71 69 properties: