serial: imx: add DMA support for imx6q
authorHuang Shijie <b32955@freescale.com>
Mon, 8 Jul 2013 09:14:18 +0000 (17:14 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 26 Jul 2013 22:44:11 +0000 (15:44 -0700)
commitb4cdc8f61beb2a55c8c3d22dfcaf5f34a919fe9b
tree453d7ce7d95b2ac99588ac7f5848932cf95b0cdf
parent09bd00f6e9a434727e4bfe93b0498c5d893c1906
serial: imx: add DMA support for imx6q

We only enable the DMA support when the following are meet:

  [1] The uart port supports the hardware flow control(CTS/RTS).
      (Some uart port does not support the CTS/RTS.)

  [2] The application enables the CTS/RTS.

  [3] The Soc is imx6q.
      For the sdma's firmware limit, we do not support the DMA except
      the imx6q platform.

  [4] The uart is not used as a console.

Signed-off-by: Huang Shijie <b32955@freescale.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/serial/imx.c