Re: [U-Boot] [PATCH v6 2/5] dma: add channels support

2018-11-02 Thread Tom Rini
On Mon, Oct 22, 2018 at 04:24:57PM -0500, Grygorii Strashko wrote: > From: Álvaro Fernández Rojas > > This adds channels support for dma controllers that have multiple channels > which can transfer data to/from different devices (enet, usb...). > > DMA channel API: > dma_get_by_index() > dma_

[U-Boot] [PATCH v6 2/5] dma: add channels support

2018-10-22 Thread Grygorii Strashko
From: Álvaro Fernández Rojas This adds channels support for dma controllers that have multiple channels which can transfer data to/from different devices (enet, usb...). DMA channel API: dma_get_by_index() dma_get_by_name() dma_request() dma_free() dma_enable() dma_disable() dma_prepare_r