From: Jeremy McNicoll <jeremymc@redhat.com>
To: sboyd@codeaurora.org
Cc: linux-arm-msm@vger.kernel.org, linux-soc@vger.kernel.org,
devicetree@vger.kernel.org, linux-mmc@vger.kernel.org,
linux-clk@vger.kernel.org, andy.gross@linaro.org,
robh@kernel.org, arnd@arndb.de, bjorn.andersson@linaro.org,
riteshh@codeaurora.org, git@kchr.de, ulf.hansson@linaro.org,
jszhang@marvell.com
Subject: [PATCH V4 4/6] arm64: dts: smem enablement for msm8992
Date: Sun, 29 Jan 2017 21:44:33 -0800 [thread overview]
Message-ID: <1485755073-6416-1-git-send-email-jeremymc@redhat.com> (raw)
In-Reply-To: <20170127195831.GH8801@codeaurora.org>
SMEM allows various subsystems/processors to share
memory/data (heap format) in order to enable various
peripherals.
Signed-off-by: Jeremy McNicoll <jeremymc@redhat.com>
---
[ Moved sfpb_mutex and smem outside sock as they didn't have
'reg' entries. Everything else is exactly the same. ]
arch/arm64/boot/dts/qcom/msm8992.dtsi | 42 +++++++++++++++++++++++++++++++++++
1 file changed, 42 insertions(+)
diff --git a/arch/arm64/boot/dts/qcom/msm8992.dtsi b/arch/arm64/boot/dts/qcom/msm8992.dtsi
index 13fb6f7..1715787 100644
--- a/arch/arm64/boot/dts/qcom/msm8992.dtsi
+++ b/arch/arm64/boot/dts/qcom/msm8992.dtsi
@@ -79,6 +79,19 @@
regulator-always-on;
};
+ sfpb_mutex: hwmutex {
+ compatible = "qcom,sfpb-mutex";
+ syscon = <&sfpb_mutex_regs 0x0 0x100>;
+ #hwlock-cells = <1>;
+ };
+
+ smem {
+ compatible = "qcom,smem";
+ memory-region = <&smem_region>;
+ qcom,rpm-msg-ram = <&rpm_msg_ram>;
+ hwlocks = <&sfpb_mutex 3>;
+ };
+
soc {
#address-cells = <1>;
#size-cells = <1>;
@@ -93,6 +106,11 @@
<0xf9002000 0x1000>;
};
+ apcs: syscon@f900d000 {
+ compatible = "syscon";
+ reg = <0xf900d000 0x2000>;
+ };
+
timer@f9020000 {
#address-cells = <1>;
#size-cells = <1>;
@@ -183,12 +201,36 @@
#power-domain-cells = <1>;
reg = <0xfc400000 0x2000>;
};
+
+ rpm_msg_ram: memory@fc428000 {
+ compatible = "qcom,rpm-msg-ram";
+ reg = <0xfc428000 0x4000>;
+ };
+
+ sfpb_mutex_regs: syscon@fd484000 {
+ #address-cells = <1>;
+ #size-cells = <1>;
+ compatible = "syscon";
+ reg = <0xfd484000 0x400>;
+ };
};
memory {
device_type = "memory";
reg = <0 0 0 0>; // bootloader will update
};
+
+ reserved-memory {
+ #address-cells = <2>;
+ #size-cells = <2>;
+ ranges;
+
+ smem_region: smem@6a00000 {
+ reg = <0x0 0x6a00000 0x0 0x200000>;
+ no-map;
+ };
+ };
+
};
--
2.6.1
next prev parent reply other threads:[~2017-01-30 5:44 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-01-27 9:09 [PATCH V4 0/6] Enable onboard SDHCI for Nexus 5X (msm8992) Jeremy McNicoll
2017-01-27 9:10 ` [PATCH V4 1/6] clk: qcom: SDHCI enablement on Nexus 5X / 6P Jeremy McNicoll
2017-01-27 17:00 ` kbuild test robot
2017-01-27 21:33 ` Stephen Boyd
[not found] ` <1485508205-1904-1-git-send-email-jeremymc-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
2017-01-27 9:10 ` [PATCH V4 2/6] dt-bindings: qcom: clk: Add missing binding for SDCHI enablement on Nexus 5X/6P Jeremy McNicoll
2017-01-27 21:33 ` Stephen Boyd
2017-01-27 9:10 ` [PATCH V4 3/6] arm64: dts: msm8992 add fixed regulator Jeremy McNicoll
2017-01-27 9:10 ` [PATCH V4 4/6] arm64: dts: smem enablement for msm8992 Jeremy McNicoll
2017-01-27 19:58 ` Stephen Boyd
2017-01-30 5:44 ` Jeremy McNicoll [this message]
2018-03-14 2:52 ` Bjorn Andersson
2017-01-27 9:10 ` [PATCH V4 5/6] dts: arm64: Enable onboard SDHCI on msm8992 Jeremy McNicoll
2018-03-28 22:24 ` Bjorn Andersson
2017-01-27 9:10 ` [PATCH V4 6/6] dts: doc: rename rpm_requests to respect DT naming conventions Jeremy McNicoll
2017-02-01 14:06 ` Rob Herring
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=1485755073-6416-1-git-send-email-jeremymc@redhat.com \
--to=jeremymc@redhat.com \
--cc=andy.gross@linaro.org \
--cc=arnd@arndb.de \
--cc=bjorn.andersson@linaro.org \
--cc=devicetree@vger.kernel.org \
--cc=git@kchr.de \
--cc=jszhang@marvell.com \
--cc=linux-arm-msm@vger.kernel.org \
--cc=linux-clk@vger.kernel.org \
--cc=linux-mmc@vger.kernel.org \
--cc=linux-soc@vger.kernel.org \
--cc=riteshh@codeaurora.org \
--cc=robh@kernel.org \
--cc=sboyd@codeaurora.org \
--cc=ulf.hansson@linaro.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).