* [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