Skip to content

Commit 8a226e2

Browse files
Sivaprakash Murugesanandersson
authored andcommitted
remoteproc: wcss: add support for rpmsg communication
add glink and ssr subdevices for wcss rproc to enable rpmsg communication. Signed-off-by: Sivaprakash Murugesan <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Bjorn Andersson <[email protected]>
1 parent a781e5a commit 8a226e2

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

drivers/remoteproc/qcom_q6v5_wcss.c

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -91,6 +91,9 @@ struct q6v5_wcss {
9191
phys_addr_t mem_reloc;
9292
void *mem_region;
9393
size_t mem_size;
94+
95+
struct qcom_rproc_glink glink_subdev;
96+
struct qcom_rproc_ssr ssr_subdev;
9497
};
9598

9699
static int q6v5_wcss_reset(struct q6v5_wcss *wcss)
@@ -557,6 +560,9 @@ static int q6v5_wcss_probe(struct platform_device *pdev)
557560
if (ret)
558561
goto free_rproc;
559562

563+
qcom_add_glink_subdev(rproc, &wcss->glink_subdev);
564+
qcom_add_ssr_subdev(rproc, &wcss->ssr_subdev, "q6wcss");
565+
560566
ret = rproc_add(rproc);
561567
if (ret)
562568
goto free_rproc;

0 commit comments

Comments
 (0)