All of lore.kernel.org
 help / color / mirror / Atom feed
From: Andy Gross <agross@codeaurora.org>
To: linux-arm-msm@vger.kernel.org
Cc: Mark Brown <broonie@kernel.org>,
	Bjorn Andersson <bjorn.andersson@sonymobile.com>,
	linux-kernel@vger.kernel.org,
	linux-arm-kernel@lists.infradead.org,
	Andy Gross <agross@codeaurora.org>
Subject: [Patch v2 03/10] arm64: dts: qcom: Add MSM8916 SMEM nodes
Date: Wed, 23 Sep 2015 11:53:22 -0500	[thread overview]
Message-ID: <1443027209-19444-4-git-send-email-agross@codeaurora.org> (raw)
In-Reply-To: <1443027209-19444-1-git-send-email-agross@codeaurora.org>

This patch adds the nodes necessary to support the SMEM driver on MSM8916
platforms.

Signed-off-by: Andy Gross <agross@codeaurora.org>
---
 arch/arm64/boot/dts/qcom/msm8916.dtsi |   36 +++++++++++++++++++++++++++++++++
 1 file changed, 36 insertions(+)

diff --git a/arch/arm64/boot/dts/qcom/msm8916.dtsi b/arch/arm64/boot/dts/qcom/msm8916.dtsi
index 5911de0..d321266 100644
--- a/arch/arm64/boot/dts/qcom/msm8916.dtsi
+++ b/arch/arm64/boot/dts/qcom/msm8916.dtsi
@@ -37,6 +37,22 @@
 		reg = <0 0 0 0>;
 	};
 
+	reserved-memory {
+		#address-cells = <2>;
+		#size-cells = <2>;
+		ranges;
+
+		reserve_aligned@86000000 {
+			reg = <0x0 0x86000000 0x0 0x0300000>;
+			no-map;
+		};
+
+		smem_mem: smem_region@86300000 {
+			reg = <0x0 0x86300000 0x0 0x0100000>;
+			no-map;
+		};
+	};
+
 	cpus {
 		#address-cells = <1>;
 		#size-cells = <0>;
@@ -102,6 +118,26 @@
 			reg = <0x1800000 0x80000>;
 		};
 
+		tcsr_mutex_regs: syscon@1905000 {
+			compatible = "syscon";
+			reg = <0x1905000 0x20000>;
+		};
+
+		tcsr_mutex: hwlock {
+			compatible = "qcom,tcsr-mutex";
+			syscon = <&tcsr_mutex_regs 0 0x1000>;
+			#hwlock-cells = <1>;
+		};
+
+		smem {
+			compatible = "qcom,smem";
+			reg = <0x60000 0x8000>;
+			reg-names = "aux-mem1";
+
+			memory-region = <&smem_mem>;
+			hwlocks = <&tcsr_mutex 3>;
+		};
+
 		blsp1_uart2: serial@78b0000 {
 			compatible = "qcom,msm-uartdm-v1.4", "qcom,msm-uartdm";
 			reg = <0x78b0000 0x200>;
-- 
The Qualcomm Innovation Center, Inc. is a member of the Code Aurora Forum,
hosted by The Linux Foundation

WARNING: multiple messages have this Message-ID (diff)
From: agross@codeaurora.org (Andy Gross)
To: linux-arm-kernel@lists.infradead.org
Subject: [Patch v2 03/10] arm64: dts: qcom: Add MSM8916 SMEM nodes
Date: Wed, 23 Sep 2015 11:53:22 -0500	[thread overview]
Message-ID: <1443027209-19444-4-git-send-email-agross@codeaurora.org> (raw)
In-Reply-To: <1443027209-19444-1-git-send-email-agross@codeaurora.org>

This patch adds the nodes necessary to support the SMEM driver on MSM8916
platforms.

Signed-off-by: Andy Gross <agross@codeaurora.org>
---
 arch/arm64/boot/dts/qcom/msm8916.dtsi |   36 +++++++++++++++++++++++++++++++++
 1 file changed, 36 insertions(+)

diff --git a/arch/arm64/boot/dts/qcom/msm8916.dtsi b/arch/arm64/boot/dts/qcom/msm8916.dtsi
index 5911de0..d321266 100644
--- a/arch/arm64/boot/dts/qcom/msm8916.dtsi
+++ b/arch/arm64/boot/dts/qcom/msm8916.dtsi
@@ -37,6 +37,22 @@
 		reg = <0 0 0 0>;
 	};
 
