dma: ti: k3-udma: Query DMA channels allocated from Resource Manager
authorVignesh Raghavendra <vigneshr@ti.com>
Mon, 9 Dec 2019 04:55:32 +0000 (10:25 +0530)
committerLokesh Vutla <lokeshvutla@ti.com>
Mon, 20 Jan 2020 04:40:28 +0000 (10:10 +0530)
commita8837cf43839394fb16d6033641181e2309c8c2b
treedc0ea745594df09abfde01feb5be166165fcb566
parent016e6d6a4f9b2b29d9b7f65cbb44874182e277b8
dma: ti: k3-udma: Query DMA channels allocated from Resource Manager

On K3 SoCs, DMA channels are shared across multiple entities, therefore
U-Boot DMA driver needs to query resource range from centralised
resource management controller i.e SystemFirmware and use DMA channels
allocated for A72 host. Add support for the same.

Signed-off-by: Vignesh Raghavendra <vigneshr@ti.com>
Reviewed-by: Grygorii Strashko <grygorii.strashko@ti.com>
Signed-off-by: Lokesh Vutla <lokeshvutla@ti.com>
drivers/dma/ti/k3-udma.c