dmaengine: dw: dmamux: Introduce RZN1 DMA router support
authorMiquel Raynal <miquel.raynal@bootlin.com>
Wed, 27 Apr 2022 09:56:49 +0000 (11:56 +0200)
committerVinod Koul <vkoul@kernel.org>
Thu, 19 May 2022 17:04:51 +0000 (22:34 +0530)
commit134d9c52fca26d2d199516e915da00f0cc6adc73
treeb82f45ebe8b900a9c65349a93efba2a3b5aa7388
parent885525c1e7e27ea6207d648a8db20dfbbd9e4238
dmaengine: dw: dmamux: Introduce RZN1 DMA router support

The Renesas RZN1 DMA IP is based on a DW core, with eg. an additional
dmamux register located in the system control area which can take up to
32 requests (16 per DMA controller). Each DMA channel can be wired to
two different peripherals.

We need two additional information from the 'dmas' property: the channel
(bit in the dmamux register) that must be accessed and the value of the
mux for this channel.

Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com>
Reviewed-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Reviewed-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com>
Link: https://lore.kernel.org/r/20220427095653.91804-6-miquel.raynal@bootlin.com
Signed-off-by: Vinod Koul <vkoul@kernel.org>
drivers/dma/dw/Kconfig
drivers/dma/dw/Makefile
drivers/dma/dw/rzn1-dmamux.c [new file with mode: 0644]