linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
From: manabian@gmail.com (Joachim Eastwood)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH 06/16] ARM: dts: lpc18xx: add dma to uart0/1/2/3
Date: Thu,  1 Oct 2015 22:54:43 +0200	[thread overview]
Message-ID: <1443732893-17145-7-git-send-email-manabian@gmail.com> (raw)
In-Reply-To: <1443732893-17145-1-git-send-email-manabian@gmail.com>

Add dmas entries to the four UART peripherals on LPC18xx/43xx devices
so that DMA can be used to transfer data.

Signed-off-by: Joachim Eastwood <manabian@gmail.com>
---
 arch/arm/boot/dts/lpc18xx.dtsi | 16 ++++++++++++++++
 1 file changed, 16 insertions(+)

diff --git a/arch/arm/boot/dts/lpc18xx.dtsi b/arch/arm/boot/dts/lpc18xx.dtsi
index 5b7ca7066161..f97feea5f5da 100644
--- a/arch/arm/boot/dts/lpc18xx.dtsi
+++ b/arch/arm/boot/dts/lpc18xx.dtsi
@@ -230,6 +230,11 @@
 			interrupts = <24>;
 			clocks = <&ccu2 CLK_APB0_UART0>, <&ccu1 CLK_CPU_UART0>;
 			clock-names = "uartclk", "reg";
+			dmas = <&dmamux  1 1 2
+				&dmamux  2 1 2
+				&dmamux 11 2 2
+				&dmamux 12 2 2>;
+			dma-names = "tx", "rx", "tx", "rx";
 			status = "disabled";
 		};
 
@@ -240,6 +245,9 @@
 			interrupts = <25>;
 			clocks = <&ccu2 CLK_APB0_UART1>, <&ccu1 CLK_CPU_UART1>;
 			clock-names = "uartclk", "reg";
+			dmas = <&dmamux 3 1 2
+				&dmamux 4 1 2>;
+			dma-names = "tx", "rx";
 			status = "disabled";
 		};
 
@@ -294,6 +302,9 @@
 			interrupts = <26>;
 			clocks = <&ccu2 CLK_APB2_UART2>, <&ccu1 CLK_CPU_UART2>;
 			clock-names = "uartclk", "reg";
+			dmas = <&dmamux 5 1 2
+				&dmamux 6 1 2>;
+			dma-names = "tx", "rx";
 			status = "disabled";
 		};
 
@@ -304,6 +315,11 @@
 			interrupts = <27>;
 			clocks = <&ccu2 CLK_APB2_UART3>, <&ccu1 CLK_CPU_UART3>;
 			clock-names = "uartclk", "reg";
+			dmas = <&dmamux  7 1 2
+				&dmamux  8 1 2
+				&dmamux 13 3 2
+				&dmamux 14 3 2>;
+			dma-names = "tx", "rx", "rx", "tx";
 			status = "disabled";
 		};
 
-- 
1.8.0

  parent reply	other threads:[~2015-10-01 20:54 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-10-01 20:54 [PATCH 00/16] LPC18xx DTS changes for 4.4 Joachim Eastwood
2015-10-01 20:54 ` [PATCH 01/16] ARM: dts: lpc18xx: add rgu node Joachim Eastwood
2015-10-01 20:54 ` [PATCH 02/16] ARM: dts: lpc18xx: add spifi node Joachim Eastwood
2015-10-01 20:54 ` [PATCH 03/16] ARM: dts: lpc18xx: add dmac node Joachim Eastwood
2015-10-01 20:54 ` [PATCH 04/16] ARM: dts: lpc18xx: add dmamux node Joachim Eastwood
2015-10-01 20:54 ` [PATCH 05/16] ARM: dts: lpc18xx: add dma to ssp0/1 Joachim Eastwood
2015-10-01 20:54 ` Joachim Eastwood [this message]
2015-10-01 20:54 ` [PATCH 07/16] ARM: dts: lpc18xx: add i2c nodes Joachim Eastwood
2015-10-01 20:54 ` [PATCH 08/16] ARM: dts: lpc18xx: add watchdog node Joachim Eastwood
2015-10-01 20:54 ` [PATCH 09/16] ARM: dts: lpc18xx: add sct pwm node Joachim Eastwood
2015-10-01 20:54 ` [PATCH 10/16] ARM: dts: lpc18xx: add resets entry to device nodes Joachim Eastwood
2015-10-01 20:54 ` [PATCH 11/16] ARM: dts: lpc4357-ea4357: add spifi and flash device Joachim Eastwood
2015-10-01 20:54 ` [PATCH 12/16] ARM: dts: lpc4357-ea4357: add ssp0 Joachim Eastwood
2015-10-01 20:54 ` [PATCH 13/16] ARM: dts: lpc4357-ea4357: add i2c0 and devices Joachim Eastwood
2015-10-01 20:54 ` [PATCH 14/16] ARM: dts: lpc4350-hitex-eval: add spifi and flash device Joachim Eastwood
2015-10-01 20:54 ` [PATCH 15/16] ARM: dts: lpc4350-hitex-eval: add i2c0 and devices Joachim Eastwood
2015-10-01 20:54 ` [PATCH 16/16] ARM: dts: lpc4350-hitex-eval: add joystick, buttons and leds Joachim Eastwood

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1443732893-17145-7-git-send-email-manabian@gmail.com \
    --to=manabian@gmail.com \
    --cc=linux-arm-kernel@lists.infradead.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).