diff options
author | Sia Jee Heng <jee.heng.sia@intel.com> | 2021-01-25 02:32:46 +0100 |
---|---|---|
committer | Vinod Koul <vkoul@kernel.org> | 2021-02-01 10:38:15 +0100 |
commit | b428c6fa41125fdbba36baa92de4e439e04ccfc8 (patch) | |
tree | e5e6b21f1011f9fd598398bbc4da744921efcaf0 /drivers/ide/ide-generic.c | |
parent | dmaegine: dw-axi-dmac: Support device_prep_dma_cyclic() (diff) | |
download | linux-b428c6fa41125fdbba36baa92de4e439e04ccfc8.tar.xz linux-b428c6fa41125fdbba36baa92de4e439e04ccfc8.zip |
dmaengine: dw-axi-dmac: Support of_dma_controller_register()
Add support for of_dma_controller_register() so that DMA clients
can pass in device handshake number to the AxiDMA driver.
DMA clients shall code the device handshake number in the Device tree.
When DMA activities are needed, DMA clients shall invoke OF helper
function to pass in the device handshake number to the AxiDMA.
Without register to the of_dma_controller_register(), data transfer
between memory to device and device to memory operations would failed.
Signed-off-by: Sia Jee Heng <jee.heng.sia@intel.com>
Tested-by: Eugeniy Paltsev <Eugeniy.Paltsev@synopsys.com>
Reviewed-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Reviewed-by: Eugeniy Paltsev <Eugeniy.Paltsev@synopsys.com>
Link: https://lore.kernel.org/r/20210125013255.25799-9-jee.heng.sia@intel.com
Signed-off-by: Vinod Koul <vkoul@kernel.org>
Diffstat (limited to 'drivers/ide/ide-generic.c')
0 files changed, 0 insertions, 0 deletions