Skip to contentSkip to conversation

dma: Add Synopsys eDMA IP core driver

RFC New Bjorn Helgaas 1 participant 1 message Dec 12, 2018

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

RFC 1/6 dma: Add Synopsys eDMA IP core driver

Quoted 23 lines · Gustavo Pimentel

Add Synopsys eDMA IP core driver to kernel.

This core driver, initializes and configures the eDMA IP using vma-helpers functions and dma-engine subsystem.

Also creates an abstration layer through callbacks allowing different registers mappings in the future, organized in to versions.

This driver can be compile as built-in or external module in kernel.

To enable this driver just select DW_EDMA option in kernel configuration, however it requires and selects automatically DMA_ENGINE and DMA_VIRTUAL_CHANNELS option too.

Cc Vinod Koul <[email protected]>
Cc Eugeniy Paltsev <[email protected]>
Cc Andy Shevchenko <[email protected]>
Cc Joao Pinto <[email protected]>

drivers/dma/dw-edma/dw-edma-core.c line 3

Quoted 3 lines
drivers/dma/dw-edma/dw-edma-core.c new file +3 -0
@@ -0,0 +1,925 @@
+// SPDX-License-Identifier: GPL-2.0
+// Copyright (c) 2018 Synopsys, Inc. and/or its affiliates.
+// Synopsys DesignWare eDMA core driver

The SPDX line in .c files needs the // comment for some obscure reason I can't remember, but based on the other drivers/dma/*.c files, it looks like the convention is the usual /* .. */ comments for the rest.

I think the SPDX line is /* */ in .h files though. The rules are under Documentation/ somewhere.