From patchwork Wed Jan 24 20:58:56 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Martin Kaiser X-Patchwork-Id: 13529682 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 17751C47422 for ; Wed, 24 Jan 2024 21:00:20 +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=+BTnWDQbLNCPKZ5YGKWH9VVRvsKveurOvuPaslNoR8c=; b=fAxDr9VZ5/CE5h 9/Yx9WcvE7Xm8n+An5cY0jwE8eZsuWOJUzMalRPhhbF+e4+IRE7MK1DJSA+yNUiXM/2HwORdThisK FrGvKa43+CYirNJP/C4OcW9YFBsQFe95Zojjx+PoQ7UezC0zk1NJ+8Xk6PtDF8+54M5Uc15I9OWhM iEUHX+uSFZruAX4M+3cHMMTz7ranjAvRs4/7J/qmzJxACGvFA0RwOK0p8P97bSPR06qTna0lxme83 GqIE7hp2kGlKWY56gOO7UmEyAi+eCz8iEYCI0E8GqJ2Q/LrZVjHTk7IV8fde40/mRZHRz71rozoNH FCj0E2ai7s3f/A6ZwBeQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1rSkLc-00551A-0w; Wed, 24 Jan 2024 20:59:48 +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 1rSkLM-0054w7-0f for linux-arm-kernel@lists.infradead.org; Wed, 24 Jan 2024 20:59:34 +0000 Received: from dslb-188-097-042-032.188.097.pools.vodafone-ip.de ([188.97.42.32] 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 1rSkKy-000SPR-1Q; Wed, 24 Jan 2024 21:59:08 +0100 From: Martin Kaiser To: Shawn Guo , Linus Walleij , Bartosz Golaszewski Cc: Peng Fan , Andrew Lunn , linux-gpio@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Martin Kaiser Subject: [PATCH v4 0/4] gpio: vf610: allow disabling the vf610 driver Date: Wed, 24 Jan 2024 21:58:56 +0100 Message-Id: <20240124205900.14791-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-20240124_125932_250467_16BE39DD X-CRM114-Status: UNSURE ( 9.65 ) 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. While at it, enable COMPILE_TEST for the vf610 gpio driver. Martin Kaiser (4): gpio: vf610: allow disabling the vf610 driver gpio: vf610: enable COMPILE_TEST 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 | 5 +++-- 3 files changed, 5 insertions(+), 2 deletions(-) Reviewed-by: Peng Fan