+	reserved-memory {
+		#address-cells = <2>;
+		#size-cells = <2>;
+		ranges;
+
+		reserve_aligned at 86000000 {
+			reg = <0x0 0x86000000 0x0 0x0300000>;
+			no-map;
+		};
+
+		smem_mem: smem_region at 86300000 {
+			reg = <0x0 0x86300000 0x0 0x0100000>;
+			no-map;
+		};
+	};
+
 	cpus {
 		#address-cells = <1>;
 		#size-cells = <0>;
@@ -102,6 +118,26 @@
 			reg = <0x1800000 0x80000>;
 		};
 
+		tcsr_mutex_regs: syscon at 1905000 {
+			compatible = "syscon";
+			reg = <0x1905000 0x20000>;
+		};
+
+		tcsr_mutex: hwlock {
+			compatible = "qcom,tcsr-mutex";
+			syscon = <&tcsr_mutex_regs 0 0x1000>;
+			#hwlock-cells = <1>;
+		};
+
+		smem {
+			compatible = "qcom,smem";
+			reg = <0x60000 0x8000>;
+			reg-names = "aux-mem1";
+
+			memory-region = <&smem_mem>;
+			hwlocks = <&tcsr_mutex 3>;
+		};
+
 		blsp1_uart2: serial at 78b0000 {
 			compatible = "qcom,msm-uartdm-v1.4", "qcom,msm-uartdm";
 			reg = <0x78b0000 0x200>;
-- 
The Qualcomm Innovation Center, Inc. is a member of the Code Aurora Forum,
hosted by The Linux Foundation

  parent reply	other threads:[~2015-09-23 16:53 UTC|newest]

Thread overview: 30+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-09-23 16:53 [Patch v2 00/10] Add RPM/SMD Support for QCOM platforms Andy Gross
2015-09-23 16:53 ` Andy Gross
2015-09-23 16:53 ` [Patch v2 01/10] soc: qcom: documentation: Update SMD/RPM Docs Andy Gross
2015-09-23 16:53   ` Andy Gross
2015-09-23 16:53 ` [Patch v2 02/10] soc: qcom: smd-rpm: Add existing platform support Andy Gross
2015-09-23 16:53   ` Andy Gross
2015-09-23 17:18   ` Bjorn Andersson
2015-09-23 17:18     ` Bjorn Andersson
2015-09-23 18:15     ` Andy Gross
2015-09-23 18:15       ` Andy Gross
2015-09-23 16:53 ` Andy Gross [this message]
2015-09-23 16:53   ` [Patch v2 03/10] arm64: dts: qcom: Add MSM8916 SMEM nodes Andy Gross
2015-09-23 16:53 ` [Patch v2 04/10] arm64: dts: qcom: Add RPM/SMD support on MSM8916 Andy Gross
2015-09-23 16:53   ` Andy Gross
2015-09-23 16:53 ` [Patch v2 05/10] arm64: dts: Add PM8916 " Andy Gross
2015-09-23 16:53   ` Andy Gross
2015-09-23 16:53 ` [Patch v2 06/10] regulators: qcom-smd: Add PM8916 support Andy Gross
2015-09-23 16:53   ` Andy Gross
2015-09-23 17:23   ` Bjorn Andersson
2015-09-23 17:23     ` Bjorn Andersson
2015-09-23 18:14     ` Andy Gross
2015-09-23 18:14       ` Andy Gross
2015-09-23 16:53 ` [Patch v2 07/10] arm: dts: Add APQ8084 SMEM nodes Andy Gross
2015-09-23 16:53   ` Andy Gross
2015-09-23 16:53 ` [Patch v2 08/10] arm: dts: Add RPM/SMD support on APQ8084 Andy Gross
2015-09-23 16:53   ` Andy Gross
2015-09-23 16:53 ` [Patch v2 09/10] arm: dts: Add support for PMA8084 " Andy Gross
2015-09-23 16:53   ` Andy Gross
2015-09-23 16:53 ` [Patch v2 10/10] regulator: qcom-smd: Add support for PMA8084 Andy Gross
2015-09-23 16:53   ` Andy Gross

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=1443027209-19444-4-git-send-email-agross@codeaurora.org \
    --to=agross@codeaurora.org \
    --cc=bjorn.andersson@sonymobile.com \
    --cc=broonie@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 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.