From: Shawn Guo <shengchao.guo@oss.qualcomm.com>
To: Bjorn Andersson <andersson@kernel.org>
Cc: Mathieu Poirier <mathieu.poirier@linaro.org>,
Rob Herring <robh@kernel.org>,
Krzysztof Kozlowski <krzk+dt@kernel.org>,
Conor Dooley <conor+dt@kernel.org>,
Konrad Dybcio <konradybcio@kernel.org>,
Manivannan Sadhasivam <mani@kernel.org>,
linux-arm-msm@vger.kernel.org, linux-remoteproc@vger.kernel.org,
devicetree@vger.kernel.org, linux-kernel@vger.kernel.org
Subject: Re: [PATCH v3 3/3] remoteproc: qcom: pas: Add Nord ADSP and CDSP support
Date: Mon, 27 Jul 2026 16:05:59 +0800 [thread overview]
Message-ID: <amcRZ8OpfhBytcT4@QCOM-aGQu4IUr3Y> (raw)
In-Reply-To: <20260727074621.561661-4-shengchao.guo@oss.qualcomm.com>
On Mon, Jul 27, 2026 at 03:46:21PM +0800, Shawn Guo wrote:
> Add support for ADSP (HPASS DSP) and 4 CDSPs found on Nord SoC. The ADSP
> is pre-booted by XBL before Linux starts, so set early_boot flag for
> attach path rather than a cold boot sequence.
>
> Signed-off-by: Shawn Guo <shengchao.guo@oss.qualcomm.com>
> ---
> drivers/remoteproc/qcom_q6v5_pas.c | 110 +++++++++++++++++++++++++++++
> 1 file changed, 110 insertions(+)
>
> diff --git a/drivers/remoteproc/qcom_q6v5_pas.c b/drivers/remoteproc/qcom_q6v5_pas.c
> index 25599d728208..6f3850a3fa9e 100644
> --- a/drivers/remoteproc/qcom_q6v5_pas.c
> +++ b/drivers/remoteproc/qcom_q6v5_pas.c
> @@ -1434,6 +1434,111 @@ static const struct qcom_pas_data milos_cdsp_resource = {
> .smem_host_id = 5,
> };
>
> +static const struct qcom_pas_data nord_adsp_resource = {
> + .crash_reason_smem = 423,
> + .firmware_name = "adsp.mdt",
> + .dtb_firmware_name = "adsp_dtb.mbn",
> + .pas_id = 1,
> + .dtb_pas_id = 36,
> + .minidump_id = 5,
> + .auto_boot = true,
> + .early_boot = true,
> + .proxy_pd_names = (char*[]){
> + "cx",
> + "mx",
> + NULL
> + },
> + .load_state = "adsp",
> + .ssr_name = "lpass",
> + .sysmon_name = "adsp",
> + .ssctl_id = 0x14,
> + .smem_host_id = 2,
> +};
> +
> +static const struct qcom_pas_data nord_cdsp0_resource = {
> + .crash_reason_smem = 601,
> + .firmware_name = "cdsp.mdt",
> + .dtb_firmware_name = "cdsp_dtb.mbn",
> + .pas_id = 18,
> + .dtb_pas_id = 37,
> + .minidump_id = 7,
> + .auto_boot = true,
> + .proxy_pd_names = (char*[]){
> + "cx",
> + "mx",
> + "nsp",
> + NULL
> + },
> + .load_state = "cdsp",
> + .ssr_name = "cdsp0",
> + .sysmon_name = "cdsp0",
> + .ssctl_id = 0x17,
> + .smem_host_id = 5,
> +};
> +
> +static const struct qcom_pas_data nord_cdsp1_resource = {
> + .crash_reason_smem = 633,
> + .firmware_name = "cdsp1.mdt",
> + .dtb_firmware_name = "cdsp1_dtb.mbn",
> + .pas_id = 30,
> + .dtb_pas_id = 59,
> + .minidump_id = 20,
> + .auto_boot = true,
> + .proxy_pd_names = (char*[]){
> + "cx",
> + "mx",
> + "nsp",
> + NULL
> + },
> + .load_state = "cdsp1",
> + .ssr_name = "cdsp1",
> + .sysmon_name = "cdsp1",
> + .ssctl_id = 0x20,
> + .smem_host_id = 69,
> +};
> +
> +static const struct qcom_pas_data nord_cdsp2_resource = {
> + .crash_reason_smem = 665,
> + .firmware_name = "cdsp2.mdt",
> + .dtb_firmware_name = "cdsp2_dtb.mbn",
> + .pas_id = 57,
> + .dtb_pas_id = 60,
> + .minidump_id = 29,
> + .auto_boot = true,
> + .proxy_pd_names = (char*[]){
> + "cx",
> + "mx",
> + "nsp",
> + NULL
> + },
> + .load_state = "cdsp2",
> + .ssr_name = "cdsp2",
> + .sysmon_name = "cdsp2",
> + .ssctl_id = 0x1f,
> + .smem_host_id = 133,
> +};
> +
> +static const struct qcom_pas_data nord_cdsp3_resource = {
> + .crash_reason_smem = 666,
> + .firmware_name = "cdsp3.mdt",
> + .dtb_firmware_name = "cdsp3_dtb.mbn",
> + .pas_id = 58,
> + .dtb_pas_id = 61,
> + .minidump_id = 30,
> + .auto_boot = true,
> + .proxy_pd_names = (char*[]){
> + "cx",
> + "mx",
> + "nsp",
> + NULL
> + },
> + .load_state = "cdsp3",
> + .ssr_name = "cdsp3",
> + .sysmon_name = "cdsp3",
> + .ssctl_id = 0x1a,
> + .smem_host_id = 197,
> +};
> +
> static const struct qcom_pas_data sm8450_mpss_resource = {
> .crash_reason_smem = 421,
> .firmware_name = "modem.mdt",
> @@ -1695,6 +1800,11 @@ static const struct of_device_id qcom_pas_of_match[] = {
> { .compatible = "qcom,milos-cdsp-pas", .data = &milos_cdsp_resource },
> { .compatible = "qcom,milos-mpss-pas", .data = &sm8450_mpss_resource },
> { .compatible = "qcom,milos-wpss-pas", .data = &sc7280_wpss_resource },
> + { .compatible = "qcom,nord-adsp-pas", .data = &nord_adsp_resource },
> + { .compatible = "qcom,nord-cdsp0-pas", .data = &nord_cdsp0_resource },
> + { .compatible = "qcom,nord-cdsp1-pas", .data = &nord_cdsp1_resource },
> + { .compatible = "qcom,nord-cdsp2-pas", .data = &nord_cdsp2_resource },
> + { .compatible = "qcom,nord-cdsp3-pas", .data = &nord_cdsp3_resource },
Oops! It breaks the alphabetic order. Will fix.
Shawn
> { .compatible = "qcom,msm8226-adsp-pil", .data = &msm8996_adsp_resource },
> { .compatible = "qcom,msm8953-adsp-pil", .data = &msm8996_adsp_resource },
> { .compatible = "qcom,msm8974-adsp-pil", .data = &msm8996_adsp_resource },
> --
> 2.43.0
>
prev parent reply other threads:[~2026-07-27 8:06 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-07-27 7:46 [PATCH v3 0/3] Add ADSP and CDSP support for Nord SoC Shawn Guo
2026-07-27 7:46 ` [PATCH v3 1/3] dt-bindings: soc: qcom,aoss-qmp: Document Nord AOSS side channel Shawn Guo
2026-07-27 7:46 ` [PATCH v3 2/3] dt-bindings: remoteproc: qcom,nord-pas: Document Nord PAS Shawn Guo
2026-07-27 7:57 ` sashiko-bot
2026-07-27 7:46 ` [PATCH v3 3/3] remoteproc: qcom: pas: Add Nord ADSP and CDSP support Shawn Guo
2026-07-27 7:59 ` sashiko-bot
2026-07-27 8:05 ` Shawn Guo [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=amcRZ8OpfhBytcT4@QCOM-aGQu4IUr3Y \
--to=shengchao.guo@oss.qualcomm.com \
--cc=andersson@kernel.org \
--cc=conor+dt@kernel.org \
--cc=devicetree@vger.kernel.org \
--cc=konradybcio@kernel.org \
--cc=krzk+dt@kernel.org \
--cc=linux-arm-msm@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-remoteproc@vger.kernel.org \
--cc=mani@kernel.org \
--cc=mathieu.poirier@linaro.org \
--cc=robh@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