linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
From: mathieu@codeaurora.org (Mathieu Olivari)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH v4 2/3] ARM: qcom: add SMEM device node to IPQ806x dts
Date: Tue, 18 Aug 2015 14:04:19 -0700	[thread overview]
Message-ID: <1439931860-7473-3-git-send-email-mathieu@codeaurora.org> (raw)
In-Reply-To: <1439931860-7473-1-git-send-email-mathieu@codeaurora.org>

SMEM is used on IPQ806x to store various board related information such
as boot device and flash partition layout. We'll declare it as a device
so we can make use of it thanks to the new SMEM soc driver.

Signed-off-by: Mathieu Olivari <mathieu@codeaurora.org>
---

Notes:
    v2:
    *Rename "smem" tag into "smem_region"

 arch/arm/boot/dts/qcom-ipq8064.dtsi | 8 +++++++-
 1 file changed, 7 insertions(+), 1 deletion(-)

diff --git a/arch/arm/boot/dts/qcom-ipq8064.dtsi b/arch/arm/boot/dts/qcom-ipq8064.dtsi
index 8d366ae..9834c94 100644
--- a/arch/arm/boot/dts/qcom-ipq8064.dtsi
+++ b/arch/arm/boot/dts/qcom-ipq8064.dtsi
@@ -55,7 +55,7 @@
 			no-map;
 		};
 
-		smem at 41000000 {
+		smem_region: smem at 41000000 {
 			reg = <0x41000000 0x200000>;
 			no-map;
 		};
@@ -341,4 +341,10 @@
 
 		#hwlock-cells = <1>;
 	};
+
+	smem {
+		compatible = "qcom,smem";
+		memory-region = <&smem_region>;
+		hwlocks = <&sfpb_mutex 3>;
+	};
 };
-- 
2.1.4

  parent reply	other threads:[~2015-08-18 21:04 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-08-18 21:04 [PATCH v4 0/3] qcom: Add SMEM MTD parser Mathieu Olivari
2015-08-18 21:04 ` [PATCH v4 1/3] ARM: qcom: add SFPB nodes to IPQ806x dts Mathieu Olivari
2015-08-19 16:35   ` Bjorn Andersson
2015-08-25  0:24   ` Stephen Boyd
2015-08-18 21:04 ` Mathieu Olivari [this message]
2015-08-19 16:36   ` [PATCH v4 2/3] ARM: qcom: add SMEM device node " Bjorn Andersson
2015-08-25  0:25   ` Stephen Boyd
2015-08-18 21:04 ` [PATCH v4 3/3] mtd: add SMEM parser for QCOM platforms Mathieu Olivari
2015-08-19 16:37   ` Bjorn Andersson
2015-08-25  0:35   ` Stephen Boyd

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=1439931860-7473-3-git-send-email-mathieu@codeaurora.org \
    --to=mathieu@codeaurora.org \
    --cc=linux-arm-kernel@lists.infradead.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).