All of lore.kernel.org
 help / color / mirror / Atom feed
From: Bjorn Andersson <bjorn.andersson@linaro.org>
To: Andy Gross <agross@kernel.org>,
	Bjorn Andersson <bjorn.andersson@linaro.org>,
	Rob Herring <robh+dt@kernel.org>,
	Frank Rowand <frowand.list@gmail.com>
Cc: linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org,
	linux-kernel@vger.kernel.org, Chris Lew <clew@codeaurora.org>,
	Deepak Kumar Singh <deesin@codeaurora.org>
Subject: [PATCH v2 4/4] arm64: dts: qcom: sdm845: Drop standalone smem node
Date: Thu, 30 Sep 2021 11:21:11 -0700	[thread overview]
Message-ID: <20210930182111.57353-5-bjorn.andersson@linaro.org> (raw)
In-Reply-To: <20210930182111.57353-1-bjorn.andersson@linaro.org>

Now that the SMEM binding and driver allows the SMEM node to be
described in the reserved-memory region directly, move the compatible
and hwlock properties to the reserved-memory node and drop the
standadlone node.

Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
---

Changes since v1:
- Node name is changed to "smem", as "memory" is reserved for memory nodes.

 arch/arm64/boot/dts/qcom/sdm845.dtsi | 10 +++-------
 1 file changed, 3 insertions(+), 7 deletions(-)

diff --git a/arch/arm64/boot/dts/qcom/sdm845.dtsi b/arch/arm64/boot/dts/qcom/sdm845.dtsi
index beee57087d05..64119d2efdcf 100644
--- a/arch/arm64/boot/dts/qcom/sdm845.dtsi
+++ b/arch/arm64/boot/dts/qcom/sdm845.dtsi
@@ -99,9 +99,11 @@ aop_cmd_db_mem: memory@85fe0000 {
 			no-map;
 		};
 
-		smem_mem: memory@86000000 {
+		smem@86000000 {
+			compatible = "qcom,smem";
 			reg = <0x0 0x86000000 0 0x200000>;
 			no-map;
+			hwlocks = <&tcsr_mutex 3>;
 		};
 
 		tz_mem: memory@86200000 {
@@ -941,12 +943,6 @@ tcsr_mutex: hwlock {
 		#hwlock-cells = <1>;
 	};
 
-	smem {
-		compatible = "qcom,smem";
-		memory-region = <&smem_mem>;
-		hwlocks = <&tcsr_mutex 3>;
-	};
-
 	smp2p-cdsp {
 		compatible = "qcom,smp2p";
 		qcom,smem = <94>, <432>;
-- 
2.29.2


  parent reply	other threads:[~2021-09-30 18:19 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-09-30 18:21 [PATCH v2 0/4] dt-bindings: soc: smem: Make indirection optional Bjorn Andersson
2021-09-30 18:21 ` [PATCH v2 1/4] dt-bindings: sram: Document qcom,rpm-msg-ram Bjorn Andersson
2021-10-06 21:18   ` Rob Herring
2021-09-30 18:21 ` [PATCH v2 2/4] dt-bindings: soc: smem: Make indirection optional Bjorn Andersson
2021-10-06 21:19   ` Rob Herring
2021-09-30 18:21 ` [PATCH v2 3/4] soc: qcom: smem: Support reserved-memory description Bjorn Andersson
2021-10-01  7:08   ` Vladimir Zapolskiy
2021-10-01 14:23     ` Bjorn Andersson
2021-10-06 21:20   ` Rob Herring
2021-09-30 18:21 ` Bjorn Andersson [this message]
2021-10-17 15:31   ` (subset) [PATCH v2 4/4] arm64: dts: qcom: sdm845: Drop standalone smem node Bjorn Andersson
2021-10-01  7:11 ` [PATCH v2 0/4] dt-bindings: soc: smem: Make indirection optional Vladimir Zapolskiy
2021-10-16  4:40 ` patchwork-bot+linux-arm-msm
2021-10-17 15:31 ` (subset) " Bjorn Andersson

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=20210930182111.57353-5-bjorn.andersson@linaro.org \
    --to=bjorn.andersson@linaro.org \
    --cc=agross@kernel.org \
    --cc=clew@codeaurora.org \
    --cc=deesin@codeaurora.org \
    --cc=devicetree@vger.kernel.org \
    --cc=frowand.list@gmail.com \
    --cc=linux-arm-msm@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=robh+dt@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.