I'm wanting to use the SPI in slave mode (as a platform_device) in Linux 3.0.35. Is this possible? I've set the SPI registers (slave mode, CPOL/CPHA etc) but I don't seem to be getting anything in ECSPIx_RXDATA register when the master on the other side is sending data. I've checked the SPI lines and it seems valid.
Here are my SPI register values:
Is there anything obviously wrong in the register values or do I need to set registers other than the SPI specific registers to make it work?