Skip to content

Commit

Permalink
ddma: phytium: Add DDMA controller driver support
Browse files Browse the repository at this point in the history
This patch provides DDMA (DEVICE DMA) support mainly for DMA transmission on low-speed devices, such as UART/SPI.

Signed-off-by: Li Guohui <liguohui2061@phytium.com.cn>
Signed-off-by: Liu Tianyu <liutianyu1250@phytium.com.cn>
Signed-off-by: Lan Hengyu <lanhengyu1395@phytium.com.cn>
Signed-off-by: Li Mingzhe <limingzhe1839@phytium.com.cn>
Signed-off-by: Wang Yinfeng <wangyinfeng@phytium.com.cn>
  • Loading branch information
hhhui-L committed May 14, 2024
1 parent 5d0a426 commit 74d80f2
Show file tree
Hide file tree
Showing 5 changed files with 1,138 additions and 0 deletions.
8 changes: 8 additions & 0 deletions drivers/dma/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -733,6 +733,14 @@ config XILINX_ZYNQMP_DPDMA
driver provides the dmaengine required by the DisplayPort subsystem
display driver.

config PHYTIUM_DDMA
bool "Phytium PE220x DDMA support"
depends on (ARCH_PHYTIUM || COMPILE_TEST)
select DMA_ENGINE
select DMA_VIRTUAL_CHANNELS
help
Enable support for Phytium PE220x DDMA controller.

# driver files
source "drivers/dma/bestcomm/Kconfig"

Expand Down
1 change: 1 addition & 0 deletions drivers/dma/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -87,3 +87,4 @@ obj-y += mediatek/
obj-y += qcom/
obj-y += ti/
obj-y += xilinx/
obj-y += phytium/
1 change: 1 addition & 0 deletions drivers/dma/phytium/Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
obj-$(CONFIG_PHYTIUM_DDMA) += phytium-ddmac.o
Loading

0 comments on commit 74d80f2

Please sign in to comment.