Skip to content

Commit

Permalink
dmaengine: usb-dmac: Add Renesas USB DMA Controller (USB-DMAC) driver
Browse files Browse the repository at this point in the history
This DMAC is Renesas USB high-speed module DMA controller that
supports slave transfer.

This USB-DMAC has similar register sets with R-Car Gen2 DMAC, but
the USB-DMAC has specific registers to control the USB transactions.
If this code is added into the rcar-dmac driver, it will become
unreadable. So, this driver is independent from the rcar-dmac.

And, this USB-DMAC uses virt-dma infrastructure.

Signed-off-by: Yoshihiro Shimoda <yoshihiro.shimoda.uh@renesas.com>
Signed-off-by: Vinod Koul <vinod.koul@intel.com>
  • Loading branch information
Yoshihiro Shimoda authored and Vinod Koul committed Apr 2, 2015
1 parent a726783 commit 0c1c8ff
Show file tree
Hide file tree
Showing 3 changed files with 920 additions and 0 deletions.
9 changes: 9 additions & 0 deletions drivers/dma/sh/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -64,3 +64,12 @@ config RCAR_DMAC
help
This driver supports the general purpose DMA controller found in the
Renesas R-Car second generation SoCs.

config RENESAS_USB_DMAC
tristate "Renesas USB-DMA Controller"
depends on ARCH_SHMOBILE || COMPILE_TEST
select RENESAS_DMA
select DMA_VIRTUAL_CHANNELS
help
This driver supports the USB-DMA controller found in the Renesas
SoCs.
1 change: 1 addition & 0 deletions drivers/dma/sh/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -17,3 +17,4 @@ obj-$(CONFIG_SUDMAC) += sudmac.o
obj-$(CONFIG_RCAR_HPB_DMAE) += rcar-hpbdma.o
obj-$(CONFIG_RCAR_AUDMAC_PP) += rcar-audmapp.o
obj-$(CONFIG_RCAR_DMAC) += rcar-dmac.o
obj-$(CONFIG_RENESAS_USB_DMAC) += usb-dmac.o
Loading

0 comments on commit 0c1c8ff

Please sign in to comment.