The SoC Control Processor (SoCCP) is small RISC-V MCU that controls USB Type-C, battery charging and various other functions on Qualcomm SoCs. It provides a solution for control-plane processing, reducing per-subsystem microcontroller reinvention. Add support for SoCCP PAS loader on Nord platform
Signed-off-by: Anurag Pateriya <[email protected]> --- drivers/remoteproc/qcom_q6v5_pas.c | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/drivers/remoteproc/qcom_q6v5_pas.c b/drivers/remoteproc/qcom_q6v5_pas.c index a005546c265d..6fa958044218 100644 --- a/drivers/remoteproc/qcom_q6v5_pas.c +++ b/drivers/remoteproc/qcom_q6v5_pas.c @@ -1545,6 +1545,20 @@ static const struct qcom_pas_data nord_cdsp3_resource = { .smem_host_id = 197, }; +static const struct qcom_pas_data nord_soccp_resource = { + .crash_reason_smem = 656, + .firmware_name = "soccp.mbn", + .pas_id = 51, + .proxy_pd_names = (char*[]){ + "cx", + "mx", + NULL + }, + .ssr_name = "soccp", + .sysmon_name = "soccp", + .auto_boot = true, +}; + static const struct qcom_pas_data sm8450_mpss_resource = { .crash_reason_smem = 421, .firmware_name = "modem.mdt", @@ -1844,6 +1858,7 @@ static const struct of_device_id qcom_pas_of_match[] = { { .compatible = "qcom,nord-cdsp1-pas", .data = &nord_cdsp1_resource }, { .compatible = "qcom,nord-cdsp2-pas", .data = &nord_cdsp2_resource }, { .compatible = "qcom,nord-cdsp3-pas", .data = &nord_cdsp3_resource }, + { .compatible = "qcom,nord-soccp-pas", .data = &nord_soccp_resource }, { .compatible = "qcom,qcs404-adsp-pas", .data = &adsp_resource_init }, { .compatible = "qcom,qcs404-cdsp-pas", .data = &cdsp_resource_init }, { .compatible = "qcom,qcs404-wcss-pas", .data = &wcss_resource_init }, -- 2.43.0

