dmaengine: ti: k3-udma-glue: Add support for K3 PKTDMA
authorVignesh Raghavendra <vigneshr@ti.com>
Tue, 8 Dec 2020 09:04:40 +0000 (11:04 +0200)
committerVinod Koul <vkoul@kernel.org>
Fri, 11 Dec 2020 15:50:10 +0000 (21:20 +0530)
commit5b65781d06ea90ef2f8e51a13352c43c3daa8cdc
treecdacaaea886695971b4db7a968e893e1c7b354b7
parentd2abc982333c02f9e1ff1c6b3782174f5b7662d7
dmaengine: ti: k3-udma-glue: Add support for K3 PKTDMA

This commit adds support for PKTDMA in k3-udma glue driver. Use new
psil_endpoint_config struct to get static data for a given channel or a
flow during setup.  Make sure that the RX flows being mapped to a RX
channel is within the range of flows that is been allocated to that RX
channel.

Signed-off-by: Vignesh Raghavendra <vigneshr@ti.com>
Signed-off-by: Peter Ujfalusi <peter.ujfalusi@ti.com>
Link: https://lore.kernel.org/r/20201208090440.31792-21-peter.ujfalusi@ti.com
Signed-off-by: Vinod Koul <vkoul@kernel.org>
drivers/dma/ti/k3-udma-glue.c
drivers/dma/ti/k3-udma-private.c
drivers/dma/ti/k3-udma.h
include/linux/dma/k3-udma-glue.h