Devicetree
 help / color / mirror / Atom feed
From: Robert Marko <robimarko@gmail.com>
To: andersson@kernel.org, konradybcio@kernel.org,
	abelvesa@kernel.org, robh@kernel.org, krzk+dt@kernel.org,
	conor+dt@kernel.org, agross@kernel.org,
	linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org
Cc: Robert Marko <robimarko@gmail.com>
Subject: [PATCH 3/3] arm64: dts: qcom: ipq8074: add WCSS SMP2P node
Date: Thu, 26 Nov 2026 11:56:52 +0100	[thread overview]
Message-ID: <20261126105722.188103-3-robimarko@gmail.com> (raw)
In-Reply-To: <20261126105722.188103-1-robimarko@gmail.com>

Describe the SMP2P link between the application processor and WCSS.
Provide the inbound interrupt channel and outbound state channel
needed by the secure WCSS remote processor.

WCSS also needs an outbound kick after its inbound entry returns to
zero during a restart. Enable the restart-kick property for this link.

Signed-off-by: Robert Marko <robimarko@gmail.com>
---
 arch/arm64/boot/dts/qcom/ipq8074.dtsi | 21 +++++++++++++++++++++
 1 file changed, 21 insertions(+)

diff --git a/arch/arm64/boot/dts/qcom/ipq8074.dtsi b/arch/arm64/boot/dts/qcom/ipq8074.dtsi
index 1d1c9aab5fdb..7842a2bc4175 100644
--- a/arch/arm64/boot/dts/qcom/ipq8074.dtsi
+++ b/arch/arm64/boot/dts/qcom/ipq8074.dtsi
@@ -142,6 +142,27 @@ scm {
 		};
 	};
 
+	shared-memory {
+		compatible = "qcom,smp2p";
+		interrupts = <GIC_SPI 322 IRQ_TYPE_EDGE_RISING>;
+		mboxes = <&apcs_glb 9>;
+		qcom,local-pid = <0>;
+		qcom,remote-pid = <1>;
+		qcom,smem = <435>, <428>;
+		qcom,wcss-restart-kick;
+
+		wcss_smp2p_out: master-kernel {
+			qcom,entry-name = "master-kernel";
+			#qcom,smem-state-cells = <1>;
+		};
+
+		wcss_smp2p_in: slave-kernel {
+			interrupt-controller;
+			#interrupt-cells = <2>;
+			qcom,entry-name = "slave-kernel";
+		};
+	};
+
 	soc: soc@0 {
 		#address-cells = <1>;
 		#size-cells = <1>;
-- 
2.56.1


      parent reply	other threads:[~2026-11-26 10:57 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-11-26 10:56 [PATCH 1/3] dt-bindings: soc: qcom: smp2p: document WCSS restart kick Robert Marko
2026-11-26 10:56 ` [PATCH 2/3] soc: qcom: smp2p: kick WCSS after restart when requested Robert Marko
2026-11-26 11:08   ` sashiko-bot
2026-11-26 10:56 ` Robert Marko [this message]

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=20261126105722.188103-3-robimarko@gmail.com \
    --to=robimarko@gmail.com \
    --cc=abelvesa@kernel.org \
    --cc=agross@kernel.org \
    --cc=andersson@kernel.org \
    --cc=conor+dt@kernel.org \
    --cc=devicetree@vger.kernel.org \
    --cc=konradybcio@kernel.org \
    --cc=krzk+dt@kernel.org \
    --cc=linux-arm-msm@vger.kernel.org \
    --cc=robh@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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox