Received: by 2002:ab2:6857:0:b0:1ef:ffd0:ce49 with SMTP id l23csp2555015lqp; Mon, 25 Mar 2024 02:25:11 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCXsS7+xv1l9YpXrRa6zQkdSfAHXfSFBtSECcVyTs4EBo0cdIIm4Cea9a6IESmbjUmNHX313rb+8FHfD/AXhyoE+zhd90BpxA4FcxOnGMg== X-Google-Smtp-Source: AGHT+IFFu7LNnxj+9C26rt5KxyaAjnEYcsTfnEUDLtpyvxclgLOLonbuzUt3IPdHmq1fD0CJedZ+ X-Received: by 2002:a17:903:2284:b0:1e0:b759:fe07 with SMTP id b4-20020a170903228400b001e0b759fe07mr4422995plh.23.1711358711755; Mon, 25 Mar 2024 02:25:11 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1711358711; cv=pass; d=google.com; s=arc-20160816; b=I8AIb5r4Xhh6lFa8OmKocTHbbi5BcgFVN036NTqCIR6Votejy9vpBIwi+Mcd32uiBZ dTTwYLSpNIi6UxYsi/wK4duxGvm9Qp/khLNOqD3lKHlF0TWQuyhSsUkU5pOD8/26DK66 KG4sRbzxj4muqtJEs24f+Ep3nUS/eX6zIwVbXJd7vuP/V7C4VGmuJ6aSiwhyAJ9Ig5YO 95VOr6kW6zm3OQNxQXcoFli++uOcj5yhHyrJdVd0LBjZihmSbHgHQdoY4ePeidfJQs+a PyGnR4J3fpofWiW2xHW8vA5EI5BibM6mAi8Pi+JCX9q53SuZD2hRK355VGv/RaUMdSZ+ NDXw== 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:references:in-reply-to:message-id :date:subject:cc:to:from:dkim-signature; bh=Kf4XAyNnkVEWXM8XaNpqzWCZwDqy/qJmod4umHj0uH4=; fh=htWcUOBckySwkmrqMceMecRE20gkakhBVCaRqfCnBdw=; b=AUT9iwo1sN/N7dISiprXEU8IU+TkIp9WsOlK07AzRn9Nbpu8FKqk8pTk7opGshp0dj gpGzLVQH8zroVQ1wv4ZqgoWa6ghsmorUyCqKSjPAhd1Ge5KUlcbScLvEVqjfgpt4YHXa i3/14o2EIXkQQarz1tJolixBJHtZS8UXhIzGXhJnIp62An9XOPfNCu0ng6/QALnEnEuX spy257ZkcPLpNuHu5llajyWUQ36Wo96MkeOZJbQzuJVXhDjccKDQtouD8DIsLvGb2tCR gz6oJyfNbchTHVel80//Z2ElrE9qe4p9KClIMsTGMCclDNeFhGDKa02CgTfGsLeWftP5 6hSA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=ddTHGMDe; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-115796-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-115796-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [2604:1380:45e3:2400::1]) by mx.google.com with ESMTPS id t2-20020a17090340c200b001e04f4c88ffsi3722196pld.83.2024.03.25.02.25.11 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 25 Mar 2024 02:25:11 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-115796-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) client-ip=2604:1380:45e3:2400::1; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=ddTHGMDe; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-115796-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-115796-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=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 sv.mirrors.kernel.org (Postfix) with ESMTPS id 14BAC29C569 for ; Mon, 25 Mar 2024 09:24:23 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 34BD8372A6E; Mon, 25 Mar 2024 03:00:56 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="ddTHGMDe" Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (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 0C092145B3B; Sun, 24 Mar 2024 23:14:07 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711322047; cv=none; b=aPSrTh8Sehz8Glfz8O1eolQO65EWHBSaFrSbfD6V/P/nxkKLbjBpFwLa3EX+LiZMUBncjATgGESok1m/2znmHqbjTbfpwIh5YjwCknQmGKrmztmpJEKJkF4H1J4y3OLhUA2UjhiIAy2rmOy33vFnMxlZVe6Pjs1XGN4i2bXrKCM= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711322047; c=relaxed/simple; bh=9Jwo5MuWcAgGBmzbxKCppdwX4vW5rbfFnUdR44EgPL8=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=nu6UxVL7SOqKO+05aiPtjdRR4DM1HcQISFQznC5Wkn5DSnOT3Puf4JLp0tGLjaYuwgfy0N0UTbelJdBZXuJIF6wSHjNX3Lprdk0f5fwJWO1BW8g98TFcnbjkeAPc18qadhx2VaUkD4B0GWLx0WrPM91WgucGfv73rqlFAAzAQc4= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=ddTHGMDe; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 4A7DBC433F1; Sun, 24 Mar 2024 23:14:06 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1711322046; bh=9Jwo5MuWcAgGBmzbxKCppdwX4vW5rbfFnUdR44EgPL8=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=ddTHGMDek7fUzHxvFm/xE9Y4SgJ1eMeJRRaI8Mu/gBLDISBrztYDoVvhiCFHQSmIG HxPUzWf0jS4gWp++v0W0jeKqYgTT3NxF7VXgRHYGheMDzH20fL4pvvH/OLJYFhBUSk z+XfAHmUJeIbQMiOuFkevP+PiOUlZsoVNbvZaiswJ1Z3oLTosfZ5IpVrofPjCj4491 y2ctdtEuuPIfHF0FMwhc9Ljnbhf7l4/8bfHmNjDThe6OtttODF6ltme34gDulMafFP VFe2H+Ag9iAY0+n40s5vblLJK5EqgyLbM4dFmxkGv29u6W4IwZRvOrnvCEEAozO6QX YR/S1Cpl6KOwg== From: Sasha Levin To: linux-kernel@vger.kernel.org, stable@vger.kernel.org Cc: Martin Kaiser , Bartosz Golaszewski , Sasha Levin Subject: [PATCH 6.1 119/451] gpio: vf610: allow disabling the vf610 driver Date: Sun, 24 Mar 2024 19:06:35 -0400 Message-ID: <20240324231207.1351418-120-sashal@kernel.org> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20240324231207.1351418-1-sashal@kernel.org> References: <20240324231207.1351418-1-sashal@kernel.org> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-stable: review X-Patchwork-Hint: Ignore Content-Transfer-Encoding: 8bit From: Martin Kaiser [ Upstream commit f57595788244a838deec2d3be375291327cbc035 ] 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. Most i.MX chipsets have no hardware for this driver. Change the default to enable GPIO_VF610 for SOC_VF610 and disable it otherwise. Add a text description after the bool type, this makes the driver selectable by make config etc. Fixes: 30a35c07d9e9 ("gpio: vf610: drop the SOC_VF610 dependency for GPIO_VF610") Signed-off-by: Martin Kaiser Signed-off-by: Bartosz Golaszewski Signed-off-by: Sasha Levin --- drivers/gpio/Kconfig | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/gpio/Kconfig b/drivers/gpio/Kconfig index 3e8e5f4ffa59f..700f71c954956 100644 --- a/drivers/gpio/Kconfig +++ b/drivers/gpio/Kconfig @@ -679,7 +679,8 @@ config GPIO_UNIPHIER Say yes here to support UniPhier GPIOs. config GPIO_VF610 - def_bool y + bool "VF610 GPIO support" + default y if SOC_VF610 depends on ARCH_MXC select GPIOLIB_IRQCHIP help -- 2.43.0