From: Nickolay Goppen <setotau@mainlining.org>
To: Bjorn Andersson <andersson@kernel.org>,
Mathieu Poirier <mathieu.poirier@linaro.org>,
Konrad Dybcio <konradybcio@kernel.org>,
Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com>
Cc: linux-arm-msm@vger.kernel.org, linux-remoteproc@vger.kernel.org,
linux-kernel@vger.kernel.org,
Nickolay Goppen <setotau@mainlining.org>
Subject: [PATCH 2/2] remoteproc: qcom: Add sdm660 cdsp resource descriptor
Date: Sat, 14 Nov 2026 22:23:46 +0300 [thread overview]
Message-ID: <20261114-qcom-sdm660-rproc-pmdomain-v1-2-980f956e5154@mainlining.org> (raw)
In-Reply-To: <20261114-qcom-sdm660-rproc-pmdomain-v1-0-980f956e5154@mainlining.org>
Add an sdm660-specific cdsp resource descriptor to support cx power
domain for sdm660 cdsp
Fixes: 950c74fd6cd80ae6773aa3bf4cb4321b83f194d2 ("remoteproc: qcom: pas: Add support for SDM660 CDSP")
Signed-off-by: Nickolay Goppen <setotau@mainlining.org>
---
drivers/remoteproc/qcom_q6v5_pas.c | 16 +++++++++++++++-
1 file changed, 15 insertions(+), 1 deletion(-)
diff --git a/drivers/remoteproc/qcom_q6v5_pas.c b/drivers/remoteproc/qcom_q6v5_pas.c
index d5b03a433a6d..32b90718555b 100644
--- a/drivers/remoteproc/qcom_q6v5_pas.c
+++ b/drivers/remoteproc/qcom_q6v5_pas.c
@@ -1295,6 +1295,20 @@ static const struct qcom_pas_data sa8775p_cdsp1_resource = {
.num_tmd = ARRAY_SIZE(cdsp_tmd_name),
};
+static const struct qcom_pas_data sdm660_cdsp_resource_init = {
+ .crash_reason_smem = 601,
+ .firmware_name = "cdsp.mdt",
+ .pas_id = 18,
+ .auto_boot = true,
+ .proxy_pd_names = (char*[]){
+ "cx",
+ NULL
+ },
+ .ssr_name = "cdsp",
+ .sysmon_name = "cdsp",
+ .ssctl_id = 0x17,
+};
+
static const struct qcom_pas_data sdm845_cdsp_resource_init = {
.crash_reason_smem = 601,
.firmware_name = "cdsp.mdt",
@@ -2051,7 +2065,7 @@ static const struct of_device_id qcom_pas_of_match[] = {
{ .compatible = "qcom,sc8280xp-nsp0-pas", .data = &sc8280xp_nsp0_resource },
{ .compatible = "qcom,sc8280xp-nsp1-pas", .data = &sc8280xp_nsp1_resource },
{ .compatible = "qcom,sdm660-adsp-pas", .data = &msm8996_adsp_resource },
- { .compatible = "qcom,sdm660-cdsp-pas", .data = &cdsp_resource_init },
+ { .compatible = "qcom,sdm660-cdsp-pas", .data = &sdm660_cdsp_resource_init },
{ .compatible = "qcom,sdm670-adsp-pas", .data = &sdm670_adsp_resource_init },
{ .compatible = "qcom,sdm845-adsp-pas", .data = &sdm845_adsp_resource_init },
{ .compatible = "qcom,sdm845-cdsp-pas", .data = &sdm845_cdsp_resource_init },
--
2.56.1
next prev parent reply other threads:[~2026-11-14 19:23 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-11-14 19:23 [PATCH 0/2] Support for sdm660 remoteproc power domains Nickolay Goppen
2026-11-14 19:23 ` [PATCH 1/2] remoteproc: qcom: change resource descriptor for sdm660 adsp Nickolay Goppen
2026-12-03 13:41 ` Konrad Dybcio
2026-11-14 19:23 ` Nickolay Goppen [this message]
2026-12-03 13:42 ` [PATCH 2/2] remoteproc: qcom: Add sdm660 cdsp resource descriptor Konrad Dybcio
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=20261114-qcom-sdm660-rproc-pmdomain-v1-2-980f956e5154@mainlining.org \
--to=setotau@mainlining.org \
--cc=andersson@kernel.org \
--cc=dmitry.baryshkov@oss.qualcomm.com \
--cc=konradybcio@kernel.org \
--cc=linux-arm-msm@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-remoteproc@vger.kernel.org \
--cc=mathieu.poirier@linaro.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
all inboxes | Powered by JetHome®