Re: [PATCH RFC v12 5/7] dma: of: add common xlate function for matching by channel id

2014-05-02 Thread Vinod Koul
On Wed, Apr 23, 2014 at 05:53:27PM +0400, Alexander Popov wrote: > This patch adds a new common OF dma xlate callback function which will match a > channel by it's id. The binding expects one integer argument which it will > use to > lookup the channel by the id. > > Unlike of_dma_simple_xlate th

[PATCH RFC v12 5/7] dma: of: add common xlate function for matching by channel id

2014-04-23 Thread Alexander Popov
This patch adds a new common OF dma xlate callback function which will match a channel by it's id. The binding expects one integer argument which it will use to lookup the channel by the id. Unlike of_dma_simple_xlate this function is able to handle a system with multiple DMA controllers. When re