mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH v6 0/3] arm64: dts: qcom: eliza: Add CDSP support and enable it on MTP and CQS SoM
@ 2026-09-04 12:21 Abel Vesa
  2026-09-04 12:21 ` [PATCH v6 1/3] arm64: dts: qcom: eliza: Describe the CDSP remoteproc Abel Vesa
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: Abel Vesa @ 2026-09-04 12:21 UTC (permalink / raw)
  To: Bjorn Andersson, Konrad Dybcio, Rob Herring, Krzysztof Kozlowski,
	Conor Dooley
  Cc: linux-arm-msm, devicetree, linux-kernel, Abel Vesa,
	Konrad Dybcio, Dmitry Baryshkov

Describe the CDSP node, the glink-edge and the related SMP2P, then enable
the CDSP on both the MTP and CQS SoM.

FastRPC node will be sent later on, along with the ADSP related one.

Signed-off-by: Abel Vesa <abel.vesa@oss.qualcomm.com>

Changes in v6:
- Rebased on next-20260903.
- Fixed conflicts due to GPU patchset being already merged.
- Link to v5: https://patch.msgid.link/20260831-dts-qcom-eliza-add-cdsp-v5-0-dda8af2d2920@oss.qualcomm.com

Changes in v5:
- Rebased on next-20260831.
- Link to v4: https://patch.msgid.link/20260804-dts-qcom-eliza-add-cdsp-v4-0-fa593983e486@oss.qualcomm.com

Changes in v4:
- Rebased on next-20260803.
- Link to v3: https://patch.msgid.link/20260723-dts-qcom-eliza-add-cdsp-v3-0-b535200996ed@oss.qualcomm.com

Changes in v3:
- Rebased on next-20260722.
- Picked up Dmitry's R-b tags for MTP and CQS SoM patches.
- Reworded DTSI commit message to suggest that FastRPC will be
  sent separately, as suggested by Dmitry.
- Added the GLINK edge node.
- Link to v2: https://patch.msgid.link/20260721-dts-qcom-eliza-add-cdsp-v2-0-e1e52bfb3c12@oss.qualcomm.com

Changes in v2:
- Rebased on next-20260720
- Picked up Konrad's R-b tags.
- Link to v1: https://patch.msgid.link/20260714-dts-qcom-eliza-add-cdsp-v1-0-525e757a23b0@oss.qualcomm.com

---
Abel Vesa (3):
      arm64: dts: qcom: eliza: Describe the CDSP remoteproc
      arm64: dts: qcom: eliza-mtp: Enable CDSP remoteproc
      arm64: dts: qcom: eliza-cqs-som: Enable CDSP remoteproc

 arch/arm64/boot/dts/qcom/eliza-cqs-som.dtsi |  7 +++
 arch/arm64/boot/dts/qcom/eliza-mtp.dts      |  7 +++
 arch/arm64/boot/dts/qcom/eliza.dtsi         | 75 +++++++++++++++++++++++++++++
 3 files changed, 89 insertions(+)
---
base-commit: 9d80aa4617b32f5054c5aa471d06b66704854935
change-id: 20260714-dts-qcom-eliza-add-cdsp-0288fd79c8c2

Best regards,
--  
Abel Vesa <abel.vesa@oss.qualcomm.com>


^ permalink raw reply	[flat|nested] 5+ messages in thread

* [PATCH v6 1/3] arm64: dts: qcom: eliza: Describe the CDSP remoteproc
  2026-09-04 12:21 [PATCH v6 0/3] arm64: dts: qcom: eliza: Add CDSP support and enable it on MTP and CQS SoM Abel Vesa
@ 2026-09-04 12:21 ` Abel Vesa
  2026-09-04 12:21 ` [PATCH v6 2/3] arm64: dts: qcom: eliza-mtp: Enable " Abel Vesa
                   ` (2 subsequent siblings)
  3 siblings, 0 replies; 5+ messages in thread
From: Abel Vesa @ 2026-09-04 12:21 UTC (permalink / raw)
  To: Bjorn Andersson, Konrad Dybcio, Rob Herring, Krzysztof Kozlowski,
	Conor Dooley
  Cc: linux-arm-msm, devicetree, linux-kernel, Abel Vesa, Konrad Dybcio

