This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

SK-AM64B: SPI slave mode in linux kernel and the driver for the same

Part Number: SK-AM64B


Hi,

Can someone please help to know how to use the SK-AM64B SPIs in slave mode under linux. The official driver provided in the build supports the slave mode as the calls to "spi_alloc_slave" are present in the driver. There is no official spi slave driver available in the linux kernel, so it would be nice if someone points to the supported SPI slave framework driver or the replacement to spidev driver which only supports master mode. The documentation to enabling slave mode in the driver via modification in the device tree is also not available. If someone has tried please help to use slave mode.

As per the TI documentations SPI supports the Slave mode in the kernel as mentioned here

https://solidrun.atlassian.net/wiki/spaces/developer/pages/197493821/AM64x+SOM+Hardware+User+Manual#eSPI

Also please help to setup the DTSI for the slave mode correctly.