dmaengine: xilinx_dma: Pass AXI4-Stream control words to dma client
authorRadhey Shyam Pandey <radhey.shyam.pandey@amd.com>
Mon, 7 Aug 2023 05:51:42 +0000 (11:21 +0530)
committerVinod Koul <vkoul@kernel.org>
Mon, 21 Aug 2023 13:10:36 +0000 (18:40 +0530)
commitd8a3f65f6c1de1028b9af6ca31d9dd3738fda97e
treeb2f589634eb2663dc993474d3d8b1b428a129c13
parente8cfa385054c6aa7ae8dd743d8ea980039a0fc0b
dmaengine: xilinx_dma: Pass AXI4-Stream control words to dma client

Read DT property to check if AXI DMA is connected to streaming IP
i.e axiethernet. If connected i.e xlnx,axistream-connected property
is present in the dma node then pass AXI4-Stream control words to dma
client using metadata_ops dmaengine API.

If not connected then driver won't support metadata_ops dmaengine API
and continue to support all legacy usecases.

Signed-off-by: Radhey Shyam Pandey <radhey.shyam.pandey@amd.com>
Link: https://lore.kernel.org/r/1691387509-2113129-4-git-send-email-radhey.shyam.pandey@amd.com
Signed-off-by: Vinod Koul <vkoul@kernel.org>
drivers/dma/xilinx/xilinx_dma.c