Existing EDMA driver does not take care of multiple EDMA channel
controller instances. An upcoming architecture from TI has 2 EDMA
channel controller instances. This series adds support for multiple
EDMA CC instances.

With this patch, user needs to pass the EDMA channel number as
EDMA_CTLR_CHAN(ctlr, chan), through IORESOURCE_DMA resources.
The edma_alloc_channel api returns the channel number in LSB and
controller number in MSB. This return value is accepted by the
other EDMA apis.

Drivers using EDMA have to pass controller number as an argument
along with slot number required. The macros EDMA_CHAN_SLOT and
EDMA_CTLR will extract the channel/slot number and the controller
number from the value returned by edma_alloc_channel.

This series has been tested on DM644x.

-Sudhakar
_______________________________________________
Davinci-linux-open-source mailing list
[email protected]
http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source

Reply via email to