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 555EFE7718B for ; Fri, 27 Dec 2024 15:29:52 +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=1FSYKsWchUpb2extaSJcxcaJbzkmUAPagBKsMfUTAe0=; b=t0laogUL7Q6gL77am9vVlUovNg GOZOunwEBFmEZSAUqUBarbNXm1TgxOFaQd/6EGdpGswBaPbUsSR9MvJhshWBzGsYJ09MlY1GhabgJ nTs2mALySycZNQF4TH32Guhr6xLozj2kLB9hrLWnMPPRvD/UtvwRgkaGWiRGeurtmH+dsoxVAGfso W7MuEgUfoIjRXLWde3Q7pXlNhdFa0mhRk82wMCzduP7ShL0KW6Z/BMH6eBF5NZG8+w4qkvjxRByaz LhMO9yRz1UpFEYvY4CFnIA4da5sRNwOdiSy5UQiVoLxr+xV/CLf7pUGTAg1Gk1c5+WaHRS5w5+B5P BkiUzdew==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.98 #2 (Red Hat Linux)) id 1tRCHW-00000000X4U-18nW; Fri, 27 Dec 2024 15:29:42 +0000 Received: from foss.arm.com ([217.140.110.172]) by bombadil.infradead.org with esmtp (Exim 4.98 #2 (Red Hat Linux)) id 1tRCGL-00000000Wyg-3Bcf for linux-arm-kernel@lists.infradead.org; Fri, 27 Dec 2024 15:28:30 +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 4A5911E2F; Fri, 27 Dec 2024 07:28:56 -0800 (PST) Received: from bogus (unknown [10.57.92.15]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id B2FD23F673; Fri, 27 Dec 2024 07:28:24 -0800 (PST) Date: Fri, 27 Dec 2024 15:28:07 +0000 From: Sudeep Holla To: "Peng Fan (OSS)" Cc: Cristian Marussi , Greg Kroah-Hartman , Sudeep Holla , 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: <20241227152807.xoc7gaatejdrxglg@bogus> References: <20241225-scmi-fwdevlink-v1-0-e9a3a5341362@nxp.com> <20241225-scmi-fwdevlink-v1-2-e9a3a5341362@nxp.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20241225-scmi-fwdevlink-v1-2-e9a3a5341362@nxp.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20241227_072829_848321_58E24F70 X-CRM114-Status: UNSURE ( 9.58 ) 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 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. -- Regards, Sudeep