diff options
author | Robin Gong <yibin.gong@nxp.com> | 2021-07-14 13:20:46 +0300 |
---|---|---|
committer | Shawn Guo <shawnguo@kernel.org> | 2021-07-23 06:19:03 +0300 |
commit | a4965888e64ec927110cbf6a3c396d2355931a4a (patch) | |
tree | 433748f443c86ae3094d942b16c9ef61ec3c9c7e /drivers/dma/imx-sdma.c | |
parent | e8fafa50645c223e4b8693595c43f98a5b16fe22 (diff) | |
download | linux-a4965888e64ec927110cbf6a3c396d2355931a4a.tar.xz |
dmaengine: imx-sdma: add mcu_2_ecspi script
Add mcu_2_ecspi script to fix ecspi errata ERR009165.
Signed-off-by: Robin Gong <yibin.gong@nxp.com>
Reviewed-by: Lucas Stach <l.stach@pengutronix.de>
Acked-by: Vinod Koul <vkoul@kernel.org>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
Diffstat (limited to 'drivers/dma/imx-sdma.c')
-rw-r--r-- | drivers/dma/imx-sdma.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/dma/imx-sdma.c b/drivers/dma/imx-sdma.c index d3661981ce08..5969df8372fc 100644 --- a/drivers/dma/imx-sdma.c +++ b/drivers/dma/imx-sdma.c @@ -947,6 +947,10 @@ static void sdma_get_pc(struct sdma_channel *sdmac, emi_2_per = sdma->script_addrs->mcu_2_ata_addr; break; case IMX_DMATYPE_CSPI: + per_2_emi = sdma->script_addrs->app_2_mcu_addr; + emi_2_per = sdma->script_addrs->mcu_2_ecspi_addr; + sdmac->is_ram_script = true; + break; case IMX_DMATYPE_EXT: case IMX_DMATYPE_SSI: case IMX_DMATYPE_SAI: |