mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Zoran Markovic <zmarkovic@sierrawireless.com>
To: <linux-kernel@vger.kernel.org>
Cc: Zoran Markovic <zmarkovic@sierrawireless.com>
Subject: [RFC PATCH 1/4] dt-bindings: mdm9615: Add ADM DMA engine
Date: Thu, 22 Dec 2016 11:54:39 -0800	[thread overview]
Message-ID: <1482436482-29129-2-git-send-email-zmarkovic@sierrawireless.com> (raw)
In-Reply-To: <1482436482-29129-1-git-send-email-zmarkovic@sierrawireless.com>

Add configuration for ADM DMA engine on MDM9615, used by the EBI2
NAND controller. This commit requires the ADM DMA patches from
Andy Gross:
https://lwn.net/Articles/636881/

Signed-off-by: Zoran Markovic <zmarkovic@sierrawireless.com>

---
 arch/arm/boot/dts/qcom-mdm9615.dtsi |   19 ++++++++++++++++++-
 1 file changed, 18 insertions(+), 1 deletion(-)

diff --git a/arch/arm/boot/dts/qcom-mdm9615.dtsi b/arch/arm/boot/dts/qcom-mdm9615.dtsi
index 5ae4ec5..fbc7d68 100644
--- a/arch/arm/boot/dts/qcom-mdm9615.dtsi
+++ b/arch/arm/boot/dts/qcom-mdm9615.dtsi
@@ -336,7 +336,24 @@
 			};
 		};
 
-		sdcc1bam: dma@12182000{
+		adm_dma: dma@18300000 {
+			compatible = "qcom,adm";
+			reg = <0x18300000 0x100000>;
+			interrupts = <0 170 0>;
+			#dma-cells = <1>;
+
+			clocks = <&gcc ADM0_CLK>, <&gcc ADM0_PBUS_CLK>;
+			clock-names = "core", "iface";
+
+			resets = <&gcc ADM0_RESET>,
+				 <&gcc ADM0_C0_RESET>,
+				 <&gcc ADM0_C1_RESET>,
+				 <&gcc ADM0_C2_RESET>;
+			reset-names = "clk", "c0", "c1", "c2";
+			qcom,ee = <0>;
+		};
+
+		sdcc1bam:dma@12182000{
 			compatible = "qcom,bam-v1.3.0";
 			reg = <0x12182000 0x8000>;
 			interrupts = <GIC_SPI 98 IRQ_TYPE_LEVEL_HIGH>;
-- 
1.7.9.5

  reply	other threads:[~2016-12-22 20:27 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-12-22 19:54 [RFC PATCH 0/4] Enable NAND on Sierra Wireless WP8548 board Zoran Markovic
2016-12-22 19:54 ` Zoran Markovic [this message]
2016-12-22 19:54 ` [RFC PATCH 2/4] clk: mdm9615: Add EBI2 clock Zoran Markovic
2016-12-22 19:54 ` [RFC PATCH 3/4] dt-bindings: mdm9615: Add NAND controller Zoran Markovic
2016-12-22 19:54 ` [RFC PATCH 4/4] dt-bindings: wp8548: Add on-board NAND flash Zoran Markovic
2016-12-22 20:05 [RFC PATCH 0/4] Enable NAND on Sierra Wireless WP8548 board Zoran Markovic
2016-12-22 20:05 ` [RFC PATCH 1/4] dt-bindings: mdm9615: Add ADM DMA engine Zoran Markovic

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=1482436482-29129-2-git-send-email-zmarkovic@sierrawireless.com \
    --to=zmarkovic@sierrawireless.com \
    --cc=linux-kernel@vger.kernel.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

all inboxes | Powered by JetHome®