Skip to content

Commit ef575ff

Browse files
lweiss-fairphoneandersson
authored andcommitted
remoteproc: qcom: pas: Add Milos remoteproc support
Add the different remoteprocs found on the Milos SoC: ADSP, CDSP, MPSS and WPSS. Reviewed-by: Konrad Dybcio <konrad.dybcio@oss.qualcomm.com> Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com> Signed-off-by: Luca Weiss <luca.weiss@fairphone.com> Link: https://lore.kernel.org/r/20250915-sm7635-remoteprocs-v5-2-96526cac59c6@fairphone.com Signed-off-by: Bjorn Andersson <andersson@kernel.org>
1 parent 24723d7 commit ef575ff

1 file changed

Lines changed: 24 additions & 0 deletions

File tree

drivers/remoteproc/qcom_q6v5_pas.c

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1256,6 +1256,26 @@ static const struct qcom_pas_data sdx55_mpss_resource = {
12561256
.ssctl_id = 0x22,
12571257
};
12581258

1259+
static const struct qcom_pas_data milos_cdsp_resource = {
1260+
.crash_reason_smem = 601,
1261+
.firmware_name = "cdsp.mbn",
1262+
.dtb_firmware_name = "cdsp_dtb.mbn",
1263+
.pas_id = 18,
1264+
.dtb_pas_id = 0x25,
1265+
.minidump_id = 7,
1266+
.auto_boot = true,
1267+
.proxy_pd_names = (char*[]){
1268+
"cx",
1269+
"mx",
1270+
NULL
1271+
},
1272+
.load_state = "cdsp",
1273+
.ssr_name = "cdsp",
1274+
.sysmon_name = "cdsp",
1275+
.ssctl_id = 0x17,
1276+
.smem_host_id = 5,
1277+
};
1278+
12591279
static const struct qcom_pas_data sm8450_mpss_resource = {
12601280
.crash_reason_smem = 421,
12611281
.firmware_name = "modem.mdt",
@@ -1430,6 +1450,10 @@ static const struct qcom_pas_data sm8750_mpss_resource = {
14301450
};
14311451

14321452
static const struct of_device_id qcom_pas_of_match[] = {
1453+
{ .compatible = "qcom,milos-adsp-pas", .data = &sm8550_adsp_resource},
1454+
{ .compatible = "qcom,milos-cdsp-pas", .data = &milos_cdsp_resource},
1455+
{ .compatible = "qcom,milos-mpss-pas", .data = &sm8450_mpss_resource},
1456+
{ .compatible = "qcom,milos-wpss-pas", .data = &sc7280_wpss_resource},
14331457
{ .compatible = "qcom,msm8226-adsp-pil", .data = &msm8996_adsp_resource},
14341458
{ .compatible = "qcom,msm8953-adsp-pil", .data = &msm8996_adsp_resource},
14351459
{ .compatible = "qcom,msm8974-adsp-pil", .data = &adsp_resource_init},

0 commit comments

Comments
 (0)