Skip to content

Commit 5000d37

Browse files
bijudasvinodkoul
authored andcommitted
dmaengine: sh: Add DMAC driver for RZ/G2L SoC
Add DMA Controller driver for RZ/G2L SoC. Based on the work done by Chris Brandt for RZ/A DMA driver. Signed-off-by: Biju Das <[email protected]> Reviewed-by: Lad Prabhakar <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Vinod Koul <[email protected]>
1 parent ab959c7 commit 5000d37

File tree

3 files changed

+981
-0
lines changed

3 files changed

+981
-0
lines changed

drivers/dma/sh/Kconfig

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,3 +47,12 @@ config RENESAS_USB_DMAC
4747
help
4848
This driver supports the USB-DMA controller found in the Renesas
4949
SoCs.
50+
51+
config RZ_DMAC
52+
tristate "Renesas RZ/G2L DMA Controller"
53+
depends on ARCH_R9A07G044 || COMPILE_TEST
54+
select RENESAS_DMA
55+
select DMA_VIRTUAL_CHANNELS
56+
help
57+
This driver supports the general purpose DMA controller found in the
58+
Renesas RZ/G2L SoC variants.

drivers/dma/sh/Makefile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,3 +15,4 @@ obj-$(CONFIG_SH_DMAE) += shdma.o
1515

1616
obj-$(CONFIG_RCAR_DMAC) += rcar-dmac.o
1717
obj-$(CONFIG_RENESAS_USB_DMAC) += usb-dmac.o
18+
obj-$(CONFIG_RZ_DMAC) += rz-dmac.o

0 commit comments

Comments
 (0)