[PATCH v5] spi: spi-imx: add DMA support
arnd at arndb.de
Wed Sep 10 01:17:14 PDT 2014
On Wednesday 10 September 2014 09:30:04 Robin Gong wrote:
> 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.
> 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
> Signed-off-by: Frank Li <Frank.Li at freescale.com>
> Signed-off-by: Robin Gong <b38343 at freescale.com>
The patch looks good to me, but you need to also update the
Documentation/devicetree/bindings/spi/fsl-imx-cspi.txt file to
document the additional optional properties.
More information about the linux-arm-kernel