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 12670E77188 for ; Tue, 31 Dec 2024 18:17:44 +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:In-Reply-To:Content-Type: MIME-Version:References:Message-ID:Subject:Cc:To:From:Date:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=17pW77A3YKiTyKhLAm9uhSNaHVPCvMuypnmnaGTViZc=; b=ZdBs2A1ReXG/8JeCawNgB0rvo0 YV84+OzyMMoa+9BRnil9NI7+YSaugQpMz5V52wbXScQXd7hrghnF6ylGnLf6FrJQM/qUC5zK1tish IJoMjPANykYcbDRKeDLVGi+K7XMVjfeRDU1hLV2SA7JqU9kWsLs4SOzMmGE+KA+G20sJCV6vp4hJF H3NW936CLN6C6enngPr2iDKljG4OqMy3ioWiAJrRqyzjMqapau4PLLV/LKchqW4WzRvFjvKJe4wQD iuqjuOChFwvNZkL6E7LDZ9Nc9UUIipXl0EUGYsPLqaY/nmtmJpLZjFhl7RwpN/QTFq2z+GF1yi5Ds kpB2qTUQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.98 #2 (Red Hat Linux)) id 1tSgo9-00000007ad7-2A3l; Tue, 31 Dec 2024 18:17:33 +0000 Received: from foss.arm.com ([217.140.110.172]) by bombadil.infradead.org with esmtp (Exim 4.98 #2 (Red Hat Linux)) id 1tSgmw-00000007aWX-0CPR for linux-arm-kernel@lists.infradead.org; Tue, 31 Dec 2024 18:16:19 +0000 Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.121.207.14]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id 6C060143D; Tue, 31 Dec 2024 10:16:45 -0800 (PST) Received: from pluto (usa-sjc-mx-foss1.foss.arm.com [172.31.20.19]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id A87473F673; Tue, 31 Dec 2024 10:16:14 -0800 (PST) Date: Tue, 31 Dec 2024 18:16:12 +0000 From: Cristian Marussi To: Sudeep Holla Cc: "Peng Fan (OSS)" , Cristian Marussi , Greg Kroah-Hartman , Saravana Kannan , Linus Walleij , Dong Aisheng , Fabio Estevam , Shawn Guo , Jacky Bai , Pengutronix Kernel Team , Sascha Hauer , arm-scmi@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-gpio@vger.kernel.org, imx@lists.linux.dev, Peng Fan Subject: Re: [PATCH 2/4] firmware: arm_scmi: bus: Bypass setting fwnode for pinctrl Message-ID: References: <20241225-scmi-fwdevlink-v1-0-e9a3a5341362@nxp.com> <20241225-scmi-fwdevlink-v1-2-e9a3a5341362@nxp.com> <20241227152807.xoc7gaatejdrxglg@bogus> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20241227152807.xoc7gaatejdrxglg@bogus> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20241231_101618_136980_714D8131 X-CRM114-Status: GOOD ( 12.14 ) 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 On Fri, Dec 27, 2024 at 03:28:07PM +0000, Sudeep Holla wrote: > On Wed, Dec 25, 2024 at 04:20:45PM +0800, Peng Fan (OSS) wrote: > > From: Peng Fan > > > > pinctrl-scmi.c and pinctrl-imx-scmi.c, both use SCMI_PROTOCOL_PINCTRL. > > If both drivers are built in, and the scmi device with name "pinctrl-imx" > > is created earlier, and the fwnode device points to the scmi device, > > non-i.MX platforms will never have the pinctrl supplier ready. > > > > I wonder if we can prevent creation of "pinctrl-imx" scmi device on non > i.MX platforms instead of this hack which IMO is little less hackier > (and little more cleaner as we don't create problem and then fix here) > than this change. ...or indeed this is another possibility Thanks, Cristian