i.MX8MM SPI DMA not working
Fabio Estevam
festevam at gmail.com
Fri Jun 11 05:44:58 PDT 2021
Hi Robin,
I am seeing SPI DMA failure on i.MX8MM running kernel 5.13.0-rc5:
[ 41.315984] spi_master spi1: I/O Error in DMA RX
[ 41.320660] mcp251xfd spi1.0: SPI transfer failed: -110
[ 41.325947] spi_master spi1: failed to transfer one message from queue
[ 41.332532] mcp251xfd spi1.0 can0: IRQ handler
mcp251xfd_handle_rxif() returned -110.
[ 41.340432] mcp251xfd spi1.0 can0: IRQ handler returned -110
(intf=0x3f1a0012).
[ 41.347990] spi_master spi2: I/O Error in DMA RX
There is an old series from you that aimed to fix i.MX8MM SPI DMA:
https://patchwork.kernel.org/project/spi-devel-general/patch/1593523876-22387-6-git-send-email-yibin.gong@nxp.com/
Do you have an updated tree with these patches applied so I can test
them with a recent kernel?
Besides the imx-sdma and imx-spi fixes, do we need an updated
sdma-imx7d.bin for SPI DMA to work on i.MX8MM? I am using the one
from the linux-firmware tree:
https://git.kernel.org/pub/scm/linux/kernel/git/firmware/linux-firmware.git/log/imx/sdma/sdma-imx7d.bin
Would it work if a use the ROM firmware or would you recommend using
the external firmware?
Please advise.
Thanks,
Fabio Estevam
More information about the linux-arm-kernel
mailing list