msm: adsprpc: Add support for cdsp1 remoteproc

The fastrpc driver supports 4 remoteproc. There are some
products such as automotive which support cdsp1 remoteproc.
Add changes to support cdsp1 remoteproc.

Change-Id: I3a9b221c53ccd4331de089ab38ccd6d715db4bf4
Signed-off-by: Anvesh Jain P <quic_ajainp@quicinc.com>
This commit is contained in:
Anvesh Jain P
2024-04-01 12:13:29 +05:30
parent 8f36f9526b
commit dbd9441b48
2 changed files with 4 additions and 2 deletions

View File

@@ -61,6 +61,8 @@ static inline int get_cid_from_rpdev(struct rpmsg_device *rpdev)
cid = SDSP_DOMAIN_ID;
else if (!strcmp(label, "mdsp"))
cid = MDSP_DOMAIN_ID;
else if (!strcmp(label, "cdsp1"))
cid = CDSP1_DOMAIN_ID;
return cid;
}