[PATCH 0/5] serial: imx: add DMA support for imx6

Huang Shijie b32955 at freescale.com
Tue Jul 2 02:30:23 EDT 2013


(1) This patch set adds the DMA support for the imx serial driver.
    The uart with the dma support is usually used by the Bluetooth.

    For the firmware's limit, i only enable the DMA for imx6.
    If we have proper firmware for imx53 (or other chips), we can also
    enable the DMA for it.

(2) 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 imx6.
      For the sdma's firmware limit, we do not support the DMA except
      the imx6 platform.

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


(3) Tested this patch set by:
	connecting a imx6q-arm2 board(DTE) with a imx53 board(DCE).


Huang Shijie (5):
  serial: imx: distinguish the imx6 uart from the others
  serial: imx: add DMA support for imx6
  ARM: dts: imx6: rename the uart's compatible property
  ARM: dts: imx6: add dte pinctrl for uart2
  ARM: dts: enable the uart2 for imx6q-arm2

 arch/arm/boot/dts/imx6q-arm2.dts |   10 +
 arch/arm/boot/dts/imx6q.dtsi     |    9 +
 arch/arm/boot/dts/imx6qdl.dtsi   |   10 +-
 arch/arm/boot/dts/imx6sl.dtsi    |   10 +-
 drivers/tty/serial/imx.c         |  430 +++++++++++++++++++++++++++++++++++++-
 5 files changed, 452 insertions(+), 17 deletions(-)





More information about the linux-arm-kernel mailing list