spi: spi-fsl-dspi: Enable TCF interrupt mode support
authorHaikun Wang <haikun.wang@freescale.com>
Tue, 9 Jun 2015 11:45:27 +0000 (19:45 +0800)
committerMark Brown <broonie@kernel.org>
Tue, 9 Jun 2015 17:35:54 +0000 (18:35 +0100)
commitd1f4a38c8139cf87316b16f28b206fd1fd2b31db
tree145245902e3a21587dd943a78ef9798437409a7b
parent6724af486903df57338c14424e02599e371cf563
spi: spi-fsl-dspi: Enable TCF interrupt mode support

DSPI module has two optional interrupts when complete data transfer.
One is EOQ interrupt, the other one is TCF interrupt.
EOQ indicates a queue of data frame has been transmitted.
TCF indicates a frame has been transmitted.
This patch enable support TCF mode.
Driver binds a correct interrupt mode to every compatible string.
User should use the correct compatible string in the dts node.

Signed-off-by: Haikun Wang <haikun.wang@freescale.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/spi/spi-fsl-dspi.c