]> git.baikalelectronics.ru Git - uboot.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)
commit44804f39bd7db4ccbe64560e7a283f1b409454a3
tree934108a106980e6688a8b71daf6a576bce6f6dd9
parent25a21ffeda6b672ba139446c8bcbe28bc8c08fa9
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