Hi All,
we are trying to add a new peripheral to SPI BUS Interface in LS1021A-TWR based board, we have some doubts about that
which is the SPI master driver that needs to be enabled in kernel.
and in our present Linux SDK QorIQ-SDK-V1.8, DSPI interface support is there in Linux Device Tree and DSPI master driver spi-fsl-dspi is enabled in kernel configuration. we are not using any dspi, how to add SPI interface and new device to the Device Tree.
Thanks,
vijay
spi-fsl-dspi.c is the correct driver for SPI buses which are visible
on your board connectors. The driver for it is enabled in the SDK default
kernel configuration. Another type of SPI, namely QSPI, is only
connected to the board Flash and not routed outside. You can, however,
enable it if you wish, refer to this document:
LS1021 does not have any other SPI controller.
Refer to Documentation/devicetree/bindings/spi/spi-bus.txt for basic
information on required properties for SPI slaves. Consult at your
SPI peripheral driver documentation, source code or maintainer for
additional Device Tree node properties the driver requires.
Have a great day,
Platon
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------