RE: [PATCH] remoteproc: imx: use device node name as processor name

2026-05-07 Thread Jiafei Pan
> On 4/30/26 09:17, Jiafei Pan wrote:
> > 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 
> 
> Please use git log --oneline drivers/remoteproc/imx_rproc.c and check the 
> prefix
> subject for commit messges related to imx_rproc files.
> 
> 
> 
> 9b2451658afa9 remoteproc: imx_rproc: Use devm_add_action_or_reset() for
> scu cleanup 65af722aa86fc remoteproc: imx_rproc: Use
> devm_clk_get_enabled() and simplify cleanup
> b0106defc0ff6 remoteproc: imx_rproc: Use devm_add_action_or_reset() for
> mailbox cleanup
> 
> Thanks,
> Daniel.

Updated, thanks.
Jiafei.


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

2026-04-30 Thread Daniel Baluta
On 4/30/26 09:17, Jiafei Pan wrote:
> 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 

Please use git log --oneline drivers/remoteproc/imx_rproc.c and check the prefix
subject for commit messges related to imx_rproc files.



9b2451658afa9 remoteproc: imx_rproc: Use devm_add_action_or_reset() for scu 
cleanup
65af722aa86fc remoteproc: imx_rproc: Use devm_clk_get_enabled() and simplify 
cleanup
b0106defc0ff6 remoteproc: imx_rproc: Use devm_add_action_or_reset() for mailbox 
cleanup

Thanks,
Daniel.



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

2026-04-29 Thread Jiafei Pan
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 
---
 drivers/remoteproc/imx_rproc.c | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/drivers/remoteproc/imx_rproc.c b/drivers/remoteproc/imx_rproc.c
index e8d239bef5c9..38713f6f1c50 100644
--- a/drivers/remoteproc/imx_rproc.c
+++ b/drivers/remoteproc/imx_rproc.c
@@ -1356,8 +1356,7 @@ static int imx_rproc_probe(struct platform_device *pdev)
unsigned long cpus_bits;
int ret;
 
-   /* set some other name then imx */
-   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