diff mbox series

arm64: dts: qcom: sdx75: Add modem SMP2P node

Message ID 20240426112837.17478-1-quic_kaushalk@quicinc.com (mailing list archive)
State Queued
Headers show
Series arm64: dts: qcom: sdx75: Add modem SMP2P node | expand

Commit Message

Kaushal Kumar April 26, 2024, 11:28 a.m. UTC
Add SMP2P node for the SDX75 platform to communicate with the modem.

Signed-off-by: Kaushal Kumar <quic_kaushalk@quicinc.com>
---
This patch is dependent on the series published [1].

[1]: https://lore.kernel.org/all/20240426055326.3141727-1-quic_rohiagar@quicinc.com/

 arch/arm64/boot/dts/qcom/sdx75.dtsi | 35 +++++++++++++++++++++++++++++
 1 file changed, 35 insertions(+)

--
2.17.1

Comments

Bjorn Andersson May 27, 2024, 3 a.m. UTC | #1
On Fri, 26 Apr 2024 16:58:37 +0530, Kaushal Kumar wrote:
> Add SMP2P node for the SDX75 platform to communicate with the modem.
> 
> 

Applied, thanks!

[1/1] arm64: dts: qcom: sdx75: Add modem SMP2P node
      commit: 355e5d72a4e52c6b7e56913036cb0daa36317b29

Best regards,
diff mbox series

Patch

diff --git a/arch/arm64/boot/dts/qcom/sdx75.dtsi b/arch/arm64/boot/dts/qcom/sdx75.dtsi
index 96e3eec57008..536f41f856c8 100644
--- a/arch/arm64/boot/dts/qcom/sdx75.dtsi
+++ b/arch/arm64/boot/dts/qcom/sdx75.dtsi
@@ -406,6 +406,41 @@ 
 		};
 	};

+	smp2p-modem {
+		compatible = "qcom,smp2p";
+		qcom,smem = <435>, <428>;
+		interrupts-extended = <&ipcc IPCC_CLIENT_MPSS
+					     IPCC_MPROC_SIGNAL_SMP2P
+					     IRQ_TYPE_EDGE_RISING>;
+		mboxes = <&ipcc IPCC_CLIENT_MPSS
+				IPCC_MPROC_SIGNAL_SMP2P>;
+
+		qcom,local-pid = <0>;
+		qcom,remote-pid = <1>;
+
+		smp2p_modem_out: master-kernel {
+			qcom,entry-name = "master-kernel";
+			#qcom,smem-state-cells = <1>;
+		};
+
+		smp2p_modem_in: slave-kernel {
+			qcom,entry-name = "slave-kernel";
+			interrupt-controller;
+			#interrupt-cells = <2>;
+		};
+
+		ipa_smp2p_out: ipa-ap-to-modem {
+			qcom,entry-name = "ipa";
+			#qcom,smem-state-cells = <1>;
+		};
+
+		ipa_smp2p_in: ipa-modem-to-ap {
+			qcom,entry-name = "ipa";
+			interrupt-controller;
+			#interrupt-cells = <2>;
+		};
+	};
+
 	smem: qcom,smem {
 		compatible = "qcom,smem";
 		memory-region = <&smem_mem>;