Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1457656

[PATCH 2/2] imx53.dtsi : Add DMA configuration for UART

From Fabien Lahoudere <fabien.lahoudere@collabora.co.uk>
Newsgroups linux.kernel
Subject [PATCH 2/2] imx53.dtsi : Add DMA configuration for UART
Date 2016-08-08 11:30 +0200
Message-ID <s3P2G-7YV-47@gated-at.bofh.it> (permalink)
References <s3g4V-1Yq-29@gated-at.bofh.it> <s3P2G-7YV-49@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


In order to use sdma with UART, we need to add DMA configuration
in device tree.

Signed-off-by: Fabien Lahoudere <fabien.lahoudere@collabora.co.uk>
---
 arch/arm/boot/dts/imx53.dtsi | 10 ++++++++++
 1 file changed, 10 insertions(+)

diff --git a/arch/arm/boot/dts/imx53.dtsi b/arch/arm/boot/dts/imx53.dtsi
index cd17037..c1bc97c 100644
--- a/arch/arm/boot/dts/imx53.dtsi
+++ b/arch/arm/boot/dts/imx53.dtsi
@@ -217,6 +217,8 @@
 					clocks = <&clks IMX5_CLK_UART3_IPG_GATE>,
 					         <&clks IMX5_CLK_UART3_PER_GATE>;
 					clock-names = "ipg", "per";
+					dmas = <&sdma 42 4 0>, <&sdma 43 4 0>;
+					dma-names = "rx", "tx";
 					status = "disabled";
 				};
 
@@ -498,6 +500,8 @@
 				clocks = <&clks IMX5_CLK_UART1_IPG_GATE>,
 				         <&clks IMX5_CLK_UART1_PER_GATE>;
 				clock-names = "ipg", "per";
+				dmas = <&sdma 18 4 0>, <&sdma 19 4 0>;
+				dma-names = "rx", "tx";
 				status = "disabled";
 			};
 
@@ -508,6 +512,8 @@
 				clocks = <&clks IMX5_CLK_UART2_IPG_GATE>,
 				         <&clks IMX5_CLK_UART2_PER_GATE>;
 				clock-names = "ipg", "per";
+				dmas = <&sdma 12 4 0>, <&sdma 13 4 0>;
+				dma-names = "rx", "tx";
 				status = "disabled";
 			};
 
@@ -591,6 +597,8 @@
 				clocks = <&clks IMX5_CLK_UART4_IPG_GATE>,
 				         <&clks IMX5_CLK_UART4_PER_GATE>;
 				clock-names = "ipg", "per";
+				dmas = <&sdma 2 4 0>, <&sdma 3 4 0>;
+				dma-names = "rx", "tx";
 				status = "disabled";
 			};
 		};
@@ -621,6 +629,8 @@
 				clocks = <&clks IMX5_CLK_UART5_IPG_GATE>,
 				         <&clks IMX5_CLK_UART5_PER_GATE>;
 				clock-names = "ipg", "per";
+				dmas = <&sdma 16 4 0>, <&sdma 17 4 0>;
+				dma-names = "rx", "tx";
 				status = "disabled";
 			};
 
-- 
2.7.4

Back to linux.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

Re: [PATCH 2/2] imx53.dtsi : Add DMA configuration for UART Fabio Estevam <festevam@gmail.com> - 2016-08-03 16:30 +0200
  [PATCH v2 2/2] imx53.dtsi : Add DMA configuration for UART Fabien Lahoudere <fabien.lahoudere@collabora.co.uk> - 2016-08-04 12:30 +0200
    Re: [PATCH v2 2/2] imx53.dtsi : Add DMA configuration for UART Alexander Shiyan <shc_work@mail.ru> - 2016-08-04 13:30 +0200
      Re: [PATCH v2 2/2] imx53.dtsi : Add DMA configuration for UART Fabio Estevam <festevam@gmail.com> - 2016-08-06 22:10 +0200
        [PATCH 2/2] imx53.dtsi : Add DMA configuration for UART Fabien Lahoudere <fabien.lahoudere@collabora.co.uk> - 2016-08-08 11:30 +0200
        [PATCH 1/2] Allowing UART DMA to be configured on i.MX53 Fabien Lahoudere <fabien.lahoudere@collabora.co.uk> - 2016-08-08 11:40 +0200
    Re: [PATCH v2 2/2] imx53.dtsi : Add DMA configuration for UART Shawn Guo <shawnguo@kernel.org> - 2016-08-09 15:40 +0200
  [PATCH v2 1/2] Allowing UART DMA to be configured on i.MX53 Fabien Lahoudere <fabien.lahoudere@collabora.co.uk> - 2016-08-04 12:40 +0200
  [PATCH 1/1] imx53.dtsi: Add IPU nodes for csi Fabien Lahoudere <fabien.lahoudere@collabora.co.uk> - 2016-08-04 16:00 +0200
    Re: [PATCH 1/1] imx53.dtsi: Add IPU nodes for csi Philipp Zabel <p.zabel@pengutronix.de> - 2016-08-05 11:40 +0200
    Re: [PATCH 1/1] imx53.dtsi: Add IPU nodes for csi Shawn Guo <shawnguo@kernel.org> - 2016-08-09 15:40 +0200

csiph-web