06 Feb, 2020
1 commit
-
This function name conflicts with our desire to #define free() to
something else on sandbox. Since it deals with resources, rename it to
rfree().Signed-off-by: Simon Glass
09 Dec, 2019
1 commit
-
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
Acked-by: Joe Hershberger
Reviewed-by: Grygorii Strashko
07 Dec, 2018
2 commits
-
This adds channels support for dma controllers that have multiple channels
which can transfer data to/from different devices (enet, usb...).DMA channle API:
dma_get_by_index()
dma_get_by_name()
dma_request()
dma_free()
dma_enable()
dma_disable()
dma_prepare_rcv_buf()
dma_receive()
dma_send()Reviewed-by: Tom Rini
Signed-off-by: Álvaro Fernández Rojas
[grygorii.strashko@ti.com: drop unused dma_get_by_index_platdata(),
add metadata to send/receive ops, add dma_prepare_rcv_buf(),
minor clean up]
Signed-off-by: Grygorii Strashko
Reviewed-by: Simon Glass -
Move dma_ops to a separate header file, following other uclass
implementations. While doing so, this patch also improves dma_ops
documentation.Reviewed-by: Tom Rini
Reviewed-by: Simon Glass
Signed-off-by: Álvaro Fernández Rojas
Signed-off-by: Grygorii Strashko