]> git.baikalelectronics.ru Git - kernel.git/commit
dmaengine: dw-edma: Add support for chip-specific flags
authorFrank Li <Frank.Li@nxp.com>
Tue, 24 May 2022 15:21:58 +0000 (10:21 -0500)
committerBjorn Helgaas <bhelgaas@google.com>
Thu, 23 Jun 2022 19:56:34 +0000 (14:56 -0500)
commit575d134dee06e4d8658a772d66031099af4f6ef1
treef0312c58ae1ca605751f44e9a3e789f79f07e626
parentd26d158d9cba11e9ad3dabf4ad1e629ea0ec749f
dmaengine: dw-edma: Add support for chip-specific flags

Add a "flags" field to the "struct dw_edma_chip" so that the controller
drivers can pass flags that are relevant to the platform.

DW_EDMA_CHIP_LOCAL - Used by the controller drivers accessing eDMA
locally. Local eDMA access doesn't require generating MSIs to the remote.

Link: https://lore.kernel.org/r/20220524152159.2370739-8-Frank.Li@nxp.com
Tested-by: Serge Semin <fancer.lancer@gmail.com>
Tested-by: Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org>
Signed-off-by: Frank Li <Frank.Li@nxp.com>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Reviewed-by: Serge Semin <fancer.lancer@gmail.com>
Reviewed-by: Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org>
Acked-By: Vinod Koul <vkoul@kernel.org>
drivers/dma/dw-edma/dw-edma-v0-core.c
include/linux/dma/edma.h