Message ID | 20240124205900.14791-1-martin@kaiser.cx |
---|---|
Headers |
Return-Path: <linux-kernel+bounces-37674-ouuuleilei=gmail.com@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7300:2553:b0:103:945f:af90 with SMTP id p19csp1252397dyi; Wed, 24 Jan 2024 13:02:54 -0800 (PST) X-Google-Smtp-Source: AGHT+IFiUV8a3VQRZ9jUOTSf0dOXPTgNS2mM/PjhfTAX/dlLFyxf7EjwznExhiyh6B0ZpW35AbwX X-Received: by 2002:a5e:c241:0:b0:7be:f4e2:7bfc with SMTP id w1-20020a5ec241000000b007bef4e27bfcmr52027iop.13.1706130174661; Wed, 24 Jan 2024 13:02:54 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1706130174; cv=pass; d=google.com; s=arc-20160816; b=rvwq/nBSFwGUv1Lopw94ZEE+bh2HTklF191+9V29ca1wBkW8gqjNfObHGTLeA8s/rD x3jyU2p4BbgDeVy9HR6r4yVSJQ05W4/T++PUw4Y+KuTyzfkYJY5qv4Ik3954XUgRnU2T u8oA+PC8H3tD/8no+r72RDUGe7LBnaHdCiypd8iJKIWTI38wJPHGiJ0oC/u7WmIgQONA Eu96CbM0hb7B+Tun72ivbucSXh524niIIo7f0U1hHX7GEokz2Rf8ynwM/ah/wB8KV3uj MAItg2g9w9yhkjKeMJdKJ/D4082+1qF03UVXwrG+WxPtwYbKMTIJPRpyJ2XDeF2YR70t isdg== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:message-id:date:subject:cc:to :from; bh=hvjnX0JwvVb2S0+b5pmZViDGDLCFac8cf63ZhYdYJj8=; fh=w6IwlWjFmYZoBIFXv1VJvvnWh/ESi3WhmhXTq2sX8YE=; b=tPitDf0MMXW6pa/gcVwL4lCzrljGruhXHwL8CfzkVoQg1CUN3hdTbyKDKjr1PBPeQw RI+75Qw8VKBao2R9ez/B8J/DWTCWcbfpDD+s5+RFnYys533nuWxphZvjkS+BXYjEIr9t i1M6RMSCRTX0N+QBHPjr3ek+qrTMewglqxrYXKXegcwKPUiSNwd1+3zCoTOlWyahyvYF To91gMEeiPtf8cH87gAY2T+GWmQTWqY/H0hbEH/QTazle4FCY2gviAzPcAoCCezzAYxl mh0jdXLQm5CuajS0y+FKOJLcDDljIbetI5wlhPls4r1u8kk53Khth8rZgTx/QLx4ifH6 eq0g== ARC-Authentication-Results: i=2; mx.google.com; arc=pass (i=1 spf=pass spfdomain=kaiser.cx); spf=pass (google.com: domain of linux-kernel+bounces-37674-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-37674-ouuuleilei=gmail.com@vger.kernel.org" Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [147.75.48.161]) by mx.google.com with ESMTPS id c10-20020a631c4a000000b005cdc2cc9a1dsi12499059pgm.699.2024.01.24.13.02.54 for <ouuuleilei@gmail.com> (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 24 Jan 2024 13:02:54 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-37674-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) client-ip=147.75.48.161; Authentication-Results: mx.google.com; arc=pass (i=1 spf=pass spfdomain=kaiser.cx); spf=pass (google.com: domain of linux-kernel+bounces-37674-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-37674-ouuuleilei=gmail.com@vger.kernel.org" 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 sy.mirrors.kernel.org (Postfix) with ESMTPS id DEEDDB235C0 for <ouuuleilei@gmail.com>; Wed, 24 Jan 2024 21:00:13 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 99E7B135418; Wed, 24 Jan 2024 20:59:32 +0000 (UTC) Received: from akranes.kaiser.cx (akranes.kaiser.cx [152.53.16.207]) (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 7B4CF1350D0; Wed, 24 Jan 2024 20:59:29 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=152.53.16.207 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706129971; cv=none; b=txH01z6qdr72hg/gtl9rRn6oq6VUqnx98Oa3ZVPrDldWwU+rhc+k3Zg4Mv0tmcvvhXAFzcR5gkBCMELSw6EyheNJTm5V83gW7pI+sR1Xwu6rurj4lkHIHnGdubcAfrecU3h4r8iEVidzvPZkCdnWP8S4+s/VR89psOvcxHD8zko= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706129971; c=relaxed/simple; bh=7e5Izmg/91tveRQeeNZdkglwhXxoRY7LY+zlKksZL1M=; h=From:To:Cc:Subject:Date:Message-Id:MIME-Version; b=VDYaIlnHtfDevWOPsRuIdzsCO0aZTEd0tXVM1EsQLnrztKt8XlqEOttxrgTnNV42QG5d80gM/ug9yvmJShYGvt32gETS/bjwqYCPdtf7ddYKHEJ0ZNNXYG/WhcOuQMlxbJjXalpjJNUs9tPN43n5SO61vpz0hkyZlmih84Ww9cs= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=kaiser.cx; spf=pass smtp.mailfrom=kaiser.cx; arc=none smtp.client-ip=152.53.16.207 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=kaiser.cx Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=kaiser.cx 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 <martin@kaiser.cx>) id 1rSkKy-000SPR-1Q; Wed, 24 Jan 2024 21:59:08 +0100 From: Martin Kaiser <martin@kaiser.cx> To: Shawn Guo <shawnguo@kernel.org>, Linus Walleij <linus.walleij@linaro.org>, Bartosz Golaszewski <brgl@bgdev.pl> Cc: Peng Fan <peng.fan@nxp.com>, Andrew Lunn <andrew@lunn.ch>, linux-gpio@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Martin Kaiser <martin@kaiser.cx> 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 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: <linux-kernel.vger.kernel.org> List-Subscribe: <mailto:linux-kernel+subscribe@vger.kernel.org> List-Unsubscribe: <mailto:linux-kernel+unsubscribe@vger.kernel.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1789007003551470789 X-GMAIL-MSGID: 1789007154196028492 |
Series |
gpio: vf610: allow disabling the vf610 driver
|
|
Message
Martin Kaiser
Jan. 24, 2024, 8:58 p.m. UTC
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(-)
Comments
> Subject: [PATCH v4 0/4] gpio: vf610: allow disabling the vf610 driver > > 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 Reviewed-by: Peng Fan <peng.fan@nxp.com> > > arch/arm/configs/imx_v6_v7_defconfig | 1 + > arch/arm64/configs/defconfig | 1 + > drivers/gpio/Kconfig | 5 +++-- > 3 files changed, 5 insertions(+), 2 deletions(-) > > -- > 2.39.2