* [PATCH RFC 0/3] arm64: dts: qcom: nord: Add ADSP1/2 remoteproc
@ 2026-12-01 9:17 Shawn Guo
2026-12-01 9:17 ` [PATCH RFC 1/3] arm64: dts: qcom: nord: Add remoteproc for ADSP1/2 Shawn Guo
` (2 more replies)
0 siblings, 3 replies; 5+ messages in thread
From: Shawn Guo @ 2026-12-01 9:17 UTC (permalink / raw)
To: Bjorn Andersson
Cc: Konrad Dybcio, Abel Vesa, Rob Herring, Krzysztof Kozlowski,
Conor Dooley, Anandu Krishnan E, Anurag Pateriya, devicetree,
linux-arm-msm, linux-kernel, Shawn Guo
Add the remoteproc and fastrpc nodes for the Nord HPASS ADSP1/2, and
enable them on the RRD and Ride Embedded boards. ADSP1/2 depend on
resources owned by ADSP0, which the remoteproc driver handles from the
per-instance compatibles, so no extra DT property is needed.
Dependencies:
- [PATCH v2 0/8] remoteproc: qcom: Support the Nord HPASS ADSP cluster
https://lore.kernel.org/all/20261201070137.360878-1-shengchao.guo@oss.qualcomm.com/
- [PATCH] dt-bindings: misc: qcom,fastrpc: Add adsp1 and adsp2 labels
https://lore.kernel.org/all/20261201090219.414376-1-shengchao.guo@oss.qualcomm.com/
Shawn Guo (3):
arm64: dts: qcom: nord: Add remoteproc for ADSP1/2
arm64: dts: qcom: nord-rrd: Enable ADSP1/2 remoteproc
arm64: dts: qcom: nord-ride-embedded: Enable ADSP1/2 remoteproc
arch/arm64/boot/dts/qcom/nord-embedded.dtsi | 22 ++
.../boot/dts/qcom/nord-ride-embedded.dts | 14 ++
arch/arm64/boot/dts/qcom/nord-rrd.dts | 14 ++
arch/arm64/boot/dts/qcom/nord.dtsi | 220 ++++++++++++++++++
4 files changed, 270 insertions(+)
--
2.43.0
^ permalink raw reply [flat|nested] 5+ messages in thread* [PATCH RFC 1/3] arm64: dts: qcom: nord: Add remoteproc for ADSP1/2 2026-12-01 9:17 [PATCH RFC 0/3] arm64: dts: qcom: nord: Add ADSP1/2 remoteproc Shawn Guo @ 2026-12-01 9:17 ` Shawn Guo 2026-12-01 9:32 ` sashiko-bot 2026-12-01 9:17 ` [PATCH RFC 2/3] arm64: dts: qcom: nord-rrd: Enable ADSP1/2 remoteproc Shawn Guo 2026-12-01 9:17 ` [PATCH RFC 3/3] arm64: dts: qcom: nord-ride-embedded: " Shawn Guo 2 siblings, 1 reply; 5+ messages in thread From: Shawn Guo @ 2026-12-01 9:17 UTC (permalink / raw) To: Bjorn Andersson Cc: Konrad Dybcio, Abel Vesa, Rob Herring, Krzysztof Kozlowski, Conor Dooley, Anandu Krishnan E, Anurag Pateriya, devicetree, linux-arm-msm, linux-kernel, Shawn Guo Add device tree nodes to support ADSP1/2 which share HPASS clock/reset/NoC resources with ADSP0 and must boot after it. The cluster relationship and ADSP0's ownership of the shared resources are implied by the per-instance compatibles, so no additional property is needed. Signed-off-by: Shawn Guo <shengchao.guo@oss.qualcomm.com> --- arch/arm64/boot/dts/qcom/nord-embedded.dtsi | 22 ++ arch/arm64/boot/dts/qcom/nord.dtsi | 220 ++++++++++++++++++++ 2 files changed, 242 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/nord-embedded.dtsi b/arch/arm64/boot/dts/qcom/nord-embedded.dtsi index e6d0bd21744e..5cde86ccd945 100644 --- a/arch/arm64/boot/dts/qcom/nord-embedded.dtsi +++ b/arch/arm64/boot/dts/qcom/nord-embedded.dtsi @@ -1144,6 +1144,28 @@ &remoteproc_adsp { "mx"; }; +&remoteproc_adsp1 { + clocks = <&rpmhcc RPMH_CXO_CLK>; + clock-names = "xo"; + interconnects = <&hpass_ag_noc MASTER_HPASS_PROC_1 QCOM_ICC_TAG_ALWAYS + &mc_virt SLAVE_EBI1 QCOM_ICC_TAG_ALWAYS>; + power-domains = <&rpmhpd RPMHPD_CX>, + <&rpmhpd RPMHPD_MX>; + power-domain-names = "cx", + "mx"; +}; + +&remoteproc_adsp2 { + clocks = <&rpmhcc RPMH_CXO_CLK>; + clock-names = "xo"; + interconnects = <&hpass_ag_noc MASTER_HPASS_PROC_2 QCOM_ICC_TAG_ALWAYS + &mc_virt SLAVE_EBI1 QCOM_ICC_TAG_ALWAYS>; + power-domains = <&rpmhpd RPMHPD_CX>, + <&rpmhpd RPMHPD_MX>; + power-domain-names = "cx", + "mx"; +}; + &remoteproc_cdsp0 { clocks = <&rpmhcc RPMH_CXO_CLK>; clock-names = "xo"; diff --git a/arch/arm64/boot/dts/qcom/nord.dtsi b/arch/arm64/boot/dts/qcom/nord.dtsi index 56778dd444e4..3bb719a2969a 100644 --- a/arch/arm64/boot/dts/qcom/nord.dtsi +++ b/arch/arm64/boot/dts/qcom/nord.dtsi @@ -942,6 +942,52 @@ smp2p_adsp_in: slave-kernel { }; }; + smp2p-adsp1 { + compatible = "qcom,smp2p"; + interrupts-extended = <&ipcc0 IPCC_MPROC_ADSP1 + IPCC_MPROC_SIGNAL_SMP2P + IRQ_TYPE_EDGE_RISING>; + mboxes = <&ipcc0 IPCC_MPROC_ADSP1 + IPCC_MPROC_SIGNAL_SMP2P>; + qcom,smem = <617>, <616>; + qcom,local-pid = <0>; + qcom,remote-pid = <66>; + + smp2p_adsp1_out: master-kernel { + qcom,entry-name = "master-kernel"; + #qcom,smem-state-cells = <1>; + }; + + smp2p_adsp1_in: slave-kernel { + qcom,entry-name = "slave-kernel"; + interrupt-controller; + #interrupt-cells = <2>; + }; + }; + + smp2p-adsp2 { + compatible = "qcom,smp2p"; + interrupts-extended = <&ipcc0 IPCC_MPROC_ADSP2 + IPCC_MPROC_SIGNAL_SMP2P + IRQ_TYPE_EDGE_RISING>; + mboxes = <&ipcc0 IPCC_MPROC_ADSP2 + IPCC_MPROC_SIGNAL_SMP2P>; + qcom,smem = <617>, <616>; + qcom,local-pid = <0>; + qcom,remote-pid = <130>; + + smp2p_adsp2_out: master-kernel { + qcom,entry-name = "master-kernel"; + #qcom,smem-state-cells = <1>; + }; + + smp2p_adsp2_in: slave-kernel { + qcom,entry-name = "slave-kernel"; + interrupt-controller; + #interrupt-cells = <2>; + }; + }; + smp2p-cdsp0 { compatible = "qcom,smp2p"; interrupts-extended = <&ipcc0 IPCC_MPROC_NSP0 @@ -2274,6 +2320,180 @@ compute-cb@6 { }; }; + remoteproc_adsp1: remoteproc@6000000 { + compatible = "qcom,nord-adsp1-pas"; + reg = <0x0 0x06000000 0x0 0x10000>; + + interrupts-extended = <&intc GIC_SPI 155 IRQ_TYPE_EDGE_RISING>, + <&smp2p_adsp1_in 0 IRQ_TYPE_EDGE_RISING>, + <&smp2p_adsp1_in 1 IRQ_TYPE_EDGE_RISING>, + <&smp2p_adsp1_in 2 IRQ_TYPE_EDGE_RISING>, + <&smp2p_adsp1_in 3 IRQ_TYPE_EDGE_RISING>, + <&smp2p_adsp1_in 7 IRQ_TYPE_EDGE_RISING>; + interrupt-names = "wdog", + "fatal", + "ready", + "handover", + "stop-ack", + "shutdown-ack"; + + memory-region = <&hpass_dsp1_mem>, + <&hpass_dsp1_dtb_mem>; + + qcom,qmp = <&aoss_qmp>; + + qcom,smem-states = <&smp2p_adsp1_out 0>; + qcom,smem-state-names = "stop"; + + status = "disabled"; + + glink-edge { + interrupts-extended = <&ipcc0 IPCC_MPROC_ADSP1 + IPCC_MPROC_SIGNAL_GLINK_QMP + IRQ_TYPE_EDGE_RISING>; + mboxes = <&ipcc0 IPCC_MPROC_ADSP1 + IPCC_MPROC_SIGNAL_GLINK_QMP>; + qcom,remote-pid = <66>; + label = "adsp1"; + + fastrpc { + compatible = "qcom,nord-fastrpc", + "qcom,kaanapali-fastrpc"; + qcom,glink-channels = "fastrpcglink-apps-dsp"; + label = "adsp1"; + #address-cells = <1>; + #size-cells = <0>; + + compute-cb@11 { + compatible = "qcom,fastrpc-compute-cb"; + reg = <11>; + iommus = <&apps_smmu_0 0x0a0b 0x0040>, + <&apps_smmu_0 0x0a4b 0x0040>, + <&apps_smmu_0 0x0a6b 0x0000>, + <&apps_smmu_0 0x0a8b 0x0000>; + dma-coherent; + }; + + compute-cb@12 { + compatible = "qcom,fastrpc-compute-cb"; + reg = <12>; + iommus = <&apps_smmu_0 0x0a0c 0x0080>, + <&apps_smmu_0 0x0a4c 0x0020>, + <&apps_smmu_0 0x0a6c 0x0020>, + <&apps_smmu_0 0x0a8c 0x0080>; + dma-coherent; + }; + + compute-cb@13 { + compatible = "qcom,fastrpc-compute-cb"; + reg = <13>; + iommus = <&apps_smmu_0 0x0a0d 0x0080>, + <&apps_smmu_0 0x0a4d 0x0020>, + <&apps_smmu_0 0x0a6d 0x0020>, + <&apps_smmu_0 0x0a8d 0x0080>; + dma-coherent; + }; + + compute-cb@14 { + compatible = "qcom,fastrpc-compute-cb"; + reg = <14>; + iommus = <&apps_smmu_0 0x0a0e 0x0080>, + <&apps_smmu_0 0x0a4e 0x0020>, + <&apps_smmu_0 0x0a6e 0x0020>, + <&apps_smmu_0 0x0a8e 0x0080>; + dma-coherent; + }; + }; + }; + }; + + remoteproc_adsp2: remoteproc@6100000 { + compatible = "qcom,nord-adsp2-pas"; + reg = <0x0 0x06100000 0x0 0x10000>; + + interrupts-extended = <&intc GIC_SPI 178 IRQ_TYPE_EDGE_RISING>, + <&smp2p_adsp2_in 0 IRQ_TYPE_EDGE_RISING>, + <&smp2p_adsp2_in 1 IRQ_TYPE_EDGE_RISING>, + <&smp2p_adsp2_in 2 IRQ_TYPE_EDGE_RISING>, + <&smp2p_adsp2_in 3 IRQ_TYPE_EDGE_RISING>, + <&smp2p_adsp2_in 7 IRQ_TYPE_EDGE_RISING>; + interrupt-names = "wdog", + "fatal", + "ready", + "handover", + "stop-ack", + "shutdown-ack"; + + memory-region = <&hpass_dsp2_mem>, + <&hpass_dsp2_dtb_mem>; + + qcom,qmp = <&aoss_qmp>; + + qcom,smem-states = <&smp2p_adsp2_out 0>; + qcom,smem-state-names = "stop"; + + status = "disabled"; + + glink-edge { + interrupts-extended = <&ipcc0 IPCC_MPROC_ADSP2 + IPCC_MPROC_SIGNAL_GLINK_QMP + IRQ_TYPE_EDGE_RISING>; + mboxes = <&ipcc0 IPCC_MPROC_ADSP2 + IPCC_MPROC_SIGNAL_GLINK_QMP>; + qcom,remote-pid = <130>; + label = "adsp2"; + + fastrpc { + compatible = "qcom,nord-fastrpc", + "qcom,kaanapali-fastrpc"; + qcom,glink-channels = "fastrpcglink-apps-dsp"; + label = "adsp2"; + #address-cells = <1>; + #size-cells = <0>; + + compute-cb@3 { + compatible = "qcom,fastrpc-compute-cb"; + reg = <3>; + iommus = <&apps_smmu_0 0x0a33 0x0040>, + <&apps_smmu_0 0x0a53 0x0000>, + <&apps_smmu_0 0x0a73 0x0040>, + <&apps_smmu_0 0x0a93 0x0000>; + dma-coherent; + }; + + compute-cb@4 { + compatible = "qcom,fastrpc-compute-cb"; + reg = <4>; + iommus = <&apps_smmu_0 0x0a34 0x0040>, + <&apps_smmu_0 0x0a54 0x0000>, + <&apps_smmu_0 0x0a74 0x0040>, + <&apps_smmu_0 0x0a94 0x0000>; + dma-coherent; + }; + + compute-cb@5 { + compatible = "qcom,fastrpc-compute-cb"; + reg = <5>; + iommus = <&apps_smmu_0 0x0a35 0x0000>, + <&apps_smmu_0 0x0a55 0x0020>, + <&apps_smmu_0 0x0a75 0x0020>, + <&apps_smmu_0 0x0a95 0x0000>; + dma-coherent; + }; + + compute-cb@6 { + compatible = "qcom,fastrpc-compute-cb"; + reg = <6>; + iommus = <&apps_smmu_0 0x0a36 0x0000>, + <&apps_smmu_0 0x0a56 0x0020>, + <&apps_smmu_0 0x0a76 0x0020>, + <&apps_smmu_0 0x0a96 0x0000>; + dma-coherent; + }; + }; + }; + }; + ipcc0: mailbox@9007000 { compatible = "qcom,nord-ipcc", "qcom,ipcc"; -- 2.43.0 ^ permalink raw reply related [flat|nested] 5+ messages in thread
* Re: [PATCH RFC 1/3] arm64: dts: qcom: nord: Add remoteproc for ADSP1/2 2026-12-01 9:17 ` [PATCH RFC 1/3] arm64: dts: qcom: nord: Add remoteproc for ADSP1/2 Shawn Guo @ 2026-12-01 9:32 ` sashiko-bot 0 siblings, 0 replies; 5+ messages in thread From: sashiko-bot @ 2026-12-01 9:32 UTC (permalink / raw) To: Shawn Guo; +Cc: devicetree, robh, conor+dt Thank you for your contribution! Sashiko AI review found 2 potential issues to consider: - [Medium] arm64: dts: qcom: nord: undocumented adsp1/2 PAS compatibles - [Medium] arm64: dts: qcom: nord: undocumented adsp1/2 fastrpc labels -- commit be49408b54911e226aa867b1d397f7f53b805242 Author: Shawn Guo <shengchao.guo@oss.qualcomm.com> arm64: dts: qcom: nord: Add remoteproc for ADSP1/2 This commit adds SMP2P, PAS remoteproc, GLINK edge, and FastRPC nodes for ADSP1 and ADSP2 on the Qualcomm Nord platform. > diff --git a/arch/arm64/boot/dts/qcom/nord.dtsi b/arch/arm64/boot/dts/qcom/nord.dtsi > index 56778dd444e4e..3bb719a2969ab 100644 > --- a/arch/arm64/boot/dts/qcom/nord.dtsi > +++ b/arch/arm64/boot/dts/qcom/nord.dtsi [ ... ] > @@ -2274,6 +2320,180 @@ compute-cb@6 { > }; > }; > > + remoteproc_adsp1: remoteproc@6000000 { > + compatible = "qcom,nord-adsp1-pas"; [Severity: Medium] Are the "qcom,nord-adsp1-pas" and "qcom,nord-adsp2-pas" compatibles missing from Documentation/devicetree/bindings/remoteproc/qcom,nord-pas.yaml and qcom_pas_of_match[] in drivers/remoteproc/qcom_q6v5_pas.c? Without those binding and driver entries, dtbs_check fails validation (including on the two-entry power-domains lists in nord-embedded.dtsi, which the schema currently permits only for "qcom,nord-adsp-pas") and the PAS driver will not bind to remoteproc_adsp1 or remoteproc_adsp2. > + reg = <0x0 0x06000000 0x0 0x10000>; [ ... ] > + glink-edge { > + interrupts-extended = <&ipcc0 IPCC_MPROC_ADSP1 > + IPCC_MPROC_SIGNAL_GLINK_QMP > + IRQ_TYPE_EDGE_RISING>; > + mboxes = <&ipcc0 IPCC_MPROC_ADSP1 > + IPCC_MPROC_SIGNAL_GLINK_QMP>; > + qcom,remote-pid = <66>; > + label = "adsp1"; > + > + fastrpc { > + compatible = "qcom,nord-fastrpc", > + "qcom,kaanapali-fastrpc"; > + qcom,glink-channels = "fastrpcglink-apps-dsp"; > + label = "adsp1"; [Severity: Medium] Are "adsp1" and "adsp2" valid values for the fastrpc node's label property? Documentation/devicetree/bindings/misc/qcom,fastrpc.yaml only allows adsp, mdsp, sdsp, cdsp, cdsp1..3, and gdsp0..1 in the label enum, so dtbs_check will fail on both fastrpc nodes. -- Sashiko AI review · https://sashiko.dev/#/patchset/20261201091727.415871-1-shengchao.guo@oss.qualcomm.com?part=1 ^ permalink raw reply [flat|nested] 5+ messages in thread
* [PATCH RFC 2/3] arm64: dts: qcom: nord-rrd: Enable ADSP1/2 remoteproc 2026-12-01 9:17 [PATCH RFC 0/3] arm64: dts: qcom: nord: Add ADSP1/2 remoteproc Shawn Guo 2026-12-01 9:17 ` [PATCH RFC 1/3] arm64: dts: qcom: nord: Add remoteproc for ADSP1/2 Shawn Guo @ 2026-12-01 9:17 ` Shawn Guo 2026-12-01 9:17 ` [PATCH RFC 3/3] arm64: dts: qcom: nord-ride-embedded: " Shawn Guo 2 siblings, 0 replies; 5+ messages in thread From: Shawn Guo @ 2026-12-01 9:17 UTC (permalink / raw) To: Bjorn Andersson Cc: Konrad Dybcio, Abel Vesa, Rob Herring, Krzysztof Kozlowski, Conor Dooley, Anandu Krishnan E, Anurag Pateriya, devicetree, linux-arm-msm, linux-kernel, Shawn Guo Enable ADSP1 and ADSP2 remoteproc on the Nord RRD board. Signed-off-by: Shawn Guo <shengchao.guo@oss.qualcomm.com> --- arch/arm64/boot/dts/qcom/nord-rrd.dts | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/nord-rrd.dts b/arch/arm64/boot/dts/qcom/nord-rrd.dts index 827d3ba3a238..06bb9e7c2c57 100644 --- a/arch/arm64/boot/dts/qcom/nord-rrd.dts +++ b/arch/arm64/boot/dts/qcom/nord-rrd.dts @@ -564,6 +564,20 @@ &remoteproc_adsp { status = "okay"; }; +&remoteproc_adsp1 { + firmware-name = "qcom/nord/adsp1.mbn", + "qcom/nord/adsp1_dtb.mbn"; + + status = "okay"; +}; + +&remoteproc_adsp2 { + firmware-name = "qcom/nord/adsp2.mbn", + "qcom/nord/adsp2_dtb.mbn"; + + status = "okay"; +}; + &remoteproc_cdsp0 { firmware-name = "qcom/nord/cdsp.mbn", "qcom/nord/cdsp_dtb.mbn"; -- 2.43.0 ^ permalink raw reply related [flat|nested] 5+ messages in thread
* [PATCH RFC 3/3] arm64: dts: qcom: nord-ride-embedded: Enable ADSP1/2 remoteproc 2026-12-01 9:17 [PATCH RFC 0/3] arm64: dts: qcom: nord: Add ADSP1/2 remoteproc Shawn Guo 2026-12-01 9:17 ` [PATCH RFC 1/3] arm64: dts: qcom: nord: Add remoteproc for ADSP1/2 Shawn Guo 2026-12-01 9:17 ` [PATCH RFC 2/3] arm64: dts: qcom: nord-rrd: Enable ADSP1/2 remoteproc Shawn Guo @ 2026-12-01 9:17 ` Shawn Guo 2 siblings, 0 replies; 5+ messages in thread From: Shawn Guo @ 2026-12-01 9:17 UTC (permalink / raw) To: Bjorn Andersson Cc: Konrad Dybcio, Abel Vesa, Rob Herring, Krzysztof Kozlowski, Conor Dooley, Anandu Krishnan E, Anurag Pateriya, devicetree, linux-arm-msm, linux-kernel, Shawn Guo Enable ADSP1 and ADSP2 remoteproc on the Nord Ride Embedded board. Signed-off-by: Shawn Guo <shengchao.guo@oss.qualcomm.com> --- arch/arm64/boot/dts/qcom/nord-ride-embedded.dts | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/nord-ride-embedded.dts b/arch/arm64/boot/dts/qcom/nord-ride-embedded.dts index 3f764069bf1b..96f87fb57956 100644 --- a/arch/arm64/boot/dts/qcom/nord-ride-embedded.dts +++ b/arch/arm64/boot/dts/qcom/nord-ride-embedded.dts @@ -553,6 +553,20 @@ &remoteproc_adsp { status = "okay"; }; +&remoteproc_adsp1 { + firmware-name = "qcom/nord/adsp1.mbn", + "qcom/nord/adsp1_dtb.mbn"; + + status = "okay"; +}; + +&remoteproc_adsp2 { + firmware-name = "qcom/nord/adsp2.mbn", + "qcom/nord/adsp2_dtb.mbn"; + + status = "okay"; +}; + &remoteproc_cdsp0 { firmware-name = "qcom/nord/cdsp.mbn", "qcom/nord/cdsp_dtb.mbn"; -- 2.43.0 ^ permalink raw reply related [flat|nested] 5+ messages in thread
end of thread, other threads:[~2026-12-01 9:32 UTC | newest] Thread overview: 5+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- 2026-12-01 9:17 [PATCH RFC 0/3] arm64: dts: qcom: nord: Add ADSP1/2 remoteproc Shawn Guo 2026-12-01 9:17 ` [PATCH RFC 1/3] arm64: dts: qcom: nord: Add remoteproc for ADSP1/2 Shawn Guo 2026-12-01 9:32 ` sashiko-bot 2026-12-01 9:17 ` [PATCH RFC 2/3] arm64: dts: qcom: nord-rrd: Enable ADSP1/2 remoteproc Shawn Guo 2026-12-01 9:17 ` [PATCH RFC 3/3] arm64: dts: qcom: nord-ride-embedded: " Shawn Guo
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox