summaryrefslogtreecommitdiffstats
path: root/drivers/dma/ptdma/Makefile
diff options
context:
space:
mode:
authorSanjay R Mehta <sanju.mehta@amd.com>2021-08-17 08:55:57 -0500
committerVinod Koul <vkoul@kernel.org>2021-08-29 19:14:20 +0530
commitfa5d823b16a9442d609617abeec31da8b6afa224 (patch)
treec191216afce830d2b9ac2d53aaf6b7a750661ebe /drivers/dma/ptdma/Makefile
parent64d57d2c64e56ceac85554cd0f653ca3a12aaa9a (diff)
downloadlinux-stable-fa5d823b16a9442d609617abeec31da8b6afa224.tar.gz
linux-stable-fa5d823b16a9442d609617abeec31da8b6afa224.tar.bz2
linux-stable-fa5d823b16a9442d609617abeec31da8b6afa224.zip
dmaengine: ptdma: Initial driver for the AMD PTDMA
Add support for AMD PTDMA controller. It performs high-bandwidth memory to memory and IO copy operation. Device commands are managed via a circular queue of 'descriptors', each of which specifies source and destination addresses for copying a single buffer of data. Signed-off-by: Sanjay R Mehta <sanju.mehta@amd.com> Link: https://lore.kernel.org/r/1629208559-51964-2-git-send-email-Sanju.Mehta@amd.com Signed-off-by: Vinod Koul <vkoul@kernel.org>
Diffstat (limited to 'drivers/dma/ptdma/Makefile')
-rw-r--r--drivers/dma/ptdma/Makefile10
1 files changed, 10 insertions, 0 deletions
diff --git a/drivers/dma/ptdma/Makefile b/drivers/dma/ptdma/Makefile
new file mode 100644
index 000000000000..320fa82373ed
--- /dev/null
+++ b/drivers/dma/ptdma/Makefile
@@ -0,0 +1,10 @@
+# SPDX-License-Identifier: GPL-2.0-only
+#
+# AMD Passthru DMA driver
+#
+
+obj-$(CONFIG_AMD_PTDMA) += ptdma.o
+
+ptdma-objs := ptdma-dev.o
+
+ptdma-$(CONFIG_PCI) += ptdma-pci.o