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


Groups > linux.kernel > #1289819

[PATCH 2/4] arm: dts: apq8064: add shared memory into dt reserved-memory

From Srinivas Kandagatla <srinivas.kandagatla@linaro.org>
Newsgroups linux.kernel
Subject [PATCH 2/4] arm: dts: apq8064: add shared memory into dt reserved-memory
Date 2015-12-11 19:40 +0100
Message-ID <qEALM-8a5-13@gated-at.bofh.it> (permalink)
References <qEAC6-862-9@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


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

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

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


Thread

[PATCH 0/4] arm: dts: qcom-apq8064: add smem and hwspinlock support Srinivas Kandagatla <srinivas.kandagatla@linaro.org> - 2015-12-11 19:30 +0100
  [PATCH 4/4] arm: dts: apq8064: add shared memory node Srinivas Kandagatla <srinivas.kandagatla@linaro.org> - 2015-12-11 19:40 +0100
    Re: [PATCH 4/4] arm: dts: apq8064: add shared memory node Andy Gross <andy.gross@linaro.org> - 2015-12-11 20:30 +0100
  [PATCH 1/4] ARM: dts: qcom: apq8064-ifc6410 Use hardware flow control for GSBI6 Srinivas Kandagatla <srinivas.kandagatla@linaro.org> - 2015-12-11 19:40 +0100
    Re: [PATCH 1/4] ARM: dts: qcom: apq8064-ifc6410 Use hardware flow  control for GSBI6 Andy Gross <andy.gross@linaro.org> - 2015-12-11 20:30 +0100
  [PATCH 2/4] arm: dts: apq8064: add shared memory into dt reserved-memory Srinivas Kandagatla <srinivas.kandagatla@linaro.org> - 2015-12-11 19:40 +0100
    Re: [PATCH 2/4] arm: dts: apq8064: add shared memory into dt  reserved-memory Andy Gross <andy.gross@linaro.org> - 2015-12-11 20:30 +0100
  [PATCH 3/4] arm: dts: apq8064: add hwspinlock nodes Srinivas Kandagatla <srinivas.kandagatla@linaro.org> - 2015-12-11 19:40 +0100
    Re: [PATCH 3/4] arm: dts: apq8064: add hwspinlock nodes Andy Gross <andy.gross@linaro.org> - 2015-12-11 20:30 +0100
  Re: [PATCH 0/4] arm: dts: qcom-apq8064: add smem and hwspinlock  support Bjorn Andersson <bjorn.andersson@sonymobile.com> - 2015-12-12 01:30 +0100
    Re: [PATCH 0/4] arm: dts: qcom-apq8064: add smem and hwspinlock support Srinivas Kandagatla <srinivas.kandagatla@linaro.org> - 2015-12-12 13:10 +0100

csiph-web