Message ID | 20220222103437.194779-7-miquel.raynal@bootlin.com (mailing list archive) |
---|---|
State | Superseded |
Delegated to: | Geert Uytterhoeven |
Headers | show |
Series | RZN1 DMA support | expand |
Hi Miquel, On Tue, Feb 22, 2022 at 11:35 AM Miquel Raynal <miquel.raynal@bootlin.com> wrote: > The Renesas RZN1 DMA IP is very close to the original DW DMA IP, a DMA > routeur has been introduced to handle the wiring options that have been router > added. > > Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com> LGTM, so Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be> > --- 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 }, I don't like all these copies of dw_dma_chip_pdata, due to it being defined in drivers/dma/dw/internal.h, but that's a pre-existing problem. > {} Gr{oetje,eeting}s, Geert -- Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org In personal conversations with technical people, I call myself a hacker. But when I'm talking to journalists I just say "programmer" or something like that. -- Linus Torvalds
diff --git a/drivers/dma/dw/platform.c b/drivers/dma/dw/platform.c index 246118955877..47f2292dba98 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);
The Renesas RZN1 DMA IP is very close to the original DW DMA IP, a DMA routeur has been introduced to handle the wiring options that have been added. Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com> --- drivers/dma/dw/platform.c | 1 + 1 file changed, 1 insertion(+)