]> git.dujemihanovic.xyz Git - u-boot.git/commit
dma: Introduce dma_get_cfg() interface
authorVignesh Raghavendra <vigneshr@ti.com>
Wed, 4 Dec 2019 16:47:20 +0000 (22:17 +0530)
committerJoe Hershberger <joe.hershberger@ni.com>
Mon, 9 Dec 2019 15:47:43 +0000 (09:47 -0600)
commitb8a4dd28f3b719d176fed5dc8d23a898463b072c
tree24165070b5a39e8a4a63d5e11a5673815bcf6af3
parent08b3e90a0168c9053c9bdd7df5d187cb6668a4c6
dma: Introduce dma_get_cfg() interface

Sometimes, there would be a need to exchange data between DMA provider
and DMA client which are very specific to DMA driver of the SoC/platform
and are not generic enough to be put into struct dma. Therefore, introduce
dma_get_cfg() interface to get DMA provider specific data from client
device. Clients can use unique configuration ID flags to get different
configuration data from DMA driver.

Signed-off-by: Vignesh Raghavendra <vigneshr@ti.com>
Acked-by: Joe Hershberger <joe.hershberger@ni.com>
Reviewed-by: Grygorii Strashko <grygorii.strashko@ti.com>
drivers/dma/dma-uclass.c
include/dma-uclass.h
include/dma.h