dmaengine: imx-sdma: Add support for version 3 firmware
authorFabio Estevam <fabio.estevam@freescale.com>
Wed, 11 Mar 2015 15:30:58 +0000 (12:30 -0300)
committerVinod Koul <vinod.koul@intel.com>
Wed, 18 Mar 2015 08:23:33 +0000 (13:53 +0530)
commita572460be9cfb423c60275943f7921003b8cd372
tree87cd4ec32923fc47b0e66a7a12623ed75174c69e
parent937abe88aea3161cd3a563e577fc9cf4522c7aad
dmaengine: imx-sdma: Add support for version 3 firmware

Currently when version 3.1 of the mx6q SDMA firmware is used we get:

[    0.392169] imx-sdma 20ec000.sdma: unknown firmware version
[    0.399281] imx-sdma 20ec000.sdma: initialized

Add support for it.

Based on a patch from Shengjiu Wang from the internal FSL kernel.

Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
Signed-off-by: Vinod Koul <vinod.koul@intel.com>
drivers/dma/imx-sdma.c
include/linux/platform_data/dma-imx-sdma.h