Hi, my linux kernel is 4.1.15, my pad is connected to DSP through SPI。Now I want my pad wors as SPI slave, but I don't know how to do. So I want to know: Do I need to rewrite a spi slave program and put it into the Linux kernel, or just modify the spi configuration register ? And how can I know the pad works which slave mode?