Received: by 2002:ab2:6857:0:b0:1ef:ffd0:ce49 with SMTP id l23csp2367707lqp; Sun, 24 Mar 2024 16:06:20 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCVD6haVwB78wuK4LPhgaeF2KoXnU8wcZNxcwdexXHoBvmTA5pCsvVZOzgHspXPupjNBS+L8ARV8gD35Z04tWQU20xcx939IZFdDbemU/Q== X-Google-Smtp-Source: AGHT+IG2QJ+rbg1EoI6bgAv1ns/yiuuRs15tz1vwC26i7crwOVgCchn/vRmTpWkOYfIGBvWFtwHK X-Received: by 2002:a05:6358:6389:b0:17e:b64b:e0e5 with SMTP id k9-20020a056358638900b0017eb64be0e5mr6518449rwh.15.1711321579815; Sun, 24 Mar 2024 16:06:19 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1711321579; cv=pass; d=google.com; s=arc-20160816; b=eKH9Lc3iybBFOGtVketPFiPRhWe14BVpov2J5qYoJmSRzP5OntnzON5+NkLyx3uBtk fGqud2tNu+ceLBNXvyoMMkELI5zZ4C6G8NfX70wp0XPP5YrzNPqd9KZ6W/8IwyE+Ihx0 a2uI4ClRUD/gzkaTXfGF2ZehQK1MCL8FqXNlMKoqCtG3P8zpHAbeaqL5ldcxwsGTh3Ir ks/PprfJc8Vg8QvY2KrsLgwofwbHn8UKqgcmwsR1mrGs/v9nci0w/8I24Wh3mXWKRN0w Yk0jMLd6Z2E18uJns4DFsbXQxozeyxwdZW7aG1LUQn/xIz1QyNMABhvDqmgOZiC6ugG+ NlXw== 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=OYhrid55AT0mZ/uqJ9tDsvF2zybQtg5Us5YsyGUiKLs=; fh=htWcUOBckySwkmrqMceMecRE20gkakhBVCaRqfCnBdw=; b=B+VLIg11lH61e+wh6qh1Ho4T1f/ZOlQpxqrwtBSCCN4yzkwX/TbHwzFJoGbPiBJmnR sDOrxtbh+OURCr9MGeV4Oy6DOHykDtREpL+ua3dT3rUwIKuxWhkfp+4kPop7AA3F/Hbx 2lauTip2X4O5SxLW56QG0avLHTg0HBZRFxF7vXWd0DvDR7gDLVNt/R9CqjWHaZ3BVE6T +f1kbALxV2crKYQzkXIX9264wXowyYqoWQQ/nm5nKlTtw6na0228C5G7NSw7az/qUGLC X8xYXnnUb7PEC6dtpFxitQTFa7g6j4Z/TTbEyTURyAgAd+horMGbwYcu+SSWDeYoE9rY E0QQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=AxxEU3J9; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-113021-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-113021-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 k22-20020a635a56000000b005dc9365a903si6415942pgm.704.2024.03.24.16.06.19 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 24 Mar 2024 16:06:19 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-113021-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=AxxEU3J9; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-113021-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-113021-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 70704281B80 for ; Sun, 24 Mar 2024 23:06:19 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 21CBB138487; Sun, 24 Mar 2024 22:37:13 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="AxxEU3J9" 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 3DC5B137C44; Sun, 24 Mar 2024 22:37:11 +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=1711319832; cv=none; b=bKsacYD05vZcTFmd5M0i2z+eCj3ob/ioqTZl/7v0apaboRUhZVL76RJaxnoe4EeqCW/YENMMUGzHa5tTr/iBOcqGrHxYB8da79Nc6JnrAIfVoXQKHEpDamdzaSliKvPy8jEcFaN/Fol32fEsBFZZxrSY0VNggd41dBnQ+CEwCOo= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711319832; c=relaxed/simple; bh=UU3RW3VG76C1ppMjisYC2nlueT7fVuWvWnBOyvqAUqs=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=hvvP4QxXorLSQ+wy7F9F1a5gwSTauDc13ySVYpkABiI5QogLC9ISYVxwwi9fmMNYvlCeifHZN7MMm5UC157QdvOauOJgPB3WcMfUqej9K+v5Nn1gkV69isx/qXSZnp9Dgy3h0vHTLcn22YtdQYYUCgssuqizcmcQHn4PpAyil6E= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=AxxEU3J9; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 34F89C433F1; Sun, 24 Mar 2024 22:37:11 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1711319831; bh=UU3RW3VG76C1ppMjisYC2nlueT7fVuWvWnBOyvqAUqs=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=AxxEU3J9gBAmd6C75zq/WrVU/1ghR+LX/64A1rPcgNiAYI9xHIflarm7QW5K1EyoP 8oNzSX0N86+g791JS0xdAL4ca1eqslu4CbsQ4a1glUP2BuGQvOVDH5egg9cWfcnkV8 hMWzWcH/KSY818d5RA4Q1/L5R/I1a5/sdxsCnrlYl4Z+AJMUxZc7kd3THjz05Zvc0s EYQLpWOSYx2e9INwt/ty31mnZlyrTYIAhMXhypryWoPk+YxoAKqmyiG8s4P10KfKAN iAVn85nZamEgBgN+Skqu8nTD0YfbK4IgkbdUD9NaMmkNScQB8frd3OzCrW86MMbqHz NRb4yMWHTDYHg== From: Sasha Levin To: linux-kernel@vger.kernel.org, stable@vger.kernel.org Cc: Martin Kaiser , Bartosz Golaszewski , Sasha Levin Subject: [PATCH 6.8 134/715] gpio: vf610: allow disabling the vf610 driver Date: Sun, 24 Mar 2024 18:25:13 -0400 Message-ID: <20240324223455.1342824-135-sashal@kernel.org> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20240324223455.1342824-1-sashal@kernel.org> References: <20240324223455.1342824-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 1301cec94f128..353af1a4d0ace 100644 --- a/drivers/gpio/Kconfig +++ b/drivers/gpio/Kconfig @@ -711,7 +711,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