]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
dmaengine: dw-axi-dmac: Add support for CV1800B DMA
authorInochi Amaoto <inochiama@gmail.com>
Tue, 20 Jan 2026 01:37:04 +0000 (09:37 +0800)
committerVinod Koul <vkoul@kernel.org>
Thu, 26 Feb 2026 15:30:01 +0000 (21:00 +0530)
commitb49c70273801bf2f7c16ac49f403a5c253b46159
tree7474c163cf39bf32786d2b24b693a325274f67f4
parentbe3e2a0419c639b6a192141639259a4d34556dd0
dmaengine: dw-axi-dmac: Add support for CV1800B DMA

As the DMA controller on Sophgo CV1800 series SoC only has 8 channels,
the SoC provides a dma multiplexer to reuse the DMA channel. However,
the dma multiplexer also controls the DMA interrupt multiplexer, which
means that the dma multiplexer needs to know the channel number.

Allow the driver to use DMA phandle args as the channel number, so the
DMA multiplexer can route the DMA interrupt correctly.

Signed-off-by: Inochi Amaoto <inochiama@gmail.com>
Reviewed-by: Frank Li <Frank.Li@nxp.com>
Link: https://patch.msgid.link/20260120013706.436742-3-inochiama@gmail.com
Signed-off-by: Vinod Koul <vkoul@kernel.org>
drivers/dma/dw-axi-dmac/dw-axi-dmac-platform.c
drivers/dma/dw-axi-dmac/dw-axi-dmac.h