I'm trying to enable ecspi1 slave mode on imx6q, linux kernel version is 3.0.35. I used following patch:
Everything works almost fine for 32bpw, except for one problem. First word of each message from IMX is 0x00000000, independent of what actualy was sent from IMX. I verified that spi driver on IMX stores correct values to TXDATA register, and TXCNT field of TESTREG matches the number of words stored in tx fifo. But MISO line remains low when first word is being transmitted.
Looks like this is hardware problem. Is it possible to workaround it somehow?
Thanks a lot