The OOBMSS consists of separate OOB-TEE and OOB-NS Zephyr subsystems,
each with its own firmware, DTB, and dedicated PAS ID. Add support for
the OOBMSS PAS loader on Glymur platforms.

Signed-off-by: Anvesh Jain P <[email protected]>
---
 drivers/remoteproc/qcom_q6v5_pas.c | 25 +++++++++++++++++++++++++
 1 file changed, 25 insertions(+)

diff --git a/drivers/remoteproc/qcom_q6v5_pas.c 
b/drivers/remoteproc/qcom_q6v5_pas.c
index 604dfa947340..31fdde351bed 100644
--- a/drivers/remoteproc/qcom_q6v5_pas.c
+++ b/drivers/remoteproc/qcom_q6v5_pas.c
@@ -1997,6 +1997,30 @@ static const struct qcom_pas_data glymur_soccp_resource 
= {
        .needs_tzmem = true,
 };
 
+static const struct qcom_pas_data glymur_oobmss_resource = {
+       .crash_reason_smem = 669,
+       .firmware_name = "oobmss_tee.mbn",
+       .dtb_firmware_name = "oobmss_qc_dtb.mbn",
+       .secondary_firmware_name = "oobmss_ns.mbn",
+       .secondary_dtb_firmware_name = "oobmss_oem_dtb.mbn",
+       .pas_id = 0x42,
+       .dtb_pas_id = 0x43,
+       .secondary_pas_id = 0x44,
+       .secondary_dtb_pas_id = 0x45,
+       .proxy_pd_names = (char *[]){
+               "cx",
+               "mx",
+               NULL
+       },
+       .ssr_name = "oobmss",
+       .sysmon_name = "oobmss",
+       .ssctl_id = 0x21,
+       .auto_boot = true,
+       .early_boot = true,
+       .needs_tzmem = true,
+       .decrypt_shutdown = true,
+};
+
 static const struct qcom_pas_data eliza_cdsp_resource = {
        .crash_reason_smem = 601,
        .firmware_name = "cdsp.mbn",
@@ -2025,6 +2049,7 @@ static const struct qcom_pas_data eliza_cdsp_resource = {
 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-oobmss-pas", .data = 
&glymur_oobmss_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.34.1


Reply via email to