Skip to content

Commit 3bc0d1f

Browse files
lweiss-fairphoneandersson
authored andcommitted
remoteproc: qcom: pas: Add SM6350 CDSP support
Add a config for the CDSP 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 bfd75ae commit 3bc0d1f

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
@@ -629,6 +629,23 @@ static const struct adsp_data sdm845_cdsp_resource_init = {
629629
.ssctl_id = 0x17,
630630
};
631631

632+
static const struct adsp_data sm6350_cdsp_resource = {
633+
.crash_reason_smem = 601,
634+
.firmware_name = "cdsp.mdt",
635+
.pas_id = 18,
636+
.has_aggre2_clk = false,
637+
.auto_boot = true,
638+
.proxy_pd_names = (char*[]){
639+
"cx",
640+
"mx",
641+
NULL
642+
},
643+
.load_state = "cdsp",
644+
.ssr_name = "cdsp",
645+
.sysmon_name = "cdsp",
646+
.ssctl_id = 0x17,
647+
};
648+
632649
static const struct adsp_data sm8150_cdsp_resource = {
633650
.crash_reason_smem = 601,
634651
.firmware_name = "cdsp.mdt",
@@ -823,6 +840,7 @@ static const struct of_device_id adsp_of_match[] = {
823840
{ .compatible = "qcom,sdm845-cdsp-pas", .data = &sdm845_cdsp_resource_init},
824841
{ .compatible = "qcom,sdx55-mpss-pas", .data = &sdx55_mpss_resource},
825842
{ .compatible = "qcom,sm6350-adsp-pas", .data = &sm6350_adsp_resource},
843+
{ .compatible = "qcom,sm6350-cdsp-pas", .data = &sm6350_cdsp_resource},
826844
{ .compatible = "qcom,sm6350-mpss-pas", .data = &mpss_resource_init},
827845
{ .compatible = "qcom,sm8150-adsp-pas", .data = &sm8150_adsp_resource},
828846
{ .compatible = "qcom,sm8150-cdsp-pas", .data = &sm8150_cdsp_resource},

0 commit comments

Comments
 (0)