Received: by 2002:ab2:7b86:0:b0:1f7:5705:b850 with SMTP id q6csp1294233lqh; Mon, 6 May 2024 03:24:46 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCVIbVM1Kyoi+S5OR8q29jLddI+QeU/B5GGP0lMlEX4bftZXCGZ2CR+JHn0sPbA8KJq2HZxKRAyTStjj6ioG7RlLHZzi+PUNWsqUgtgz9w== X-Google-Smtp-Source: AGHT+IHNQjaqI6eCAzhqq+/hiWK7ekTKy+n1N0nrwokDWiETSpyMkLkqUq05pNI9Xona6TGd5UT2 X-Received: by 2002:a54:4409:0:b0:3c9:5ba8:2467 with SMTP id k9-20020a544409000000b003c95ba82467mr8973870oiw.4.1714991086193; Mon, 06 May 2024 03:24:46 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1714991086; cv=pass; d=google.com; s=arc-20160816; b=QeLxLlaS+cgT7XGtNOWmP9b5Uw2AhkdNqo2j0UeSrZFK9idRJXt0H9Lpj3TsnmaTAO lo1w0tzqOIw65uq68ZcZlFAmdOie4F/99y7CEAq4GYqziO7MR6Lg5tMYcnSx8pCPK05N FgGN3Nzpy+olFGr16BXXZ5cQFaXOntKcWEnaZU4CzV8Rkht5F2v7a0ex78ZJr9AcInlH inWI3XMxVVdXzYchMvb2n0kDaTmqz2nh8zuZapJHxkBP3KvEkILhVabACjhd5L2TVcOB b3FyRSOZ532Jo8Cv+f8MuCCNabkqBlTSm6nzDRbLck8K5Qy6y5enipUZkP7gL5lLGsnN gXUw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:list-unsubscribe:list-subscribe:list-id:precedence :subject:date:from:dkim-signature; bh=Sr5sE9hhxNCxdk/KUaVoDet/Mj59itaUMZRr+MecJjc=; fh=81AVysleB9HcdgWhm4sGWdKrie69J6kxMthkNZN/PKI=; b=B25hYZPxIH6lrVj5nMBCmpJ5h1/ricAulnRSsWvbvm3f6fi5W+REdPP1Ykvjp1nGRM u64SCF7oizb4qKruUEK1UKbeJaKjxnQSUcM+y5oZeRbj0EVCW4Pin6u+CbBKJ8wmtA29 fO8AYlneaRyfsfKKXvQrEGT5GugjlRT5LcqWMfZrem4kKSjmpSCr289ZLQiZd0zd+8mf 8jgQb4qmxBvgZJUK9EvZTp3tUWiImXM74y+b9GoRMyuB+uaaIM9quVx+w+p8XjsF+W8n xgdlvtxJyRZQ47fJxH5muGmv8+LNVfwvnBa+pHbAItn+fqpgIY7VZ21XhW0Ktk9PsufL Kr/A==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@geanix.com header.s=default2211 header.b=tTifO5zD; arc=pass (i=1 spf=pass spfdomain=geanix.com dkim=pass dkdomain=geanix.com dmarc=pass fromdomain=geanix.com); spf=pass (google.com: domain of linux-kernel+bounces-169665-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-169665-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=geanix.com Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id t3-20020ad45bc3000000b006a0b509dceesi7454683qvt.261.2024.05.06.03.24.45 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 06 May 2024 03:24:46 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-169665-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) client-ip=2604:1380:45d1:ec00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@geanix.com header.s=default2211 header.b=tTifO5zD; arc=pass (i=1 spf=pass spfdomain=geanix.com dkim=pass dkdomain=geanix.com dmarc=pass fromdomain=geanix.com); spf=pass (google.com: domain of linux-kernel+bounces-169665-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-169665-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=geanix.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ny.mirrors.kernel.org (Postfix) with ESMTPS id CF87D1C20EEC for ; Mon, 6 May 2024 10:24:45 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 7AD4A142E84; Mon, 6 May 2024 10:24:29 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=geanix.com header.i=@geanix.com header.b="tTifO5zD" Received: from www530.your-server.de (www530.your-server.de [188.40.30.78]) (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 19FED43AA5; Mon, 6 May 2024 10:24:25 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=188.40.30.78 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1714991068; cv=none; b=Lko0EHidvelICTKmLcLf5nNCiVM5OVq3oSE/p0B1pHX9JONSEzQZVLlcntb7yuKTx5kMtPDuNmHaUY4jN/rDYSGuFypxQw8U66RHeVFUSE/1iFhjwJmFveZpbGVHpOeBlAHinNdVRnfcMHaLjMpIskEPXrKoZqigdufNPg+kfk0= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1714991068; c=relaxed/simple; bh=A95II0L+2CU8yfg7lhrZG/cyFVKl7bFuDgSv7zTeqt8=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=Xyl6Rna6FZXm1t4DqcPuiKSNFVLaOLTs1Ie5LaPVN9DBMRCtzPFOWrvEkKez8eDc61VrOtAFaw/3T56xeY5I386tJhBJ2a+1Y5rb5fk4iUXJey9YAG1MGC3gRH+SFE4I5NVOsc+fzbug+cDi6mkJnnNxaIpUAa3LAlzzopMXI2Y= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=geanix.com; spf=pass smtp.mailfrom=geanix.com; dkim=pass (2048-bit key) header.d=geanix.com header.i=@geanix.com header.b=tTifO5zD; arc=none smtp.client-ip=188.40.30.78 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=geanix.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=geanix.com 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 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit 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) 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 --- 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 -- 2.45.0