linux/drivers/dma/dw-edma
Serge Semin 3883d64449 dmaengine: dw-edma: Join read/write channels into a single device
There is no point in splitting read/write channels.  First of all, eDMA
read and write channels belong to one physical controller. Secondly,
channel differentiation can be done by filtering and dma_get_slave_caps().
Finally, having these channels handled separately needlessly complicates
the code and causes this debugfs warning:

  debugfs: Directory '1f052000.pcie' with parent 'dmaengine' already present!

Join the read/write channels into a single DMA device.  Client drivers can
choose the correct channel via the DMA slave direction setting. The default
value is overridden by the dw_edma_device_caps() callback in accordance
with the channel type.

Link: https://lore.kernel.org/r/20230113171409.30470-18-Sergey.Semin@baikalelectronics.ru
Tested-by: Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org>
Signed-off-by: Serge Semin <Sergey.Semin@baikalelectronics.ru>
Signed-off-by: Lorenzo Pieralisi <lpieralisi@kernel.org>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Reviewed-by: Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org>
Acked-by: Vinod Koul <vkoul@kernel.org>
2023-02-10 17:15:23 -06:00
..
dw-edma-core.c dmaengine: dw-edma: Join read/write channels into a single device 2023-02-10 17:15:23 -06:00
dw-edma-core.h dmaengine: dw-edma: Join read/write channels into a single device 2023-02-10 17:15:23 -06:00
dw-edma-pcie.c dmaengine: dw-edma: Add PCI bus address getter to the remote EP glue driver 2023-01-27 17:15:33 +01:00
dw-edma-v0-core.c pci-v5.20-changes 2022-08-04 19:30:35 -07:00
dw-edma-v0-core.h dmaengine: dw-edma: Detach the private data and chip info structures 2022-06-23 14:49:30 -05:00
dw-edma-v0-debugfs.c dmaengine: dw-edma: Move eDMA data pointer to debugfs node descriptor 2023-02-10 17:14:42 -06:00
dw-edma-v0-debugfs.h dmaengine: dw-edma: Detach the private data and chip info structures 2022-06-23 14:49:30 -05:00
dw-edma-v0-regs.h dmaengine: dw-edma: Fix comments offset characters' alignment 2021-03-16 22:58:52 +05:30
Kconfig dmaengine: dw-edma: Fix build error without CONFIG_PCI_MSI 2019-06-12 10:22:02 +05:30
Makefile dmaengine: Add Synopsys eDMA IP PCIe glue-logic 2019-06-10 13:10:39 +05:30