[PATCH v2 8/8] remoteproc: qcom: pas: Add Nord ADSP1/2 support
From: Shawn Guo
Date: Tue Dec 01 2026 - 02:03:02 EST
Add support for the additional Hexagon ADSP cores on Nord, adsp1 and
adsp2, which sit alongside the existing adsp0 in HPASS.
The three form a cluster: TZ programs the resources they share while
booting adsp0's image, so adsp0 has to boot first and none of the three
can be stopped while another still runs. Point all three descriptors at
a common cluster descriptor, marking adsp0 as the owner, which is what
the cluster sequencing and coupled-stop code keys off.
Signed-off-by: Shawn Guo <shengchao.guo@xxxxxxxxxxxxxxxx>
---
drivers/remoteproc/qcom_q6v5_pas.c | 58 ++++++++++++++++++++++++++++++
1 file changed, 58 insertions(+)
diff --git a/drivers/remoteproc/qcom_q6v5_pas.c b/drivers/remoteproc/qcom_q6v5_pas.c
index 3f6c2c7f2562..32f468e80d7a 100644
--- a/drivers/remoteproc/qcom_q6v5_pas.c
+++ b/drivers/remoteproc/qcom_q6v5_pas.c
@@ -2186,6 +2186,16 @@ static const struct qcom_pas_data milos_cdsp_resource = {
.smem_host_id = 5,
};
+/*
+ * Nord's HPASS hosts three QDSP6 instances, ADSP0/1/2, sharing resources that
+ * TZ programs on ADSP0's behalf while booting its image. ADSP0 therefore has
+ * to be booted before its siblings, and none of the three can be stopped while
+ * another is still running.
+ */
+static const struct qcom_pas_cluster_desc nord_hpass_cluster = {
+ .name = "nord-hpass-adsp",
+};
+
static const struct qcom_pas_data nord_adsp_resource = {
.crash_reason_smem = 423,
.firmware_name = "adsp.mbn",
@@ -2205,6 +2215,52 @@ static const struct qcom_pas_data nord_adsp_resource = {
.sysmon_name = "adsp",
.ssctl_id = 0x14,
.smem_host_id = 2,
+ .cluster = &nord_hpass_cluster,
+ .cluster_root = true,
+};
+
+static const struct qcom_pas_data nord_adsp1_resource = {
+ .crash_reason_smem = 663,
+ .firmware_name = "adsp1.mbn",
+ .dtb_firmware_name = "adsp1_dtb.mbn",
+ .pas_id = 53,
+ .dtb_pas_id = 55,
+ .minidump_id = 21,
+ .auto_boot = true,
+ .early_boot = true,
+ .proxy_pd_names = (char*[]){
+ "cx",
+ "mx",
+ NULL
+ },
+ .load_state = "adsp1",
+ .ssr_name = "lpass1",
+ .sysmon_name = "adsp1",
+ .ssctl_id = 0x1d,
+ .smem_host_id = 66,
+ .cluster = &nord_hpass_cluster,
+};
+
+static const struct qcom_pas_data nord_adsp2_resource = {
+ .crash_reason_smem = 664,
+ .firmware_name = "adsp2.mbn",
+ .dtb_firmware_name = "adsp2_dtb.mbn",
+ .pas_id = 54,
+ .dtb_pas_id = 56,
+ .minidump_id = 22,
+ .auto_boot = true,
+ .early_boot = true,
+ .proxy_pd_names = (char*[]){
+ "cx",
+ "mx",
+ NULL
+ },
+ .load_state = "adsp2",
+ .ssr_name = "lpass2",
+ .sysmon_name = "adsp2",
+ .ssctl_id = 0x1e,
+ .smem_host_id = 130,
+ .cluster = &nord_hpass_cluster,
};
static const struct qcom_pas_data nord_cdsp0_resource = {
@@ -2620,6 +2676,8 @@ static const struct of_device_id qcom_pas_of_match[] = {
{ .compatible = "qcom,msm8998-adsp-pas", .data = &msm8996_adsp_resource },
{ .compatible = "qcom,msm8998-slpi-pas", .data = &msm8996_slpi_resource_init },
{ .compatible = "qcom,nord-adsp-pas", .data = &nord_adsp_resource },
+ { .compatible = "qcom,nord-adsp1-pas", .data = &nord_adsp1_resource },
+ { .compatible = "qcom,nord-adsp2-pas", .data = &nord_adsp2_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 },
--
2.43.0