aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--drivers/remoteproc/qcom_q6v5_pil.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/remoteproc/qcom_q6v5_pil.c b/drivers/remoteproc/qcom_q6v5_pil.c
index b48e5f36dd71..2190debf3d35 100644
--- a/drivers/remoteproc/qcom_q6v5_pil.c
+++ b/drivers/remoteproc/qcom_q6v5_pil.c
@@ -183,6 +183,7 @@ struct q6v5 {
183 void *mpss_region; 183 void *mpss_region;
184 size_t mpss_size; 184 size_t mpss_size;
185 185
186 struct qcom_rproc_glink glink_subdev;
186 struct qcom_rproc_subdev smd_subdev; 187 struct qcom_rproc_subdev smd_subdev;
187 struct qcom_rproc_ssr ssr_subdev; 188 struct qcom_rproc_ssr ssr_subdev;
188 struct qcom_sysmon *sysmon; 189 struct qcom_sysmon *sysmon;
@@ -1333,6 +1334,7 @@ static int q6v5_probe(struct platform_device *pdev)
1333 } 1334 }
1334 qproc->mpss_perm = BIT(QCOM_SCM_VMID_HLOS); 1335 qproc->mpss_perm = BIT(QCOM_SCM_VMID_HLOS);
1335 qproc->mba_perm = BIT(QCOM_SCM_VMID_HLOS); 1336 qproc->mba_perm = BIT(QCOM_SCM_VMID_HLOS);
1337 qcom_add_glink_subdev(rproc, &qproc->glink_subdev);
1336 qcom_add_smd_subdev(rproc, &qproc->smd_subdev); 1338 qcom_add_smd_subdev(rproc, &qproc->smd_subdev);
1337 qcom_add_ssr_subdev(rproc, &qproc->ssr_subdev, "mpss"); 1339 qcom_add_ssr_subdev(rproc, &qproc->ssr_subdev, "mpss");
1338 qproc->sysmon = qcom_add_sysmon_subdev(rproc, "modem", 0x12); 1340 qproc->sysmon = qcom_add_sysmon_subdev(rproc, "modem", 0x12);
@@ -1356,6 +1358,7 @@ static int q6v5_remove(struct platform_device *pdev)
1356 rproc_del(qproc->rproc); 1358 rproc_del(qproc->rproc);
1357 1359
1358 qcom_remove_sysmon_subdev(qproc->sysmon); 1360 qcom_remove_sysmon_subdev(qproc->sysmon);
1361 qcom_remove_glink_subdev(qproc->rproc, &qproc->glink_subdev);
1359 qcom_remove_smd_subdev(qproc->rproc, &qproc->smd_subdev); 1362 qcom_remove_smd_subdev(qproc->rproc, &qproc->smd_subdev);
1360 qcom_remove_ssr_subdev(qproc->rproc, &qproc->ssr_subdev); 1363 qcom_remove_ssr_subdev(qproc->rproc, &qproc->ssr_subdev);
1361 rproc_free(qproc->rproc); 1364 rproc_free(qproc->rproc);