Skip to content

Commit 300ed42

Browse files
lweiss-fairphoneandersson
authored andcommitted
remoteproc: qcom_q6v5_pas: Add SC7280 ADSP, CDSP & WPSS
Add support for the ADSP, CDSP and WPSS remoteprocs found on the SC7280 SoC using the q6v5-pas driver. This driver can be used on regular LA ("Linux Android") based releases, however the SC7280 ChromeOS devices need different driver support due to firmware differences. Reviewed-by: Konrad Dybcio <konrad.dybcio@linaro.org> Signed-off-by: Luca Weiss <luca.weiss@fairphone.com> Link: https://lore.kernel.org/r/20231208-sc7280-remoteprocs-v3-6-6aa394d33edf@fairphone.com Signed-off-by: Bjorn Andersson <andersson@kernel.org>
1 parent 11eff10 commit 300ed42

File tree

1 file changed

+19
-0
lines changed

1 file changed

+19
-0
lines changed

drivers/remoteproc/qcom_q6v5_pas.c

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1165,6 +1165,22 @@ static const struct adsp_data sm8550_mpss_resource = {
11651165
.region_assign_idx = 2,
11661166
};
11671167

1168+
static const struct adsp_data sc7280_wpss_resource = {
1169+
.crash_reason_smem = 626,
1170+
.firmware_name = "wpss.mdt",
1171+
.pas_id = 6,
1172+
.auto_boot = true,
1173+
.proxy_pd_names = (char*[]){
1174+
"cx",
1175+
"mx",
1176+
NULL
1177+
},
1178+
.load_state = "wpss",
1179+
.ssr_name = "wpss",
1180+
.sysmon_name = "wpss",
1181+
.ssctl_id = 0x19,
1182+
};
1183+
11681184
static const struct of_device_id adsp_of_match[] = {
11691185
{ .compatible = "qcom,msm8226-adsp-pil", .data = &adsp_resource_init},
11701186
{ .compatible = "qcom,msm8953-adsp-pil", .data = &msm8996_adsp_resource},
@@ -1178,7 +1194,10 @@ static const struct of_device_id adsp_of_match[] = {
11781194
{ .compatible = "qcom,qcs404-wcss-pas", .data = &wcss_resource_init },
11791195
{ .compatible = "qcom,sc7180-adsp-pas", .data = &sm8250_adsp_resource},
11801196
{ .compatible = "qcom,sc7180-mpss-pas", .data = &mpss_resource_init},
1197+
{ .compatible = "qcom,sc7280-adsp-pas", .data = &sm8350_adsp_resource},
1198+
{ .compatible = "qcom,sc7280-cdsp-pas", .data = &sm6350_cdsp_resource},
11811199
{ .compatible = "qcom,sc7280-mpss-pas", .data = &mpss_resource_init},
1200+
{ .compatible = "qcom,sc7280-wpss-pas", .data = &sc7280_wpss_resource},
11821201
{ .compatible = "qcom,sc8180x-adsp-pas", .data = &sm8150_adsp_resource},
11831202
{ .compatible = "qcom,sc8180x-cdsp-pas", .data = &sm8150_cdsp_resource},
11841203
{ .compatible = "qcom,sc8180x-mpss-pas", .data = &sc8180x_mpss_resource},

0 commit comments

Comments
 (0)