devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Rohit Agarwal <quic_rohiagar@quicinc.com>
To: agross@kernel.org, bjorn.andersson@linaro.org,
	robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org,
	wim@linux-watchdog.org, linux@roeck-us.net
Cc: linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org,
	linux-kernel@vger.kernel.org, linux-watchdog@vger.kernel.org,
	manivannan.sadhasivam@linaro.org,
	Rohit Agarwal <quic_rohiagar@quicinc.com>
Subject: [PATCH 06/11] ARM: dts: qcom: sdx65: Add Modem remoteproc node
Date: Wed,  1 Jun 2022 16:15:07 +0530	[thread overview]
Message-ID: <1654080312-5408-7-git-send-email-quic_rohiagar@quicinc.com> (raw)
In-Reply-To: <1654080312-5408-1-git-send-email-quic_rohiagar@quicinc.com>

Add modem support to SDX65 using the PAS remoteproc driver.

Signed-off-by: Rohit Agarwal <quic_rohiagar@quicinc.com>
---
 arch/arm/boot/dts/qcom-sdx65.dtsi | 33 +++++++++++++++++++++++++++++++++
 1 file changed, 33 insertions(+)

diff --git a/arch/arm/boot/dts/qcom-sdx65.dtsi b/arch/arm/boot/dts/qcom-sdx65.dtsi
index ec08ae1..5e4687d 100644
--- a/arch/arm/boot/dts/qcom-sdx65.dtsi
+++ b/arch/arm/boot/dts/qcom-sdx65.dtsi
@@ -305,6 +305,39 @@
 			#hwlock-cells = <1>;
 		};
 
+		remoteproc_mpss: remoteproc@4080000 {
+			compatible = "qcom,sdx55-mpss-pas";
+			reg = <0x04080000 0x4040>;
+
+			interrupts-extended = <&intc GIC_SPI 250 IRQ_TYPE_EDGE_RISING>,
+					      <&modem_smp2p_in 0 IRQ_TYPE_EDGE_RISING>,
+					      <&modem_smp2p_in 1 IRQ_TYPE_EDGE_RISING>,
+					      <&modem_smp2p_in 2 IRQ_TYPE_EDGE_RISING>,
+					      <&modem_smp2p_in 3 IRQ_TYPE_EDGE_RISING>,
+					      <&modem_smp2p_in 7 IRQ_TYPE_EDGE_RISING>;
+			interrupt-names = "wdog", "fatal", "ready", "handover",
+					  "stop-ack", "shutdown-ack";
+
+			clocks = <&rpmhcc RPMH_CXO_CLK>;
+			clock-names = "xo";
+
+			power-domains = <&rpmhpd SDX65_CX>,
+					<&rpmhpd SDX65_MSS>;
+			power-domain-names = "cx", "mss";
+
+			qcom,smem-states = <&modem_smp2p_out 0>;
+			qcom,smem-state-names = "stop";
+
+			status = "disabled";
+
+			glink-edge {
+				interrupts = <GIC_SPI 114 IRQ_TYPE_EDGE_RISING>;
+				label = "mpss";
+				qcom,remote-pid = <1>;
+				mboxes = <&apcs 15>;
+			};
+		};
+
 		sdhc_1: sdhci@8804000 {
 			compatible = "qcom,sdx65-sdhci", "qcom,sdhci-msm-v5";
 			reg = <0x08804000 0x1000>;
-- 
2.7.4


  parent reply	other threads:[~2022-06-01 10:45 UTC|newest]

Thread overview: 20+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-06-01 10:45 [PATCH 00/11] Devicetree Changes SDX65 Rohit Agarwal
2022-06-01 10:45 ` [PATCH 01/11] ARM: dts: qcom: sdx65: Add CPUFreq support Rohit Agarwal
2022-06-01 10:45 ` [PATCH 02/11] ARM: dts: qcom: sdx65: Add modem SMP2P node Rohit Agarwal
2022-06-01 10:45 ` [PATCH 03/11] ARM: dts: qcom: sdx65: Add IMEM and PIL info region Rohit Agarwal
2022-06-01 10:45 ` [PATCH 04/11] dt-bindings: firmware: scm: Add compatible for SDX65 Rohit Agarwal
2022-06-01 11:01   ` Krzysztof Kozlowski
2022-06-28 20:19   ` (subset) " Bjorn Andersson
2022-06-01 10:45 ` [PATCH 05/11] ARM: dts: qcom: sdx65: Add SCM node Rohit Agarwal
2022-06-01 10:45 ` Rohit Agarwal [this message]
2022-06-01 10:45 ` [PATCH 07/11] ARM: dts: qcom: sdx65-mtp: Enable modem Rohit Agarwal
2022-06-01 10:45 ` [PATCH 08/11] ARM: dts: qcom: sdx65-mtp: Increase the vmalloc size Rohit Agarwal
2022-06-01 11:06   ` Krzysztof Kozlowski
2022-06-01 10:45 ` [PATCH 09/11] dt-bindings: watchdog: Add binding for Qcom SDX65 Rohit Agarwal
2022-06-01 11:02   ` Krzysztof Kozlowski
2022-06-01 13:53   ` Guenter Roeck
2022-06-01 10:45 ` [PATCH 10/11] ARM: dts: qcom: sdx65: Add Watchdog support Rohit Agarwal
2022-06-01 11:03   ` Krzysztof Kozlowski
2022-06-28 20:19   ` (subset) " Bjorn Andersson
2022-06-01 10:45 ` [PATCH 11/11] ARM: dts: qcom: sdx65: Add pshold support Rohit Agarwal
2022-06-28 20:19 ` (subset) [PATCH 00/11] Devicetree Changes SDX65 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=1654080312-5408-7-git-send-email-quic_rohiagar@quicinc.com \
    --to=quic_rohiagar@quicinc.com \
    --cc=agross@kernel.org \
    --cc=bjorn.andersson@linaro.org \
    --cc=devicetree@vger.kernel.org \
    --cc=krzysztof.kozlowski+dt@linaro.org \
    --cc=linux-arm-msm@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-watchdog@vger.kernel.org \
    --cc=linux@roeck-us.net \
    --cc=manivannan.sadhasivam@linaro.org \
    --cc=robh+dt@kernel.org \
    --cc=wim@linux-watchdog.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).