Skip to content

Commit df07101

Browse files
Sean NyekjaerShawn Guo
authored andcommitted
ARM: dts: imx6q: Use correct SDMA script for SPI5 core
According to the reference manual the shp_2_mcu / mcu_2_shp scripts must be used for devices connected through the SPBA. This fixes an issue we saw with DMA transfers. Sometimes the SPI controller RX FIFO was not empty after a DMA transfer and the driver got stuck in the next PIO transfer when it read one word more than expected. commit dd4b487 ("ARM: dts: imx6: Use correct SDMA script for SPI cores") is fixing the same issue but only for SPI1 - 4. Fixes: 6779402 ("ARM: dts: imx6q: enable dma for ecspi5") Signed-off-by: Sean Nyekjaer <[email protected]> Reviewed-by: Fabio Estevam <[email protected]> Signed-off-by: Shawn Guo <[email protected]>
1 parent ce397d2 commit df07101

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

arch/arm/boot/dts/imx6q.dtsi

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@
9090
clocks = <&clks IMX6Q_CLK_ECSPI5>,
9191
<&clks IMX6Q_CLK_ECSPI5>;
9292
clock-names = "ipg", "per";
93-
dmas = <&sdma 11 7 1>, <&sdma 12 7 2>;
93+
dmas = <&sdma 11 8 1>, <&sdma 12 8 2>;
9494
dma-names = "rx", "tx";
9595
status = "disabled";
9696
};

0 commit comments

Comments
 (0)