From patchwork Sat Jan 20 18:29:26 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Martin Kaiser X-Patchwork-Id: 13524421 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 DC53CC47258 for ; Sat, 20 Jan 2024 18:30: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: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:Message-Id:Date:Subject:Cc :To:From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References: List-Owner; bh=3KE5llXc72hIQDQ7tJbaO3QChGQidLbPRocYMCaUY44=; b=G9VaxFGKuFMUsU IXAMfgHE6Dt9uGVxrHELPKvnKf1LnJMp6YFR2VDtlIohSofPPUdHIU3mpQNIf8VIRjLYWvumtry4r +jM3vLRcyaWzGt3wbrxel27rIOvtYfZJenag53V31+r0VYfIZy3bgjxxYjOwGs7xbNVQ6xmwwmYrU /fXNn4aJ2RbIAJcWXfjkoxIELAaErPVyfbkoZx5SU2McfVKp9T7B2v6QO84JQ4kAsixlYQ1aLJqLB xYsxuZd6PArTRTy2vcnAWHP5Bv0jXlP4nyEHhLQpYaXyziYp/9+DfeZLiOb9/t2BjC1SM1Y8dcyis vq4m4BcIE6FMXBTPqNJA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1rRG6p-008DdQ-1f; Sat, 20 Jan 2024 18:30:23 +0000 Received: from akranes.kaiser.cx ([2a0a:4cc0:1:11ef:4484:ccff:febf:ddfa]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1rRG6d-008DXP-0v for linux-arm-kernel@lists.infradead.org; Sat, 20 Jan 2024 18:30:16 +0000 Received: from dslb-178-004-202-210.178.004.pools.vodafone-ip.de ([178.4.202.210] helo=martin-debian-2.paytec.ch) by akranes.kaiser.cx with esmtpsa (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1rRG6H-000BIC-0W; Sat, 20 Jan 2024 19:29:49 +0100 From: Martin Kaiser To: Shawn Guo , Linus Walleij , Bartosz Golaszewski Cc: Peng Fan , linux-gpio@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Martin Kaiser Subject: [PATCH v3 0/3] gpio: vf610: allow disabling the vf610 driver Date: Sat, 20 Jan 2024 19:29:26 +0100 Message-Id: <20240120182929.1129183-1-martin@kaiser.cx> X-Mailer: git-send-email 2.39.2 MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240120_103011_320540_E8640D18 X-CRM114-Status: UNSURE ( 8.97 ) 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 The vf610 gpio driver is enabled by default for all i.MX machines, without any option to disable it in a board-specific config file. Change gpio's Kconfig to allow disabling this driver. Disable it by default unless we have a vf610 soc. Enable it in the defconfigs for the i.MX chips that need it. Martin Kaiser (3): gpio: vf610: allow disabling the vf610 driver ARM: imx_v6_v7_defconfig: enable the vf610 gpio driver arm64: defconfig: enable the vf610 gpio driver arch/arm/configs/imx_v6_v7_defconfig | 1 + arch/arm64/configs/defconfig | 1 + drivers/gpio/Kconfig | 3 ++- 3 files changed, 4 insertions(+), 1 deletion(-)