From: Mathieu Olivari <mathieu@codeaurora.org>
To: robh+dt@kernel.org, pawel.moll@arm.com, mark.rutland@arm.com,
ijc+devicetree@hellion.org.uk, galak@codeaurora.org,
linux@arm.linux.org.uk, dwmw2@infradead.org,
computersforpeace@gmail.com, agross@codeaurora.org,
sboyd@codeaurora.org, bjorn.andersson@sonymobile.com
Cc: devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org,
linux-kernel@vger.kernel.org, linux-mtd@lists.infradead.org,
Mathieu Olivari <mathieu@codeaurora.org>
Subject: [PATCH 2/3] ARM: qcom: add SMEM device node to IPQ806x dts
Date: Thu, 13 Aug 2015 14:33:39 -0700 [thread overview]
Message-ID: <1439501620-24073-3-git-send-email-mathieu@codeaurora.org> (raw)
In-Reply-To: <1439501620-24073-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>
---
arch/arm/boot/dts/qcom-ipq8064.dtsi | 11 ++++++++++-
1 file changed, 10 insertions(+), 1 deletion(-)
diff --git a/arch/arm/boot/dts/qcom-ipq8064.dtsi b/arch/arm/boot/dts/qcom-ipq8064.dtsi
index ea7b959..9ee9780 100644
--- a/arch/arm/boot/dts/qcom-ipq8064.dtsi
+++ b/arch/arm/boot/dts/qcom-ipq8064.dtsi
@@ -55,7 +55,7 @@
no-map;
};
- smem@41000000 {
+ smem: smem@41000000 {
reg = <0x41000000 0x200000>;
no-map;
};
@@ -79,6 +79,15 @@
#hwlock-cells = <1>;
};
+
+ smem {
+ compatible = "qcom,smem";
+
+ memory-region = <&smem>;
+ reg = <0x41000000 0x4000>;
+
+ hwlocks = <&sfpb_mutex 3>;
+ };
};
soc: soc {
--
2.1.4
next prev parent reply other threads:[~2015-08-13 21:33 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-08-13 21:33 [PATCH 0/3] qcom: Add SMEM MTD parser Mathieu Olivari
[not found] ` <1439501620-24073-1-git-send-email-mathieu-sgV2jX0FEOL9JmXXK+q4OQ@public.gmane.org>
2015-08-13 21:33 ` [PATCH 1/3] ARM: qcom: add SFPB nodes to IPQ806x dts Mathieu Olivari
[not found] ` <1439501620-24073-2-git-send-email-mathieu-sgV2jX0FEOL9JmXXK+q4OQ@public.gmane.org>
2015-08-13 23:18 ` Stephen Boyd
2015-08-14 17:25 ` Mathieu Olivari
2015-08-13 21:33 ` Mathieu Olivari [this message]
[not found] ` <1439501620-24073-3-git-send-email-mathieu-sgV2jX0FEOL9JmXXK+q4OQ@public.gmane.org>
2015-08-13 23:57 ` [PATCH 2/3] ARM: qcom: add SMEM device node " Stephen Boyd
2015-08-14 18:54 ` Mathieu Olivari
2015-08-13 21:33 ` [PATCH 3/3] mtd: add SMEM parser for QCOM platforms Mathieu Olivari
[not found] ` <1439501620-24073-4-git-send-email-mathieu-sgV2jX0FEOL9JmXXK+q4OQ@public.gmane.org>
2015-08-14 0:38 ` Stephen Boyd
2015-08-14 19:08 ` Mathieu Olivari
-- strict thread matches above, loose matches on Subject: below --
2015-08-15 0:46 [PATCH 0/3] qcom: Add SMEM MTD parser Mathieu Olivari
2015-08-15 0:46 ` [PATCH 2/3] ARM: qcom: add SMEM device node to IPQ806x dts Mathieu Olivari
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=1439501620-24073-3-git-send-email-mathieu@codeaurora.org \
--to=mathieu@codeaurora.org \
--cc=agross@codeaurora.org \
--cc=bjorn.andersson@sonymobile.com \
--cc=computersforpeace@gmail.com \
--cc=devicetree@vger.kernel.org \
--cc=dwmw2@infradead.org \
--cc=galak@codeaurora.org \
--cc=ijc+devicetree@hellion.org.uk \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-mtd@lists.infradead.org \
--cc=linux@arm.linux.org.uk \
--cc=mark.rutland@arm.com \
--cc=pawel.moll@arm.com \
--cc=robh+dt@kernel.org \
--cc=sboyd@codeaurora.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).