Can i register a ssc driver (a serial interface device) to be a spi driver ?
For normal spi devices, they call "spi_register_master".
I have a ssc module in the Arm chip, want to use it to emulate spi device. Plan to implement transfer() method as other spi device drivers.
If i register it using spi_register_master in probe(),
can i send spi IOCTLs from spidev.c to it ?
I know i need to fill in stuff in this ssc driver,
but hopefully all high level spi related stuff stays the same. Basically emulates ssc as spi.
Any suggestions ?