From: Srinivas Kandagatla <srinivas.kandagatla@linaro.org>
To: andy.gross@linaro.org, linux-arm-msm@vger.kernel.org
Cc: linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org,
linux-kernel@vger.kernel.org,
Srinivas Kandagatla <srinivas.kandagatla@linaro.org>
Subject: [PATCH 2/4] arm: dts: apq8064: add shared memory into dt reserved-memory
Date: Fri, 11 Dec 2015 18:31:47 +0000 [thread overview]
Message-ID: <1449858707-13517-1-git-send-email-srinivas.kandagatla@linaro.org> (raw)
In-Reply-To: <1449858409-13296-1-git-send-email-srinivas.kandagatla@linaro.org>
This patch adds the shared memory in the Device tree reserved memory
list so that kernel would not map it as normal memory.
Signed-off-by: Srinivas Kandagatla <srinivas.kandagatla@linaro.org>
---
arch/arm/boot/dts/qcom-apq8064.dtsi | 11 +++++++++++
1 file changed, 11 insertions(+)
diff --git a/arch/arm/boot/dts/qcom-apq8064.dtsi b/arch/arm/boot/dts/qcom-apq8064.dtsi
index a4c1762..09f0e27 100644
--- a/arch/arm/boot/dts/qcom-apq8064.dtsi
+++ b/arch/arm/boot/dts/qcom-apq8064.dtsi
@@ -11,6 +11,17 @@
compatible = "qcom,apq8064";
interrupt-parent = <&intc>;
+ reserved-memory {
+ #address-cells = <1>;
+ #size-cells = <1>;
+ ranges;
+
+ smem:smem@80000000 {
+ reg = <0x80000000 0x200000>;
+ no-map;
+ };
+ };
+
cpus {
#address-cells = <1>;
#size-cells = <0>;
--
1.9.1
next prev parent reply other threads:[~2015-12-11 18:31 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-12-11 18:26 [PATCH 0/4] arm: dts: qcom-apq8064: add smem and hwspinlock support Srinivas Kandagatla
2015-12-11 18:29 ` [PATCH 1/4] ARM: dts: qcom: apq8064-ifc6410 Use hardware flow control for GSBI6 Srinivas Kandagatla
2015-12-11 19:24 ` Andy Gross
2015-12-11 18:31 ` Srinivas Kandagatla [this message]
2015-12-11 19:25 ` [PATCH 2/4] arm: dts: apq8064: add shared memory into dt reserved-memory Andy Gross
2015-12-11 18:32 ` [PATCH 3/4] arm: dts: apq8064: add hwspinlock nodes Srinivas Kandagatla
2015-12-11 19:25 ` Andy Gross
2015-12-11 18:33 ` [PATCH 4/4] arm: dts: apq8064: add shared memory node Srinivas Kandagatla
[not found] ` <1449858789-13605-1-git-send-email-srinivas.kandagatla-QSEj5FYQhm4dnm+yROfE0A@public.gmane.org>
2015-12-11 19:23 ` Andy Gross
2015-12-12 0:22 ` [PATCH 0/4] arm: dts: qcom-apq8064: add smem and hwspinlock support Bjorn Andersson
2015-12-12 12:08 ` 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=1449858707-13517-1-git-send-email-srinivas.kandagatla@linaro.org \
--to=srinivas.kandagatla@linaro.org \
--cc=andy.gross@linaro.org \
--cc=devicetree@vger.kernel.org \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-arm-msm@vger.kernel.org \
--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;
as well as URLs for NNTP newsgroup(s).