linux-arm-msm.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org>
To: bjorn.andersson@linaro.org
Cc: linux-arm-msm@vger.kernel.org, linux-kernel@vger.kernel.org,
	Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org>
Subject: [PATCH 15/15] ARM: dts: qcom: sdx55: Add Modem remoteproc node
Date: Thu,  8 Apr 2021 22:34:57 +0530	[thread overview]
Message-ID: <20210408170457.91409-16-manivannan.sadhasivam@linaro.org> (raw)
In-Reply-To: <20210408170457.91409-1-manivannan.sadhasivam@linaro.org>

Add modem support to SDX55 using the PAS remoteproc driver.

Signed-off-by: Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org>
---
 .../boot/dts/qcom-sdx55-telit-fn980-tlb.dts   |  5 +++
 arch/arm/boot/dts/qcom-sdx55.dtsi             | 33 +++++++++++++++++++
 2 files changed, 38 insertions(+)

diff --git a/arch/arm/boot/dts/qcom-sdx55-telit-fn980-tlb.dts b/arch/arm/boot/dts/qcom-sdx55-telit-fn980-tlb.dts
index 6da366ec15b3..3065f84634b8 100644
--- a/arch/arm/boot/dts/qcom-sdx55-telit-fn980-tlb.dts
+++ b/arch/arm/boot/dts/qcom-sdx55-telit-fn980-tlb.dts
@@ -255,6 +255,11 @@ nand@0 {
 	};
 };
 
+&remoteproc_mpss {
+	status = "okay";
+	memory-region = <&mpss_adsp_mem>;
+};
+
 &usb_hsphy {
 	status = "okay";
 	vdda-pll-supply = <&vreg_l4e_bb_0p875>;
diff --git a/arch/arm/boot/dts/qcom-sdx55.dtsi b/arch/arm/boot/dts/qcom-sdx55.dtsi
index aa3edecf5810..bed83d1ddc29 100644
--- a/arch/arm/boot/dts/qcom-sdx55.dtsi
+++ b/arch/arm/boot/dts/qcom-sdx55.dtsi
@@ -328,6 +328,39 @@ sdhc_1: sdhci@8804000 {
 			status = "disabled";
 		};
 
+		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 SDX55_CX>,
+					<&rpmhpd SDX55_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>;
+			};
+		};
+
 		usb: usb@a6f8800 {
 			compatible = "qcom,sdx55-dwc3", "qcom,dwc3";
 			reg = <0x0a6f8800 0x400>;
-- 
2.25.1


      parent reply	other threads:[~2021-04-08 17:06 UTC|newest]

Thread overview: 20+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-04-08 17:04 [PATCH 00/15] SDX55 devicetree updates Manivannan Sadhasivam
2021-04-08 17:04 ` [PATCH 01/15] ARM: dts: qcom: sdx55: Add support for A7 PLL clock Manivannan Sadhasivam
2021-04-08 17:04 ` [PATCH 02/15] ARM: dts: qcom: sdx55: Add support for APCS block Manivannan Sadhasivam
2021-04-08 17:04 ` [PATCH 03/15] ARM: dts: qcom: sdx55: Add CPUFreq support Manivannan Sadhasivam
2021-04-08 17:04 ` [PATCH 04/15] ARM: dts: qcom: sdx55: Add modem SMP2P node Manivannan Sadhasivam
2021-04-08 17:04 ` [PATCH 05/15] ARM: dts: qcom: sdx55: Add IMEM and PIL info region Manivannan Sadhasivam
2021-04-08 17:04 ` [PATCH 06/15] dt-bindings: firmware: scm: Add compatible for SDX55 Manivannan Sadhasivam
2021-04-09 18:51   ` Rob Herring
2021-04-08 17:04 ` [PATCH 07/15] ARM: dts: qcom: sdx55: Add SCM node Manivannan Sadhasivam
2021-04-08 17:04 ` [PATCH 08/15] ARM: dts: qcom: sdx55: Add interconnect nodes Manivannan Sadhasivam
2021-04-08 17:04 ` [PATCH 09/15] ARM: dts: qcom: Fix node name for NAND controller node Manivannan Sadhasivam
2021-04-08 17:04 ` [PATCH 10/15] dt-bindings: arm: qcom: Add binding for Telit FN980 TLB board Manivannan Sadhasivam
2021-04-09 18:52   ` Rob Herring
2021-04-08 17:04 ` [PATCH 11/15] ARM: dts: qcom: sdx55: Add basic devicetree support for Telit FN980 TLB Manivannan Sadhasivam
2021-04-08 17:04 ` [PATCH 12/15] dt-bindings: arm: qcom: Add binding for Thundercomm T55 kit Manivannan Sadhasivam
2021-04-09 18:52   ` Rob Herring
2021-04-08 17:04 ` [PATCH 13/15] ARM: dts: qcom: sdx55: Add basic devicetree support for Thundercomm T55 Manivannan Sadhasivam
2021-04-08 17:04 ` [PATCH 14/15] dt-bindings: remoteproc: qcom: pas: Add binding for SDX55 Manivannan Sadhasivam
2021-04-09 18:52   ` Rob Herring
2021-04-08 17:04 ` Manivannan Sadhasivam [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=20210408170457.91409-16-manivannan.sadhasivam@linaro.org \
    --to=manivannan.sadhasivam@linaro.org \
    --cc=bjorn.andersson@linaro.org \
    --cc=linux-arm-msm@vger.kernel.org \
    --cc=linux-kernel@vger.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;
as well as URLs for NNTP newsgroup(s).