From: Robin Gong Date: Thu, 11 Sep 2014 01:18:44 +0000 (+0800) Subject: spi: spi-imx: add DMA support X-Git-Tag: fixes-for-v3.18-merge-window~30^2~2^3 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f62caccd12c17e4cb516d43a6e4dd8a3abc1f7e0;p=pandora-kernel.git spi: spi-imx: add DMA support Enable DMA support on i.mx6. The read speed can increase from 600KB/s to 1.2MB/s on i.mx6q. You can disable or enable dma function in dts. If not set "dma-names" in dts, spi will use PIO mode. This patch only validate on i.mx6, not i.mx5, but encourage ones to apply this patch on i.mx5 since they share the same IP. Note: Sometime, there is a weid data in rxfifo after one full tx/rx transfer finish by DMA on i.mx6dl, so we disable dma functhion on i.mx6dl. Signed-off-by: Frank Li Signed-off-by: Robin Gong Acked-by: Marek Vasut Signed-off-by: Mark Brown --- Reading git-diff-tree failed