Re: [PATCH 5/5] remoteproc: imx: use device node name as processor name

From: Daniel Baluta

Date: Tue Apr 28 2026 - 09:44:37 EST


On 4/28/26 12:08, Jiafei Pan wrote:
> [You don't often get email from jiafei.pan@xxxxxxx. Learn why this is important at https://aka.ms/LearnAboutSenderIdentification ]
>
> As currently there are maybe multiple remote processors, so change from
> using fixed name to using device node name as remote processor name in
> order to make them can be distinguished by through of name in sys
> filesystem.
>
> Signed-off-by: Jiafei Pan <Jiafei.Pan@xxxxxxx>
> ---
> drivers/remoteproc/imx_rproc.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/remoteproc/imx_rproc.c b/drivers/remoteproc/imx_rproc.c
> index e8d239bef5c9..17026e390e88 100644
> --- a/drivers/remoteproc/imx_rproc.c
> +++ b/drivers/remoteproc/imx_rproc.c
> @@ -1357,7 +1357,7 @@ static int imx_rproc_probe(struct platform_device *pdev)
> int ret;
>
> /* set some other name then imx */

I think you can also remove the comment above.

> - rproc = devm_rproc_alloc(dev, "imx-rproc", &imx_rproc_ops,
> + rproc = devm_rproc_alloc(dev, np->name, &imx_rproc_ops,
> NULL, sizeof(*priv));
> if (!rproc)
> return -ENOMEM;
> --
> 2.43.0
>
>