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

dmaengine: dw: Add RZN1 compatible

The Renesas RZN1 DMA IP is very close to the original DW DMA IP, a DMA
router has been introduced to handle the wiring options that have been
added.

Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com>
Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>
Acked-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Acked-By: Vinod Koul <vkoul@kernel.org>
Link: https://lore.kernel.org/r/20220427095653.91804-8-miquel.raynal@bootlin.com
Signed-off-by: Vinod Koul <vkoul@kernel.org>

authored by

Miquel Raynal and committed by
Vinod Koul
d5a8fe0f 2182066d

+1
+1
drivers/dma/dw/platform.c
··· 137 137 #ifdef CONFIG_OF 138 138 static const struct of_device_id dw_dma_of_id_table[] = { 139 139 { .compatible = "snps,dma-spear1340", .data = &dw_dma_chip_pdata }, 140 + { .compatible = "renesas,rzn1-dma", .data = &dw_dma_chip_pdata }, 140 141 {} 141 142 }; 142 143 MODULE_DEVICE_TABLE(of, dw_dma_of_id_table);