Commit 394e1fb8 authored by Robin Gong's avatar Robin Gong Committed by Shawn Guo

Revert "ARM: dts: imx6: Use correct SDMA script for SPI cores"

There are two ways for SDMA accessing SPBA devices: one is SDMA->AIPS
->SPBA(masterA port), another is SDMA->SPBA(masterC port). Please refer
to the 'Figure 58-1. i.MX 6Dual/6Quad SPBA connectivity' of i.mx6DQ
Reference Manual. SDMA provide the corresponding app_2_mcu/mcu_2_app and
shp_2_mcu/mcu_2_shp script for such two options. So both AIPS and SPBA
scripts should keep the same behaviour, the issue only caught in AIPS
script sounds not solide.
The issue is more likely as the ecspi errata
ERR009165(http://www.nxp.com/docs/en/errata/IMX6DQCE.pdf):
eCSPI: TXFIFO empty flag glitch can cause the current FIFO transfer to
           be sent twice
So revert commit 'dd4b487b' firstly.
Signed-off-by: default avatarRobin Gong <yibin.gong@nxp.com>
Acked-by: default avatarSascha Hauer <s.hauer@pengutronix.de>
Signed-off-by: default avatarShawn Guo <shawnguo@kernel.org>
parent affd9bfa
...@@ -334,7 +334,7 @@ ecspi1: spi@2008000 { ...@@ -334,7 +334,7 @@ ecspi1: spi@2008000 {
clocks = <&clks IMX6QDL_CLK_ECSPI1>, clocks = <&clks IMX6QDL_CLK_ECSPI1>,
<&clks IMX6QDL_CLK_ECSPI1>; <&clks IMX6QDL_CLK_ECSPI1>;
clock-names = "ipg", "per"; clock-names = "ipg", "per";
dmas = <&sdma 3 8 1>, <&sdma 4 8 2>; dmas = <&sdma 3 7 1>, <&sdma 4 7 2>;
dma-names = "rx", "tx"; dma-names = "rx", "tx";
status = "disabled"; status = "disabled";
}; };
...@@ -348,7 +348,7 @@ ecspi2: spi@200c000 { ...@@ -348,7 +348,7 @@ ecspi2: spi@200c000 {
clocks = <&clks IMX6QDL_CLK_ECSPI2>, clocks = <&clks IMX6QDL_CLK_ECSPI2>,
<&clks IMX6QDL_CLK_ECSPI2>; <&clks IMX6QDL_CLK_ECSPI2>;
clock-names = "ipg", "per"; clock-names = "ipg", "per";
dmas = <&sdma 5 8 1>, <&sdma 6 8 2>; dmas = <&sdma 5 7 1>, <&sdma 6 7 2>;
dma-names = "rx", "tx"; dma-names = "rx", "tx";
status = "disabled"; status = "disabled";
}; };
...@@ -362,7 +362,7 @@ ecspi3: spi@2010000 { ...@@ -362,7 +362,7 @@ ecspi3: spi@2010000 {
clocks = <&clks IMX6QDL_CLK_ECSPI3>, clocks = <&clks IMX6QDL_CLK_ECSPI3>,
<&clks IMX6QDL_CLK_ECSPI3>; <&clks IMX6QDL_CLK_ECSPI3>;
clock-names = "ipg", "per"; clock-names = "ipg", "per";
dmas = <&sdma 7 8 1>, <&sdma 8 8 2>; dmas = <&sdma 7 7 1>, <&sdma 8 7 2>;
dma-names = "rx", "tx"; dma-names = "rx", "tx";
status = "disabled"; status = "disabled";
}; };
...@@ -376,7 +376,7 @@ ecspi4: spi@2014000 { ...@@ -376,7 +376,7 @@ ecspi4: spi@2014000 {
clocks = <&clks IMX6QDL_CLK_ECSPI4>, clocks = <&clks IMX6QDL_CLK_ECSPI4>,
<&clks IMX6QDL_CLK_ECSPI4>; <&clks IMX6QDL_CLK_ECSPI4>;
clock-names = "ipg", "per"; clock-names = "ipg", "per";
dmas = <&sdma 9 8 1>, <&sdma 10 8 2>; dmas = <&sdma 9 7 1>, <&sdma 10 7 2>;
dma-names = "rx", "tx"; dma-names = "rx", "tx";
status = "disabled"; status = "disabled";
}; };
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment