Skip to content

Commit aef6a52

Browse files
committed
remoteproc: qcom: pas: Add SC8180X adsp, cdsp and mpss
The Qualcomm SC8180X has the typical ADSP, CDSP and MPSS remote processors operated using the PAS interface, add support for these. Attempts to configuring mss.lvl is failing, so a new adsp_data is provided that skips this resource, for now. Reviewed-by: Manivannan Sadhasivam <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Bjorn Andersson <[email protected]>
1 parent 4865ed1 commit aef6a52

File tree

1 file changed

+22
-0
lines changed

1 file changed

+22
-0
lines changed

drivers/remoteproc/qcom_q6v5_pas.c

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -689,6 +689,25 @@ static const struct adsp_data mpss_resource_init = {
689689
.ssctl_id = 0x12,
690690
};
691691

692+
static const struct adsp_data sc8180x_mpss_resource = {
693+
.crash_reason_smem = 421,
694+
.firmware_name = "modem.mdt",
695+
.pas_id = 4,
696+
.has_aggre2_clk = false,
697+
.auto_boot = false,
698+
.active_pd_names = (char*[]){
699+
"load_state",
700+
NULL
701+
},
702+
.proxy_pd_names = (char*[]){
703+
"cx",
704+
NULL
705+
},
706+
.ssr_name = "mpss",
707+
.sysmon_name = "modem",
708+
.ssctl_id = 0x12,
709+
};
710+
692711
static const struct adsp_data slpi_resource_init = {
693712
.crash_reason_smem = 424,
694713
.firmware_name = "slpi.mdt",
@@ -811,6 +830,9 @@ static const struct of_device_id adsp_of_match[] = {
811830
{ .compatible = "qcom,qcs404-cdsp-pas", .data = &cdsp_resource_init },
812831
{ .compatible = "qcom,qcs404-wcss-pas", .data = &wcss_resource_init },
813832
{ .compatible = "qcom,sc7180-mpss-pas", .data = &mpss_resource_init},
833+
{ .compatible = "qcom,sc8180x-adsp-pas", .data = &sm8150_adsp_resource},
834+
{ .compatible = "qcom,sc8180x-cdsp-pas", .data = &sm8150_cdsp_resource},
835+
{ .compatible = "qcom,sc8180x-mpss-pas", .data = &sc8180x_mpss_resource},
814836
{ .compatible = "qcom,sdm845-adsp-pas", .data = &adsp_resource_init},
815837
{ .compatible = "qcom,sdm845-cdsp-pas", .data = &cdsp_resource_init},
816838
{ .compatible = "qcom,sdx55-mpss-pas", .data = &sdx55_mpss_resource},

0 commit comments

Comments
 (0)