Re: spi: imx: Increase imx51 ecspi burst length fails on imx6dl and imx8mm

From: linux
Date: Wed Nov 22 2023 - 08:26:48 EST


Hi

i did now my test with the latest imx-sdma firmware 4.6 from NXP
https://www.nxp.com/lgfiles/NMG/MAD/YOCTO/firmware-imx-8.18.bin
There is no improvement.
What is the HW that you use? What type of imx8?

Regards Stefan Bigler

Am 2023-11-21T11:34:26.000+01:00 hat <linux@xxxxxxxxx> geschrieben:
> Hi
>
> At least in my test-case the commit is NOT introducing this regression, because the bits_per_word is 8, so the result is the same
> spi: imx: Take in account bits per word instead of assuming 8-bits
> 5f66db08cbd3ca471c66bacb0282902c79db9274
>
> I do not have the latest mx-sdma firmware can you tell me where I get it. On
> https://git.kernel.org/pub/scm/linux/kernel/git/firmware/linux-firmware.git/tree/imx/sdma
> the latest I found was 4.5
>
> I tried to debug the code but it's hard vor me to understand where the problem could be.
> I saw then I disable the dma with set
>
> imx51_ecspi_devtype_data {
> .has_dmamode = false,
> }
> the SPI is working fine.
>
> Should I do some more tests, do some loggings..
> Please let me know
>
> Regards
> Stefan Bigler