summaryrefslogtreecommitdiffstats
path: root/drivers/spi/spi-orion.c
diff options
context:
space:
mode:
authorRobin Gong <b38343@freescale.com>2014-09-11 03:18:44 +0200
committerMark Brown <broonie@kernel.org>2014-09-17 20:36:11 +0200
commitf62caccd12c17e4cb516d43a6e4dd8a3abc1f7e0 (patch)
tree491f4802a391e3bc04b80f2fbd6ddcd2d2bf7a94 /drivers/spi/spi-orion.c
parentLinux 3.17-rc1 (diff)
downloadlinux-f62caccd12c17e4cb516d43a6e4dd8a3abc1f7e0.tar.xz
linux-f62caccd12c17e4cb516d43a6e4dd8a3abc1f7e0.zip
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 <Frank.Li@freescale.com> Signed-off-by: Robin Gong <b38343@freescale.com> Acked-by: Marek Vasut <marex@denx.de> Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'drivers/spi/spi-orion.c')
0 files changed, 0 insertions, 0 deletions