dma: Add Synopsys eDMA IP core driver
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_EDMAoption in kernel configuration, however it requires and selects automaticallyDMA_ENGINEandDMA_VIRTUAL_CHANNELSoption too.Signed-off-by Gustavo Pimentel <[email protected]>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.