All of lore.kernel.org
 help / color / mirror / Atom feed
From: srinivas.kandagatla@linaro.org
To: agross@quicinc.com
Cc: linux-arm-msm@vger.kernel.org,
	Srinivas Kandagatla <srinivas.kandagatla@linaro.org>
Subject: [PATCH RFC 2/4] ARM: DT: QCOM: apq8064: Add dma support for sdcc node
Date: Fri, 16 May 2014 20:45:53 +0100	[thread overview]
Message-ID: <1400269553-15492-1-git-send-email-srinivas.kandagatla@linaro.org> (raw)
In-Reply-To: <1400269500-15408-1-git-send-email-srinivas.kandagatla@linaro.org>

From: Srinivas Kandagatla <srinivas.kandagatla@linaro.org>

This patch adds dma support in both sdcc1 and sdcc3 device node.

Signed-off-by: Srinivas Kandagatla <srinivas.kandagatla@linaro.org>
---
 arch/arm/boot/dts/qcom-apq8064.dtsi | 26 ++++++++++++++++++++++++++
 1 file changed, 26 insertions(+)

diff --git a/arch/arm/boot/dts/qcom-apq8064.dtsi b/arch/arm/boot/dts/qcom-apq8064.dtsi
index 2a6cd09..24d6dd7 100644
--- a/arch/arm/boot/dts/qcom-apq8064.dtsi
+++ b/arch/arm/boot/dts/qcom-apq8064.dtsi
@@ -158,6 +158,28 @@
 			regulator-always-on;
 		};
 
+		sdcc1bam:dma@12402000{
+			compatible = "qcom,bam-v1.3.0";
+			reg = <0x12402000 0x8000>, <0x12400800 0x800>;
+			reg-names = "bam", "dml";
+			interrupts = <0 98 0>;
+			clocks = <&gcc SDC1_H_CLK>;
+			clock-names = "bam_clk";
+			#dma-cells = <1>;
+			qcom,ee = <0>;
+		};
+
+		sdcc3bam:dma@12182000{
+			compatible = "qcom,bam-v1.3.0";
+			reg = <0x12182000 0x8000>, <0x12180800 0x800>;
+			reg-names = "bam", "dml";
+			interrupts = <0 96 0>;
+			clocks = <&gcc SDC3_H_CLK>;
+			clock-names = "bam_clk";
+			#dma-cells = <1>;
+			qcom,ee = <0>;
+		};
+
 		amba {
 			compatible = "arm,amba-bus";
 			#address-cells = <1>;
@@ -178,6 +200,8 @@
 				cap-sd-highspeed;
 				cap-mmc-highspeed;
 				vmmc-supply = <&vsdcc_fixed>;
+				dmas = <&sdcc1bam 2>, <&sdcc1bam 1>;
+				dma-names = "tx", "rx";
 			};
 
 			sdcc3: sdcc@12180000 {
@@ -195,6 +219,8 @@
 				max-frequency	= <192000000>;
 				no-1-8-v;
 				vmmc-supply = <&vsdcc_fixed>;
+				dmas = <&sdcc3bam 2>, <&sdcc3bam 1>;
+				dma-names = "tx", "rx";
 			};
 		};
 	};
-- 
1.9.1

  parent reply	other threads:[~2014-05-16 19:45 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-05-16 19:45 [PATCH RFC 0/4] Add QCOM DML support to MMCI driver srinivas.kandagatla
2014-05-16 19:45 ` [PATCH RFC 1/4] ARM: DT: QCOM: apq8064: fix the memory range for sdcc node srinivas.kandagatla
2014-05-16 19:45 ` srinivas.kandagatla [this message]
2014-05-16 19:47   ` [PATCH RFC 2/4] ARM: DT: QCOM: apq8064: Add dma support " Srinivas Kandagatla
2014-05-16 19:46 ` [PATCH RFC 3/4] mmc: mmci: Add qcom dml support to the driver srinivas.kandagatla
2014-05-16 19:46 ` [PATCH RFC 4/4] mmc: mmci: do an EOT for write DMA requests srinivas.kandagatla

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=1400269553-15492-1-git-send-email-srinivas.kandagatla@linaro.org \
    --to=srinivas.kandagatla@linaro.org \
    --cc=agross@quicinc.com \
    --cc=linux-arm-msm@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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.