linux-serial.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/5] serial: imx: add DMA support for imx6
@ 2013-07-02  6:30 Huang Shijie
  2013-07-02  6:30 ` [PATCH 1/5] serial: imx: distinguish the imx6 uart from the others Huang Shijie
                   ` (4 more replies)
  0 siblings, 5 replies; 16+ messages in thread
From: Huang Shijie @ 2013-07-02  6:30 UTC (permalink / raw)
  To: gregkh; +Cc: Huang Shijie, s.hauer, shawn.guo, linux-arm-kernel, linux-serial

(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(-)

^ permalink raw reply	[flat|nested] 16+ messages in thread

end of thread, other threads:[~2013-07-03  5:16 UTC | newest]

Thread overview: 16+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-07-02  6:30 [PATCH 0/5] serial: imx: add DMA support for imx6 Huang Shijie
2013-07-02  6:30 ` [PATCH 1/5] serial: imx: distinguish the imx6 uart from the others Huang Shijie
2013-07-03  1:48   ` Shawn Guo
2013-07-03  1:52   ` Shawn Guo
2013-07-03  2:17     ` Huang Shijie
2013-07-02  6:30 ` [PATCH 2/5] serial: imx: add DMA support for imx6 Huang Shijie
2013-07-03  3:38   ` Shawn Guo
2013-07-03  5:20     ` Huang Shijie
2013-07-02  6:30 ` [PATCH 3/5] ARM: dts: imx6: rename the uart's compatible property Huang Shijie
2013-07-02  9:56   ` Mark Rutland
2013-07-02 10:43     ` Huang Shijie
2013-07-02 11:11       ` Mark Rutland
2013-07-03  2:15         ` Huang Shijie
2013-07-03  1:46       ` Shawn Guo
2013-07-02  6:30 ` [PATCH 4/5] ARM: dts: imx6: add dte pinctrl for uart2 Huang Shijie
2013-07-02  6:30 ` [PATCH 5/5] ARM: dts: enable the uart2 for imx6q-arm2 Huang Shijie

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).