Skip to content

Commit 32e74aa

Browse files
masahir0yvinodkoul
authored andcommitted
dmaengine: uniphier-mdmac: add UniPhier MIO DMAC driver
The MIO DMAC (Media IO DMA Controller) is used in UniPhier LD4, Pro4, and sLD8 SoCs. Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com> Signed-off-by: Vinod Koul <vkoul@kernel.org>
1 parent eeea814 commit 32e74aa

File tree

4 files changed

+519
-0
lines changed

4 files changed

+519
-0
lines changed

MAINTAINERS

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2256,6 +2256,7 @@ F: arch/arm/mm/cache-uniphier.c
22562256
F: arch/arm64/boot/dts/socionext/uniphier*
22572257
F: drivers/bus/uniphier-system-bus.c
22582258
F: drivers/clk/uniphier/
2259+
F: drivers/dmaengine/uniphier-mdmac.c
22592260
F: drivers/gpio/gpio-uniphier.c
22602261
F: drivers/i2c/busses/i2c-uniphier*
22612262
F: drivers/irqchip/irq-uniphier-aidet.c

drivers/dma/Kconfig

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -587,6 +587,17 @@ config TIMB_DMA
587587
help
588588
Enable support for the Timberdale FPGA DMA engine.
589589

590+
config UNIPHIER_MDMAC
591+
tristate "UniPhier MIO DMAC"
592+
depends on ARCH_UNIPHIER || COMPILE_TEST
593+
depends on OF
594+
select DMA_ENGINE
595+
select DMA_VIRTUAL_CHANNELS
596+
help
597+
Enable support for the MIO DMAC (Media I/O DMA controller) on the
598+
UniPhier platform. This DMA controller is used as the external
599+
DMA engine of the SD/eMMC controllers of the LD4, Pro4, sLD8 SoCs.
600+
590601
config XGENE_DMA
591602
tristate "APM X-Gene DMA support"
592603
depends on ARCH_XGENE || COMPILE_TEST

drivers/dma/Makefile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,7 @@ obj-$(CONFIG_TXX9_DMAC) += txx9dmac.o
7070
obj-$(CONFIG_TEGRA20_APB_DMA) += tegra20-apb-dma.o
7171
obj-$(CONFIG_TEGRA210_ADMA) += tegra210-adma.o
7272
obj-$(CONFIG_TIMB_DMA) += timb_dma.o
73+
obj-$(CONFIG_UNIPHIER_MDMAC) += uniphier-mdmac.o
7374
obj-$(CONFIG_XGENE_DMA) += xgene-dma.o
7475
obj-$(CONFIG_ZX_DMA) += zx_dma.o
7576
obj-$(CONFIG_ST_FDMA) += st_fdma.o

0 commit comments

Comments
 (0)