Skip to content

Commit bfd75ae

Browse files
lweiss-fairphoneandersson
authored andcommitted
remoteproc: qcom: pas: Add SM6350 ADSP support
Add a config for the ADSP present on SM6350. Signed-off-by: Luca Weiss <[email protected]> Reviewed-by: Konrad Dybcio <[email protected]> Signed-off-by: Bjorn Andersson <[email protected]> Link: https://lore.kernel.org/r/[email protected]
1 parent 42a3f55 commit bfd75ae

File tree

1 file changed

+18
-0
lines changed

1 file changed

+18
-0
lines changed

drivers/remoteproc/qcom_q6v5_pas.c

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -524,6 +524,23 @@ static const struct adsp_data sdm845_adsp_resource_init = {
524524
.ssctl_id = 0x14,
525525
};
526526

527+
static const struct adsp_data sm6350_adsp_resource = {
528+
.crash_reason_smem = 423,
529+
.firmware_name = "adsp.mdt",
530+
.pas_id = 1,
531+
.has_aggre2_clk = false,
532+
.auto_boot = true,
533+
.proxy_pd_names = (char*[]){
534+
"lcx",
535+
"lmx",
536+
NULL
537+
},
538+
.load_state = "adsp",
539+
.ssr_name = "lpass",
540+
.sysmon_name = "adsp",
541+
.ssctl_id = 0x14,
542+
};
543+
527544
static const struct adsp_data sm8150_adsp_resource = {
528545
.crash_reason_smem = 423,
529546
.firmware_name = "adsp.mdt",
@@ -805,6 +822,7 @@ static const struct of_device_id adsp_of_match[] = {
805822
{ .compatible = "qcom,sdm845-adsp-pas", .data = &sdm845_adsp_resource_init},
806823
{ .compatible = "qcom,sdm845-cdsp-pas", .data = &sdm845_cdsp_resource_init},
807824
{ .compatible = "qcom,sdx55-mpss-pas", .data = &sdx55_mpss_resource},
825+
{ .compatible = "qcom,sm6350-adsp-pas", .data = &sm6350_adsp_resource},
808826
{ .compatible = "qcom,sm6350-mpss-pas", .data = &mpss_resource_init},
809827
{ .compatible = "qcom,sm8150-adsp-pas", .data = &sm8150_adsp_resource},
810828
{ .compatible = "qcom,sm8150-cdsp-pas", .data = &sm8150_cdsp_resource},

0 commit comments

Comments
 (0)