]> git.ipfire.org Git - thirdparty/kernel/stable.git/commitdiff
dt-bindings: dma: allwinner,sun50i-a64-dma: Add compatibles for A523
authorChen-Yu Tsai <wens@kernel.org>
Mon, 27 Oct 2025 12:56:42 +0000 (20:56 +0800)
committerChen-Yu Tsai <wens@kernel.org>
Tue, 28 Oct 2025 17:07:33 +0000 (01:07 +0800)
There are two DMA controllers on the A523, one in the main system area
and the other for the MCU. These 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 new A523-specific compatible strings and
fallback to the A100 one.

Acked-by: Conor Dooley <conor.dooley@microchip.com>
Link: https://patch.msgid.link/20251027125655.793277-2-wens@kernel.org
Signed-off-by: Chen-Yu Tsai <wens@kernel.org>
Documentation/devicetree/bindings/dma/allwinner,sun50i-a64-dma.yaml

index 0f2501f72ccace37c5d4f046b41cab597b367699..c3e14eb6cfff93f2005afbe06f870e04146e1e43 100644 (file)
@@ -29,7 +29,10 @@ properties:
           - const: allwinner,sun8i-r40-dma
           - const: allwinner,sun50i-a64-dma
       - items:
-          - const: allwinner,sun50i-h616-dma
+          - enum:
+              - allwinner,sun50i-h616-dma
+              - allwinner,sun55i-a523-dma
+              - allwinner,sun55i-a523-mcu-dma
           - const: allwinner,sun50i-a100-dma
 
   reg: