From patchwork Mon May 6 10:23:54 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Esben Haabendal X-Patchwork-Id: 13655281 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 13B70C25B5C for ; Mon, 6 May 2024 10:24: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: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:Cc:To:In-Reply-To:References:Message-Id :MIME-Version:Subject:Date:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=QT0QyTLLSHz2tWMuJBNQSTlttSDXbKkDK947FBZ96X8=; b=FwtwW+ptFjbKzX lbF8QI8CERlYtZ2XfZYxS4gzlD6BySw0/FH/SpkYaNgDL8TpJKaW+ypobOhe3muGJlY6e6NgbvXdh 0UyOUkl9/g2tiPwXWtkUkcuusD2i8BQoOTyKomuAmeXusTn5vsaqc4GlS78litTV5C0nkfbA4gIJJ tyJJZKWiXPnAOaJrfTrB1JunhLYudbqWlwtGb65jTjlZEPi88/wWKq/SkBg5YftqRII7fOTREHcOW T+Du/I7+fppMvTdSS/Xkl7ioFQNLlgryOAuCGtAAOTcdHB79TKxdc9A9zxSUUjbyHxA5D69dmX/Wm 0NI0k2e2x/QlW5fVZ+5Q==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1s3vWN-00000006x5l-0D4Q; Mon, 06 May 2024 10:24:35 +0000 Received: from www530.your-server.de ([188.40.30.78]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1s3vWF-00000006x2g-0QM9 for linux-arm-kernel@lists.infradead.org; Mon, 06 May 2024 10:24:30 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=geanix.com; s=default2211; h=Cc:To:In-Reply-To:References:Message-Id: Content-Transfer-Encoding:Content-Type:MIME-Version:Subject:Date:From:Sender: Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender :Resent-To:Resent-Cc:Resent-Message-ID; bh=Sr5sE9hhxNCxdk/KUaVoDet/Mj59itaUMZRr+MecJjc=; b=tTifO5zDIqefvel+Axv9aUMb87 kOztsW7nbsirxEVyKaWvRL3s2RXObi08MRCgSTPqxBP2jZZAHaPtY3Uet+iQq07F4GwYC/zwH4JCt EZ9RZHMKpX661e2bzhrwyqVyBf6M+Ymghxt6bfOpTKY7msLpv+N5xyz27dW25knqwMaS1gtVs+bUg 833l1XiMUB4YU/KWg9/5m/QMj56tSWRqam67GaRbAgFlz5k3a2r4wYFeVX8Dg5V9Weik4mYtbEkve SWfk+Rmc59LS6xUY+mjPombDLirqYNJ83S2SCONFH1ieIf4L3kTz9a7dIoB2KKN7qtkmf+VHKEByo NhQrUMTg==; Received: from sslproxy03.your-server.de ([88.198.220.132]) by www530.your-server.de with esmtpsa (TLS1.3) tls TLS_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1s3vVu-0007YE-5V; Mon, 06 May 2024 12:24:06 +0200 Received: from [87.49.147.101] (helo=localhost) by sslproxy03.your-server.de with esmtpsa (TLS1.3) tls TLS_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1s3vVs-000OnK-30; Mon, 06 May 2024 12:24:05 +0200 From: Esben Haabendal Date: Mon, 06 May 2024 12:23:54 +0200 Subject: [PATCH v2 2/3] pinctrl: freescale: Use CONFIG_SOC_IMXRT to guard i.MX RT1xxx drivers MIME-Version: 1.0 Message-Id: <20240506-imx-pinctrl-optional-v2-2-bdff75085156@geanix.com> References: <20240506-imx-pinctrl-optional-v2-0-bdff75085156@geanix.com> In-Reply-To: <20240506-imx-pinctrl-optional-v2-0-bdff75085156@geanix.com> To: Russell King , Shawn Guo , Sascha Hauer , Pengutronix Kernel Team , Fabio Estevam , Dong Aisheng , Jacky Bai , Linus Walleij Cc: Arnd Bergmann , Rasmus Villemoes , linux-arm-kernel@lists.infradead.org, imx@lists.linux.dev, linux-kernel@vger.kernel.org, linux-gpio@vger.kernel.org, Esben Haabendal X-Mailer: b4 0.13.0 X-Authenticated-Sender: esben@geanix.com X-Virus-Scanned: Clear (ClamAV 0.103.10/27267/Mon May 6 10:24:34 2024) X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240506_032427_581718_8386EC91 X-CRM114-Status: GOOD ( 10.96 ) 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 This aligns with the use of SOC_IMX* as dependencies for all the other mach-imx pinctrl drivers. Enabling i.MX RT pinctrl drivers for a kernel with out i.MX RT SOC support is pointless. Signed-off-by: Esben Haabendal Acked-by: Arnd Bergmann --- drivers/pinctrl/freescale/Kconfig | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/drivers/pinctrl/freescale/Kconfig b/drivers/pinctrl/freescale/Kconfig index ef39bb6cf9cb..2b19c40978c2 100644 --- a/drivers/pinctrl/freescale/Kconfig +++ b/drivers/pinctrl/freescale/Kconfig @@ -193,7 +193,8 @@ config PINCTRL_IMX8ULP config PINCTRL_IMXRT1050 bool "IMXRT1050 pinctrl driver" - depends on ARCH_MXC + depends on SOC_IMXRT + default SOC_IMXRT select PINCTRL_IMX help Say Y here to enable the imxrt1050 pinctrl driver @@ -228,7 +229,7 @@ config PINCTRL_IMX28 config PINCTRL_IMXRT1170 bool "IMXRT1170 pinctrl driver" - depends on ARCH_MXC + depends on SOC_IMXRT select PINCTRL_IMX help Say Y here to enable the imxrt1170 pinctrl driver