Skip to content

Integrate linux-seco-imx/seco_lf-5.10.y_c26-lpspi

Commit: clea-os/bsp/nxp/linux-seco-imx@3cf50518

[i.MX8QM][DT] imx8-ss-dma: set lpspi0 max frequency to 60MHz

60MHz is the maximum frequency mentioned in the datasheet for master mode. Set that to 60MHz to match lpspi2.

REFERENCE: https://git.toradex.com/cgit/linux-toradex.git/commit/?h=toradex_5.15-2.2.x-imx&id=28fc46b704ae097c0dd2891eea273f9c95b6a1f6

--

Commit: clea-os/bsp/nxp/linux-seco-imx@31d0a2c3

spi: lpspi: silence error message upon deferred probe

Do not print error messages with error code -517. Silences the following errors upon on imx8qm: fsl_lpspi 5a000000.spi: spi_register_controller error: -517 fsl_lpspi 5a010000.spi: spi_register_controller error: -517 fsl_lpspi 5a020000.spi: spi_register_controller error: -517

Signed-off-by: Alexander Stein alexander.stein@ew.tq-group.com Link: https://lore.kernel.org/r/20211108145523.1797609-1-alexander.stein@ew.tq-group.com

--

Commit: clea-os/bsp/nxp/linux-seco-imx@d133041b

LF-5804 spi: lpspi: add DMA roll-back path

If spi_register_controller return a defer probe error, no DMA roll-back operation can remove the DMA configurations. When probe SPI in the second time, fsl_lpspi_dma_init will return error. So add a DMA roll-back path here.

Signed-off-by: Clark Wang xiaoning.wang@nxp.com Reviewed-by: Haibo Chen haibo.chen@nxp.com

--

Commit: clea-os/bsp/nxp/linux-seco-imx@1af0c4cd

LF-1723: spi: lpspi: run perclk_rate sanity check

Coverity reports Division or modulo by zero potential issue(CWE-369) about the perclk_rate calculation. Run sanity check first to avoid this problem.

Signed-off-by: Han Xu han.xu@nxp.com Reviewed-by: Frank Li frank.li@nxp.com

Merge request reports

Loading