* [PATCH 0/2] remoteproc: qcom: pas: Add support for CDSP on Eliza SoC
@ 2026-07-14 12:24 Abel Vesa
2026-07-14 12:24 ` [PATCH 1/2] dt-bindings: remoteproc: qcom,milos-pas: Add Eliza CDSP compatible Abel Vesa
2026-07-14 12:24 ` [PATCH 2/2] remoteproc: qcom: pas: Add Eliza CDSP support Abel Vesa
0 siblings, 2 replies; 4+ messages in thread
From: Abel Vesa @ 2026-07-14 12:24 UTC (permalink / raw)
To: Bjorn Andersson, Mathieu Poirier, Rob Herring,
Krzysztof Kozlowski, Conor Dooley, Manivannan Sadhasivam,
Luca Weiss
Cc: linux-arm-msm, linux-remoteproc, devicetree, linux-kernel,
Abel Vesa
First, document the compatible and add the DSM memory region
and the NSP power domain, both needed on Eliza.
Then, add the driver data and tie it to the compatible.
Signed-off-by: Abel Vesa <abel.vesa@oss.qualcomm.com>
---
Abel Vesa (2):
dt-bindings: remoteproc: qcom,milos-pas: Add Eliza CDSP compatible
remoteproc: qcom: pas: Add Eliza CDSP support
.../bindings/remoteproc/qcom,milos-pas.yaml | 41 +++++++++++++++++++++-
drivers/remoteproc/qcom_q6v5_pas.c | 26 ++++++++++++++
2 files changed, 66 insertions(+), 1 deletion(-)
---
base-commit: 49362394dad7df66c274c867a271394c10ca2bb8
change-id: 20260713-remoteproc-eliza-cdsp-07701ba2b956
Best regards,
--
Abel Vesa <abel.vesa@oss.qualcomm.com>
^ permalink raw reply [flat|nested] 4+ messages in thread
* [PATCH 1/2] dt-bindings: remoteproc: qcom,milos-pas: Add Eliza CDSP compatible
2026-07-14 12:24 [PATCH 0/2] remoteproc: qcom: pas: Add support for CDSP on Eliza SoC Abel Vesa
@ 2026-07-14 12:24 ` Abel Vesa
2026-07-14 12:29 ` sashiko-bot
2026-07-14 12:24 ` [PATCH 2/2] remoteproc: qcom: pas: Add Eliza CDSP support Abel Vesa
1 sibling, 1 reply; 4+ messages in thread
From: Abel Vesa @ 2026-07-14 12:24 UTC (permalink / raw)
To: Bjorn Andersson, Mathieu Poirier, Rob Herring,
Krzysztof Kozlowski, Conor Dooley, Manivannan Sadhasivam,
Luca Weiss
Cc: linux-arm-msm, linux-remoteproc, devicetree, linux-kernel,
Abel Vesa
Document compatible string for the CDSP Peripheral Authentication
Service on the Eliza SoC. It needs a third memory region (DSM) and
the NSP power domain. Rework the schema to accommodate these.
Signed-off-by: Abel Vesa <abel.vesa@oss.qualcomm.com>
---
.../bindings/remoteproc/qcom,milos-pas.yaml | 41 +++++++++++++++++++++-
1 file changed, 40 insertions(+), 1 deletion(-)
diff --git a/Documentation/devicetree/bindings/remoteproc/qcom,milos-pas.yaml b/Documentation/devicetree/bindings/remoteproc/qcom,milos-pas.yaml
index 99d7337e58ec..3ee7be3304c6 100644
--- a/Documentation/devicetree/bindings/remoteproc/qcom,milos-pas.yaml
+++ b/Documentation/devicetree/bindings/remoteproc/qcom,milos-pas.yaml
@@ -17,6 +17,7 @@ properties:
compatible:
enum:
- qcom,eliza-adsp-pas
+ - qcom,eliza-cdsp-pas
- qcom,milos-adsp-pas
- qcom,milos-cdsp-pas
- qcom,milos-mpss-pas
@@ -68,6 +69,7 @@ properties:
items:
- description: Memory region for core Firmware authentication
- description: Memory region for Devicetree Firmware authentication
+ - description: DSM Memory region
qcom,smem-states:
maxItems: 1
@@ -97,7 +99,26 @@ allOf:
minItems: 2
firmware-name:
minItems: 2
- else:
+
+ - if:
+ properties:
+ compatible:
+ enum:
+ - qcom,eliza-cdsp-pas
+ then:
+ properties:
+ memory-region:
+ minItems: 3
+ firmware-name:
+ minItems: 2
+
+ - if:
+ properties:
+ compatible:
+ enum:
+ - qcom,milos-mpss-pas
+ - qcom,milos-wpss-pas
+ then:
properties:
memory-region:
maxItems: 1
@@ -122,6 +143,24 @@ allOf:
- const: lcx
- const: lmx
+ - if:
+ properties:
+ compatible:
+ enum:
+ - qcom,eliza-cdsp-pas
+ then:
+ properties:
+ power-domains:
+ items:
+ - description: CX power domain
+ - description: MX power domain
+ - description: NSP power domain
+ power-domain-names:
+ items:
+ - const: cx
+ - const: mx
+ - const: nsp
+
- if:
properties:
compatible:
--
2.54.0
^ permalink raw reply related [flat|nested] 4+ messages in thread
* [PATCH 2/2] remoteproc: qcom: pas: Add Eliza CDSP support
2026-07-14 12:24 [PATCH 0/2] remoteproc: qcom: pas: Add support for CDSP on Eliza SoC Abel Vesa
2026-07-14 12:24 ` [PATCH 1/2] dt-bindings: remoteproc: qcom,milos-pas: Add Eliza CDSP compatible Abel Vesa
@ 2026-07-14 12:24 ` Abel Vesa
1 sibling, 0 replies; 4+ messages in thread
From: Abel Vesa @ 2026-07-14 12:24 UTC (permalink / raw)
To: Bjorn Andersson, Mathieu Poirier, Rob Herring,
Krzysztof Kozlowski, Conor Dooley, Manivannan Sadhasivam,
Luca Weiss
Cc: linux-arm-msm, linux-remoteproc, devicetree, linux-kernel,
Abel Vesa
Add dedicated driver data for the Eliza CDSP remote processor. It looks
almost the same as for Milos, except Eliza needs region assign.
Tie the new driver data to the Eliza specific compatible.
Signed-off-by: Abel Vesa <abel.vesa@oss.qualcomm.com>
---
drivers/remoteproc/qcom_q6v5_pas.c | 26 ++++++++++++++++++++++++++
1 file changed, 26 insertions(+)
diff --git a/drivers/remoteproc/qcom_q6v5_pas.c b/drivers/remoteproc/qcom_q6v5_pas.c
index 25599d728208..c8313c61da94 100644
--- a/drivers/remoteproc/qcom_q6v5_pas.c
+++ b/drivers/remoteproc/qcom_q6v5_pas.c
@@ -1687,8 +1687,34 @@ static const struct qcom_pas_data glymur_soccp_resource = {
.needs_tzmem = true,
};
+static const struct qcom_pas_data eliza_cdsp_resource = {
+ .crash_reason_smem = 601,
+ .firmware_name = "cdsp.mbn",
+ .dtb_firmware_name = "cdsp_dtb.mbn",
+ .pas_id = 18,
+ .dtb_pas_id = 0x25,
+ .minidump_id = 7,
+ .auto_boot = true,
+ .proxy_pd_names = (char*[]){
+ "cx",
+ "mx",
+ "nsp",
+ NULL
+ },
+ .load_state = "cdsp",
+ .ssr_name = "cdsp",
+ .sysmon_name = "cdsp",
+ .ssctl_id = 0x17,
+ .smem_host_id = 5,
+ .region_assign_idx = 2,
+ .region_assign_count = 1,
+ .region_assign_shared = true,
+ .region_assign_vmid = QCOM_SCM_VMID_CDSP,
+};
+
static const struct of_device_id qcom_pas_of_match[] = {
{ .compatible = "qcom,eliza-adsp-pas", .data = &sm8550_adsp_resource },
+ { .compatible = "qcom,eliza-cdsp-pas", .data = &eliza_cdsp_resource },
{ .compatible = "qcom,glymur-soccp-pas", .data = &glymur_soccp_resource },
{ .compatible = "qcom,kaanapali-soccp-pas", .data = &kaanapali_soccp_resource },
{ .compatible = "qcom,milos-adsp-pas", .data = &sm8550_adsp_resource },
--
2.54.0
^ permalink raw reply related [flat|nested] 4+ messages in thread
* Re: [PATCH 1/2] dt-bindings: remoteproc: qcom,milos-pas: Add Eliza CDSP compatible
2026-07-14 12:24 ` [PATCH 1/2] dt-bindings: remoteproc: qcom,milos-pas: Add Eliza CDSP compatible Abel Vesa
@ 2026-07-14 12:29 ` sashiko-bot
0 siblings, 0 replies; 4+ messages in thread
From: sashiko-bot @ 2026-07-14 12:29 UTC (permalink / raw)
To: Abel Vesa; +Cc: robh, conor+dt, devicetree
Thank you for your contribution! Sashiko AI review found 1 potential issue(s) to consider:
- [Medium] Legacy compatible strings silently allow 3 `memory-region` items because they lack an explicit `maxItems: 2` constraint.
--
--- Patch [1]: [PATCH 1/2] dt-bindings: remoteproc: qcom,milos-pas: Add Eliza CDSP compatible ---
commit 035d1273c9ae4354ae4a87c41fd4d9ad57c5bddc
Author: Abel Vesa <abel.vesa@oss.qualcomm.com>
dt-bindings: remoteproc: qcom,milos-pas: Add Eliza CDSP compatible
This commit documents the compatible string for the CDSP Peripheral
Authentication Service on the Eliza SoC. It reworks the schema to accommodate
a third memory region (DSM) and the NSP power domain.
> diff --git a/Documentation/devicetree/bindings/remoteproc/qcom,milos-pas.yaml b/Documentation/devicetree/bindings/remoteproc/qcom,milos-pas.yaml
> index 99d7337e58ec5..3ee7be3304c6f 100644
> --- a/Documentation/devicetree/bindings/remoteproc/qcom,milos-pas.yaml
> +++ b/Documentation/devicetree/bindings/remoteproc/qcom,milos-pas.yaml
[ ... ]
> @@ -97,7 +99,26 @@ allOf:
> minItems: 2
> firmware-name:
> minItems: 2
> - else:
> +
[Severity: Medium]
Since adding the third item to the memory-region properties implicitly
raises the maximum limit to 3 globally, should maxItems: 2 be explicitly
specified here for qcom,eliza-adsp-pas and the other legacy devices?
Without an explicit constraint, won't dt_binding_check silently allow
misconfigured device trees for these older devices to incorrectly specify
3 memory regions?
> + - if:
> + properties:
> + compatible:
> + enum:
> + - qcom,eliza-cdsp-pas
--
Sashiko AI review · https://sashiko.dev/#/patchset/20260714-remoteproc-eliza-cdsp-v1-0-32eb7a1f2c59@oss.qualcomm.com?part=1
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2026-07-14 12:29 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-07-14 12:24 [PATCH 0/2] remoteproc: qcom: pas: Add support for CDSP on Eliza SoC Abel Vesa
2026-07-14 12:24 ` [PATCH 1/2] dt-bindings: remoteproc: qcom,milos-pas: Add Eliza CDSP compatible Abel Vesa
2026-07-14 12:29 ` sashiko-bot
2026-07-14 12:24 ` [PATCH 2/2] remoteproc: qcom: pas: Add Eliza CDSP support Abel Vesa
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox