Hello, I need to write an spi slave driver for an IMX8QuadMax evaluation board, using Yocto. I read that starting from kernel 4.13 Linux has also slave support in spi.c, but my board has an older version of the kernel. I wanted to know if I can update it to the needed version, and how. I am new to yocto and to driver development. Thank you in advance for your support!
Hi Erica
i.MX8QuadMax processor is not officially launched and there is no full support for it yet.
One can try to add slave support using its driver sources on
spi-fsl-lpspi.c\spi\drivers - linux-imx - i.MX Linux kernel
and slave software for this module from other processors software packages, like
EVKB-IMXRT1050 SDK..devices/MIMXRT1052/drivers/fsl_lpspi.c
Welcome | MCUXpresso SDK Builder
or sect.4.LPSPI Slave Operation AN5320
https://www.nxp.com/docs/en/application-note/AN5320.pdf
Best regards
igor
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------