[U-Boot] [U-Boot,v9,2/3] dma: add channels support

Tom Rini
2018-12-07T20:33:37Z

On Wed, Nov 28, 2018 at 07:17:50PM +0100, Álvaro Fernández Rojas wrote:

> 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 <trini@konsulko.com>
> Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
> [grygorii.strashko at 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 <grygorii.strashko@ti.com>
> Reviewed-by: Simon Glass <sjg@chromium.org>

Applied to u-boot/master, thanks!

--
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20181207/7e554157/attachment.sig>