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 <[email protected]>
Signed-off-by: Liu Tianyu <[email protected]>
Signed-off-by: Lan Hengyu <[email protected]>
Signed-off-by: Li Mingzhe <[email protected]>
Signed-off-by: Wang Yinfeng <[email protected]>
  • Loading branch information
hhhui-L authored and MingcongBai committed May 29, 2024
1 parent 67ac0b9 commit e0a169d
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 @@ -747,6 +747,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 @@ -88,3 +88,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 e0a169d

Please sign in to comment.