]> git.dujemihanovic.xyz Git - u-boot.git/commit
dma: ti: k3-udma: Add support for native configuration of chan/flow
authorVignesh Raghavendra <vigneshr@ti.com>
Mon, 7 Jun 2021 14:17:53 +0000 (19:47 +0530)
committerLokesh Vutla <lokeshvutla@ti.com>
Fri, 11 Jun 2021 13:48:52 +0000 (19:18 +0530)
commit5abb694d6016eaf497c3d9a3ec79382e217e7508
tree934108a106980e6688a8b71daf6a576bce6f6dd9
parent86e58800fd7cdba4fa9229aeee3a54a2ccece406
dma: ti: k3-udma: Add support for native configuration of chan/flow

In absence of Device Manager (DM) services such as at R5 SPL stage,
driver will have to natively setup TCHAN/RCHAN/RFLOW cfg registers.
Add support for the same.

Note that we still need to send chan/flow cfg message to TIFS via TISCI
client driver in order to open up firewalls around chan/flow but setting
up of cfg registers is handled locally.

U-Boot specific code is in a separate file included in main driver so
as to maintain similarity with kernel driver in order to ease porting of
code in future.

Signed-off-by: Vignesh Raghavendra <vigneshr@ti.com>
Signed-off-by: Lokesh Vutla <lokeshvutla@ti.com>
Link: https://lore.kernel.org/r/20210607141753.28796-8-vigneshr@ti.com
drivers/dma/ti/k3-udma-u-boot.c [new file with mode: 0644]
drivers/dma/ti/k3-udma.c