From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from inva020.nxp.com (inva020.nxp.com [92.121.34.13]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 2BBD63750AB for ; Thu, 30 Apr 2026 06:14:43 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=92.121.34.13 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1777529684; cv=none; b=TKI1bQljPhAbxz+XcH1ccmLsePnlc1YGodjR3I9R2d6MbcUQrDtV/TYrPBnR4PRqlnfrO2WpfDnhsMdADKjDkgvRTduTPXQss2yihjOmPTCJ0mwf2Y3921TdSIzWkM7hMc3areAonkUcUNDu0tN0MOpvTD7isQVRhzyHGRfWz1o= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1777529684; c=relaxed/simple; bh=8V7bchV7AqcL3mF8F+txPcb/x4GV3dCVkLybGdj3DRw=; h=From:To:Cc:Subject:Date:Message-Id; b=HyiIEd5O3Qfu+7rDF634rk9ca5v90YaqGmO2sFW+LloTLeYImsp0JeIyYjy/cNZRlizHhmt97bayKTf+F5jH5lEsuzUvRtCnWGE7fgAANsDVDrE2egp3jmLteNp81KFWbk9evIqMY66sb0/MpagVzen4SRwbUlpTmI1kh1+HVi0= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=nxp.com; spf=pass smtp.mailfrom=nxp.com; arc=none smtp.client-ip=92.121.34.13 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=nxp.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=nxp.com Received: from inva020.nxp.com (localhost [127.0.0.1]) by inva020.eu-rdc02.nxp.com (Postfix) with ESMTP id 14A6D1A2D62; Thu, 30 Apr 2026 08:14:36 +0200 (CEST) Received: from aprdc01srsp001v.ap-rdc01.nxp.com (aprdc01srsp001v.ap-rdc01.nxp.com [165.114.16.16]) by inva020.eu-rdc02.nxp.com (Postfix) with ESMTP id D0FC71A2D59; Thu, 30 Apr 2026 08:14:35 +0200 (CEST) Received: from localhost.localdomain (mega.ap.freescale.net [10.192.208.232]) by aprdc01srsp001v.ap-rdc01.nxp.com (Postfix) with ESMTP id B84C81800091; Thu, 30 Apr 2026 14:14:33 +0800 (+08) From: Jiafei Pan To: andersson@kernel.org, mathieu.poirier@linaro.org, Frank.Li@nxp.com, s.hauer@pengutronix.de, kernel@pengutronix.de, festevam@gmail.com, linux-remoteproc@vger.kernel.org, imx@lists.linux.dev, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, peng.fan@nxp.com Cc: daniel.baluta@nxp.com, Jiafei Pan Subject: [PATCH] remoteproc: imx: use device node name as processor name Date: Thu, 30 Apr 2026 14:17:01 +0800 Message-Id: <20260430061701.27270-1-Jiafei.Pan@nxp.com> X-Mailer: git-send-email 2.17.1 X-Virus-Scanned: ClamAV using ClamSMTP Precedence: bulk X-Mailing-List: imx@lists.linux.dev List-Id: List-Subscribe: List-Unsubscribe: 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