From: Peter Ujfalusi Date: Fri, 16 May 2014 12:17:15 +0000 (+0300) Subject: ARM: edma: Get IP configuration from HW (number of channels, tc, etc) X-Git-Tag: omap-for-v3.16/fixes-against-rc1~39^2~40^2~4^2~5 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6d10c3950bf4d42a5bd28bfd7572834225acb031;p=pandora-kernel.git ARM: edma: Get IP configuration from HW (number of channels, tc, etc) From CCCFG register of eDMA3 we can get all the needed information for the driver about the IP: Number of channels: NUM_DMACH Number of regions: NUM_REGN Number of slots (PaRAM sets): NUM_PAENTRY Number of TC/EQ: NUM_EVQUE In case when booted with DT or the queue_priority_mapping is not provided set up a default priority map. Signed-off-by: Peter Ujfalusi Acked-by: Joel Fernandes Signed-off-by: Sekhar Nori --- Reading git-diff-tree failed