From: Miquel Raynal Date: Wed, 27 Apr 2022 09:56:51 +0000 (+0200) Subject: dmaengine: dw: Add RZN1 compatible X-Git-Tag: v6.1-rc5~1215^2~22 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=d5a8fe0fee54d830c47959f625ffc41d080ee526;p=platform%2Fkernel%2Flinux-starfive.git 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 Reviewed-by: Geert Uytterhoeven Acked-by: Andy Shevchenko Acked-By: Vinod Koul Link: https://lore.kernel.org/r/20220427095653.91804-8-miquel.raynal@bootlin.com Signed-off-by: Vinod Koul --- diff --git a/drivers/dma/dw/platform.c b/drivers/dma/dw/platform.c index 2461189..47f2292 100644 --- a/drivers/dma/dw/platform.c +++ b/drivers/dma/dw/platform.c @@ -137,6 +137,7 @@ static void dw_shutdown(struct platform_device *pdev) #ifdef CONFIG_OF static const struct of_device_id dw_dma_of_id_table[] = { { .compatible = "snps,dma-spear1340", .data = &dw_dma_chip_pdata }, + { .compatible = "renesas,rzn1-dma", .data = &dw_dma_chip_pdata }, {} }; MODULE_DEVICE_TABLE(of, dw_dma_of_id_table);