Describe the CDSP remoteproc along with the glink-edge subnode and the
related SMP2P. FastRPC subnode will be added later.

Reviewed-by: Konrad Dybcio <konrad.dybcio@oss.qualcomm.com>
Signed-off-by: Abel Vesa <abel.vesa@oss.qualcomm.com>
---
 arch/arm64/boot/dts/qcom/eliza.dtsi | 75 +++++++++++++++++++++++++++++++++++++
 1 file changed, 75 insertions(+)

diff --git a/arch/arm64/boot/dts/qcom/eliza.dtsi b/arch/arm64/boot/dts/qcom/eliza.dtsi
index a84db7c80b26..f71e391a29de 100644
--- a/arch/arm64/boot/dts/qcom/eliza.dtsi
+++ b/arch/arm64/boot/dts/qcom/eliza.dtsi
@@ -641,6 +641,30 @@ smp2p_adsp_in: slave-kernel {
 		};
 	};
 
+	smp2p-cdsp {
+		compatible = "qcom,smp2p";
+		qcom,smem = <94>, <432>;
+		interrupts-extended = <&ipcc IPCC_CLIENT_CDSP
+					     IPCC_MPROC_SIGNAL_SMP2P
+					     IRQ_TYPE_EDGE_RISING>;
+		mboxes = <&ipcc IPCC_CLIENT_CDSP
+				IPCC_MPROC_SIGNAL_SMP2P>;
+
+		qcom,local-pid = <0>;
+		qcom,remote-pid = <5>;
+
+		smp2p_cdsp_out: master-kernel {
+			qcom,entry-name = "master-kernel";
+			#qcom,smem-state-cells = <1>;
+		};
+
+		smp2p_cdsp_in: slave-kernel {
+			qcom,entry-name = "slave-kernel";
+			interrupt-controller;
+			#interrupt-cells = <2>;
+		};
+	};
+
 	soc: soc@0 {
 		compatible = "simple-bus";
 
@@ -4499,6 +4523,57 @@ nsp_noc: interconnect@320c0000 {
 			#interconnect-cells = <2>;
 		};
 
+		remoteproc_cdsp: remoteproc@32300000 {
+			compatible = "qcom,eliza-cdsp-pas";
+			reg = <0x0 0x32300000 0x0 0x10000>;
+
+			interrupts-extended = <&intc GIC_SPI 578 IRQ_TYPE_EDGE_RISING>,
+					      <&smp2p_cdsp_in 0 IRQ_TYPE_EDGE_RISING>,
+					      <&smp2p_cdsp_in 1 IRQ_TYPE_EDGE_RISING>,
+					      <&smp2p_cdsp_in 2 IRQ_TYPE_EDGE_RISING>,
+					      <&smp2p_cdsp_in 3 IRQ_TYPE_EDGE_RISING>,
+					      <&smp2p_cdsp_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 RPMHPD_CX>,
+					<&rpmhpd RPMHPD_MX>,
+					<&rpmhpd RPMHPD_NSP>;
+			power-domain-names = "cx",
+					     "mx",
+					     "nsp";
+
+			interconnects = <&nsp_noc MASTER_CDSP_PROC QCOM_ICC_TAG_ALWAYS
+					 &mc_virt SLAVE_EBI1 QCOM_ICC_TAG_ALWAYS>;
+
+			memory-region = <&cdsp_mem>, <&q6_cdsp_dtb_mem>, <&global_sync_mem>;
+
+			qcom,qmp = <&aoss_qmp>;
+
+			qcom,smem-states = <&smp2p_cdsp_out 0>;
+			qcom,smem-state-names = "stop";
+
+			status = "disabled";
+
+			glink-edge {
+				interrupts-extended = <&ipcc IPCC_CLIENT_CDSP
+							     IPCC_MPROC_SIGNAL_GLINK_QMP
+							     IRQ_TYPE_EDGE_RISING>;
+				mboxes = <&ipcc IPCC_CLIENT_CDSP
+						IPCC_MPROC_SIGNAL_GLINK_QMP>;
+
+				label = "cdsp";
+				qcom,remote-pid = <5>;
+			};
+		};
+
 		gpu: gpu@3d00000 {
 			compatible = "qcom,adreno-43020100", "qcom,adreno";
 			reg = <0x0 0x03d00000 0x0 0x40000>,

-- 
2.54.0


^ permalink raw reply	[flat|nested] 5+ messages in thread

* [PATCH v6 2/3] arm64: dts: qcom: eliza-mtp: Enable CDSP remoteproc
  2026-09-04 12:21 [PATCH v6 0/3] arm64: dts: qcom: eliza: Add CDSP support and enable it on MTP and CQS SoM Abel Vesa
  2026-09-04 12:21 ` [PATCH v6 1/3] arm64: dts: qcom: eliza: Describe the CDSP remoteproc Abel Vesa
@ 2026-09-04 12:21 ` Abel Vesa
  2026-09-04 12:21 ` [PATCH v6 3/3] arm64: dts: qcom: eliza-cqs-som: " Abel Vesa
  2026-09-11  2:25 ` [PATCH v6 0/3] arm64: dts: qcom: eliza: Add CDSP support and enable it on MTP and CQS SoM Bjorn Andersson
  3 siblings, 0 replies; 5+ messages in thread
From: Abel Vesa @ 2026-09-04 12:21 UTC (permalink / raw)
  To: Bjorn Andersson, Konrad Dybcio, Rob Herring, Krzysztof Kozlowski,
	Conor Dooley
  Cc: linux-arm-msm, devicetree, linux-kernel, Abel Vesa,
	Konrad Dybcio, Dmitry Baryshkov

Enable the CDSP remoteproc node on the Eliza MTP by providing the firmware
names and marking the node as available.

Reviewed-by: Konrad Dybcio <konrad.dybcio@oss.qualcomm.com>
Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com>
Signed-off-by: Abel Vesa <abel.vesa@oss.qualcomm.com>
---
 arch/arm64/boot/dts/qcom/eliza-mtp.dts | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/arch/arm64/boot/dts/qcom/eliza-mtp.dts b/arch/arm64/boot/dts/qcom/eliza-mtp.dts
index 9ce41ba4da55..d22854856cd9 100644
--- a/arch/arm64/boot/dts/qcom/eliza-mtp.dts
+++ b/arch/arm64/boot/dts/qcom/eliza-mtp.dts
@@ -492,6 +492,13 @@ &remoteproc_adsp {
 	status = "okay";
 };
 
+&remoteproc_cdsp {
+	firmware-name = "qcom/eliza/cdsp.mbn",
+			"qcom/eliza/cdsp_dtb.mbn";
+
+	status = "okay";
+};
+
 &spi8 {
 	status = "okay";
 

-- 
2.54.0


^ permalink raw reply	[flat|nested] 5+ messages in thread

* [PATCH v6 3/3] arm64: dts: qcom: eliza-cqs-som: Enable CDSP remoteproc
  2026-09-04 12:21 [PATCH v6 0/3] arm64: dts: qcom: eliza: Add CDSP support and enable it on MTP and CQS SoM Abel Vesa
  2026-09-04 12:21 ` [PATCH v6 1/3] arm64: dts: qcom: eliza: Describe the CDSP remoteproc Abel Vesa
  2026-09-04 12:21 ` [PATCH v6 2/3] arm64: dts: qcom: eliza-mtp: Enable " Abel Vesa
@ 2026-09-04 12:21 ` Abel Vesa
  2026-09-11  2:25 ` [PATCH v6 0/3] arm64: dts: qcom: eliza: Add CDSP support and enable it on MTP and CQS SoM Bjorn Andersson
  3 siblings, 0 replies; 5+ messages in thread
From: Abel Vesa @ 2026-09-04 12:21 UTC (permalink / raw)
  To: Bjorn Andersson, Konrad Dybcio, Rob Herring, Krzysztof Kozlowski,
	Conor Dooley
  Cc: linux-arm-msm, devicetree, linux-kernel, Abel Vesa,
	Konrad Dybcio, Dmitry Baryshkov

Enable the CDSP remoteproc node on the Eliza CQS SoM by providing the
firmware names and marking the node as available.

Reviewed-by: Konrad Dybcio <konrad.dybcio@oss.qualcomm.com>
Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com>
Signed-off-by: Abel Vesa <abel.vesa@oss.qualcomm.com>
---
 arch/arm64/boot/dts/qcom/eliza-cqs-som.dtsi | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/arch/arm64/boot/dts/qcom/eliza-cqs-som.dtsi b/arch/arm64/boot/dts/qcom/eliza-cqs-som.dtsi
index 5ef6c51618bf..c55947f52123 100644
--- a/arch/arm64/boot/dts/qcom/eliza-cqs-som.dtsi
+++ b/arch/arm64/boot/dts/qcom/eliza-cqs-som.dtsi
@@ -381,6 +381,13 @@ &remoteproc_adsp {
 	status = "okay";
 };
 
+&remoteproc_cdsp {
+	firmware-name = "qcom/eliza/cdsp.mbn",
+			"qcom/eliza/cdsp_dtb.mbn";
+
+	status = "okay";
+};
+
 &sdhc_1 {
 	vmmc-supply = <&vreg_l12b>;
 	vqmmc-supply = <&vreg_l1d>;

-- 
2.54.0


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [PATCH v6 0/3] arm64: dts: qcom: eliza: Add CDSP support and enable it on MTP and CQS SoM
  2026-09-04 12:21 [PATCH v6 0/3] arm64: dts: qcom: eliza: Add CDSP support and enable it on MTP and CQS SoM Abel Vesa
                   ` (2 preceding siblings ...)
  2026-09-04 12:21 ` [PATCH v6 3/3] arm64: dts: qcom: eliza-cqs-som: " Abel Vesa
@ 2026-09-11  2:25 ` Bjorn Andersson
  3 siblings, 0 replies; 5+ messages in thread
From: Bjorn Andersson @ 2026-09-11  2:25 UTC (permalink / raw)
  To: Konrad Dybcio, Rob Herring, Krzysztof Kozlowski, Conor Dooley, Abel Vesa
  Cc: linux-arm-msm, devicetree, linux-kernel, Konrad Dybcio, Dmitry Baryshkov


On Fri, 04 Sep 2026 15:21:39 +0300, Abel Vesa wrote:
> Describe the CDSP node, the glink-edge and the related SMP2P, then enable
> the CDSP on both the MTP and CQS SoM.
> 
> FastRPC node will be sent later on, along with the ADSP related one.
> 
> Signed-off-by: Abel Vesa <abel.vesa@oss.qualcomm.com>
> 
> [...]

Applied, thanks!

[1/3] arm64: dts: qcom: eliza: Describe the CDSP remoteproc
      commit: 2f8e44a9360f20b2f0442f5d001b14c3acdd796b
[2/3] arm64: dts: qcom: eliza-mtp: Enable CDSP remoteproc
      commit: 43c3561193b39e8b13aeabf459376631045c31ae
[3/3] arm64: dts: qcom: eliza-cqs-som: Enable CDSP remoteproc
      commit: e3ad048765a681a3ac97e8aae92398e678475cdf

Best regards,
-- 
Bjorn Andersson <andersson@kernel.org>

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2026-09-11  2:25 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-09-04 12:21 [PATCH v6 0/3] arm64: dts: qcom: eliza: Add CDSP support and enable it on MTP and CQS SoM Abel Vesa
2026-09-04 12:21 ` [PATCH v6 1/3] arm64: dts: qcom: eliza: Describe the CDSP remoteproc Abel Vesa
2026-09-04 12:21 ` [PATCH v6 2/3] arm64: dts: qcom: eliza-mtp: Enable " Abel Vesa
2026-09-04 12:21 ` [PATCH v6 3/3] arm64: dts: qcom: eliza-cqs-som: " Abel Vesa
2026-09-11  2:25 ` [PATCH v6 0/3] arm64: dts: qcom: eliza: Add CDSP support and enable it on MTP and CQS SoM Bjorn Andersson

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®