From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 71B96CD1297 for ; Thu, 30 Apr 2026 06:14:47 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:List-Subscribe:List-Help :List-Post:List-Archive:List-Unsubscribe:List-Id:Message-Id:Date:Subject:Cc: To:From:Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References:List-Owner; bh=xQMwpk6k5A9NprH9TM60CpgAtRpzkOSse7528rY++Eo=; b=5CSuBBrYXJTHWrQkwSuUN+Ln6Q qBCfFoc6/tu2ZkA4/WnSTOqfSEu0GnIdlA+sBsBjfCkyF20ZWBz6hj/LfOZ8Byh3hfvTz8295v1Gc 4key5ujteQDAhPSTxQzN7TVVh7E6kffSyU+mqRzOG48e4bOedIdxVFmdlcXkWQzEEzqwMUdkdpTtf PowaDKjIaMKRqp8PYeGHcaKYsU3RhHyJHR2y895EEdBJgfYJFzvX7bjm9Ky11B0nAF+p/KoCTbowx Nf77XekoUbu8xbw9DqcU+81/iHOgoccTrlidjc0fbE0sVpbXfSfpwbl5ja/UpGN22MKt4X2IkxzYX o/gjPV8A==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.98.2 #2 (Red Hat Linux)) id 1wIKfa-00000004kJu-32GF; Thu, 30 Apr 2026 06:14:42 +0000 Received: from inva020.nxp.com ([92.121.34.13]) by bombadil.infradead.org with esmtps (Exim 4.98.2 #2 (Red Hat Linux)) id 1wIKfX-00000004kJV-34SF for linux-arm-kernel@lists.infradead.org; Thu, 30 Apr 2026 06:14:40 +0000 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 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20260429_231439_910472_2ECBAE66 X-CRM114-Status: UNSURE ( 9.25 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org 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