Skip to content

Commit 7cbb0c6

Browse files
xlnx-hyunkwonvinodkoul
authored andcommitted
dmaengine: xilinx: dpdma: Add the Xilinx DisplayPort DMA engine driver
The ZynqMP DisplayPort subsystem includes a DMA engine called DPDMA with 6 DMa channels (4 for display and 2 for audio). This driver exposes the DPDMA through the dmaengine API, to be used by audio (ALSA) and display (DRM) drivers for the DisplayPort subsystem. Signed-off-by: Hyun Kwon <[email protected]> Signed-off-by: Tejas Upadhyay <[email protected]> Signed-off-by: Michal Simek <[email protected]> Signed-off-by: Laurent Pinchart <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Vinod Koul <[email protected]>
1 parent 9c8ebd8 commit 7cbb0c6

File tree

4 files changed

+1545
-0
lines changed

4 files changed

+1545
-0
lines changed

MAINTAINERS

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18858,6 +18858,7 @@ M: Laurent Pinchart <[email protected]>
1885818858
1885918859
S: Supported
1886018860
F: Documentation/devicetree/bindings/dma/xilinx/xlnx,zynqmp-dpdma.yaml
18861+
F: drivers/dma/xilinx/xilinx_dpdma.c
1886118862
F: include/dt-bindings/dma/xlnx-zynqmp-dpdma.h
1886218863

1886318864
XILLYBUS DRIVER

drivers/dma/Kconfig

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -707,6 +707,16 @@ config XILINX_ZYNQMP_DMA
707707
help
708708
Enable support for Xilinx ZynqMP DMA controller.
709709

710+
config XILINX_ZYNQMP_DPDMA
711+
tristate "Xilinx DPDMA Engine"
712+
select DMA_ENGINE
713+
select DMA_VIRTUAL_CHANNELS
714+
help
715+
Enable support for Xilinx ZynqMP DisplayPort DMA. Choose this option
716+
if you have a Xilinx ZynqMP SoC with a DisplayPort subsystem. The
717+
driver provides the dmaengine required by the DisplayPort subsystem
718+
display driver.
719+
710720
config ZX_DMA
711721
tristate "ZTE ZX DMA support"
712722
depends on ARCH_ZX || COMPILE_TEST

drivers/dma/xilinx/Makefile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
11
# SPDX-License-Identifier: GPL-2.0-only
22
obj-$(CONFIG_XILINX_DMA) += xilinx_dma.o
33
obj-$(CONFIG_XILINX_ZYNQMP_DMA) += zynqmp_dma.o
4+
obj-$(CONFIG_XILINX_ZYNQMP_DPDMA) += xilinx_dpdma.o

0 commit comments

Comments
 (0)