Hello,
We are trying to add a peripheral to a P2041 SPI bus interface.
Our P2041 processor is running the 4.1.8 kernel available on the 2.0 SDK.
Which driver should I use? spi-fsl-spi? spidev?
Can you please share an example?
Thanks and regards,
Sérgio Marques
Solved! Go to Solution.
Have a great day,
You should use driver of the eSPI controller - spi_fsl_espi (drivers/spi/spi_fsl_espi.c). See example in the
QorIQ SDK v2.0-1609 Documentation available as html pages and pdf file on the nxp webpage
Look for SPI Flash Over eSPI Controller User Manual in it.
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------
Have a great day,
You should use driver of the eSPI controller - spi_fsl_espi (drivers/spi/spi_fsl_espi.c). See example in the
QorIQ SDK v2.0-1609 Documentation available as html pages and pdf file on the nxp webpage
Look for SPI Flash Over eSPI Controller User Manual in it.
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------