Skip to contentSkip to conversation

ARM: dts: imx6q: Use correct SDMA script for SPI5 core

PATCH New Fabio Estevam 2 participants 2 messages May 22, 2018 – Jun 11, 2018 1 message not in the archive SPI

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

#1 lore raw

PATCH 1/1 ARM: dts: imx6q: Use correct SDMA script for SPI5 core

Quoted 8 lines · Sean Nyekjaer

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.

Quoted 5 lines

commit dd4b487b32a35 ("ARM: dts: imx6: Use correct SDMA script for SPI cores") is fixing the same issue but only for SPI1 - 4.

Fixes 677940258dd8e ("ARM: dts: imx6q: enable dma for ecspi5")
Applied
#2 lore raw

PATCH 1/1 ARM: dts: imx6q: Use correct SDMA script for SPI5 core

In reply to a message not in the archive
Quoted 8 lines · Sean Nyekjaer

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.

Quoted 5 lines

commit dd4b487b32a35 ("ARM: dts: imx6: Use correct SDMA script for SPI cores") is fixing the same issue but only for SPI1 - 4.

Fixes 677940258dd8e ("ARM: dts: imx6q: enable dma for ecspi5")

Applied, thanks.