From patchwork Wed Apr 20 08:58:02 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Linus Walleij X-Patchwork-Id: 66188 Delivered-To: patch@linaro.org Received: by 10.140.93.198 with SMTP id d64csp2325296qge; Wed, 20 Apr 2016 01:58:54 -0700 (PDT) X-Received: by 10.98.19.151 with SMTP id 23mr988394pft.62.1461142731909; Wed, 20 Apr 2016 01:58:51 -0700 (PDT) Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id e19si15382927pfb.36.2016.04.20.01.58.51; Wed, 20 Apr 2016 01:58:51 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-gpio-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org; spf=pass (google.com: best guess record for domain of linux-gpio-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-gpio-owner@vger.kernel.org; dmarc=fail (p=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932951AbcDTI6q (ORCPT + 4 others); Wed, 20 Apr 2016 04:58:46 -0400 Received: from mail-lf0-f52.google.com ([209.85.215.52]:33248 "EHLO mail-lf0-f52.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932391AbcDTI6m (ORCPT ); Wed, 20 Apr 2016 04:58:42 -0400 Received: by mail-lf0-f52.google.com with SMTP id e190so36779304lfe.0 for ; Wed, 20 Apr 2016 01:58:41 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=/1bDjE/WaXaBu7XRFKPqUbP2coFl7kQobYxY2t8+b8k=; b=dbA+WHOHXb12syYKN1S4Ie9ISZBvfqYHaquvf6BCuHYpl8U6c+7eaIeJ/b7/iAx4qF hEDK9812Wo4XBW9lFGhAQwkHBea3y6IpOq+1CWUkmI/xVA5VjEjx3M4HPubY1fS4Oqn8 smYGMnmOKTRq8+Bn0DVgZptgyBDMqiEck4Vrw= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=/1bDjE/WaXaBu7XRFKPqUbP2coFl7kQobYxY2t8+b8k=; b=YoH1Zhz2NvsdxIA2O0O1mOdvi9pHGaXsqD1S/YROmwKnJv7nIAHg3AYObDUOfCupG+ N+I/e5ny9gDb0TQ8AugmWFrpulWn9i15ssqh3ilvUMiUuPALB5K1qrUBjH/xB3gTfCXP bmJ3IdcDI+K9NIYNEMqp+1a0DKRogiwPVoI/txHCSyM/KuMipOJ8t+xBjqSiy7yCKjrQ rt+smQFypHWCbFy6Y2AhXQgSYGrP7gDrAIdAg5lhaatTinvZPJ+zPY5AkqV1tEHapSEQ mrcklUjVkUVwzvRJ2ETLY2wcKvKVjtJs8DB0LpDw1HK4c31eKlH4qxGPqWmGBGFezm0b SFIw== X-Gm-Message-State: AOPr4FW7F1e1h5Hs/foP4dGPkYm6gKkYFmd8FwbzwZNN05i7zMCOgKirsy214wZ45lnTmjyT X-Received: by 10.25.41.70 with SMTP id p67mr3185479lfp.124.1461142720667; Wed, 20 Apr 2016 01:58:40 -0700 (PDT) Received: from localhost.localdomain ([85.235.10.227]) by smtp.gmail.com with ESMTPSA id z8sm849934lbv.42.2016.04.20.01.58.39 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 20 Apr 2016 01:58:39 -0700 (PDT) From: Linus Walleij To: linux-gpio@vger.kernel.org, Alexandre Courbot Cc: Linus Walleij , =?UTF-8?q?Michael=20B=C3=BCsch?= Subject: [PATCH 04/23] arm64: do away with ARCH_[WANT_OPTIONAL|REQUIRE]_GPIOLIB Date: Wed, 20 Apr 2016 10:58:02 +0200 Message-Id: <1461142701-21096-5-git-send-email-linus.walleij@linaro.org> X-Mailer: git-send-email 2.4.11 In-Reply-To: <1461142701-21096-1-git-send-email-linus.walleij@linaro.org> References: <1461142701-21096-1-git-send-email-linus.walleij@linaro.org> MIME-Version: 1.0 Sender: linux-gpio-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-gpio@vger.kernel.org This replaces: - "select ARCH_REQUIRE_GPIOLIB" with "select GPIOLIB" as this can now be selected directly. - "select ARCH_WANT_OPTIONAL_GPIOLIB" with no dependency: GPIOLIB is now selectable by everyone, so we need not declare our intent to select it. Cc: Michael Büsch Signed-off-by: Linus Walleij --- Various arch maintainers: either ACK this and I will merge it into the GPIO tree for v4.7 anticipating no clashes, or you wait until I have the enabling patch upstream (patch 1 in this series, removing deps on ARCH_[WANTS_OPTIONAL|REQUIRES]_GPIOLIB), and you will be able to merge it to your arch trees yourselves for late v4.7 (post GPIO tree merge) or for v4.8. You can also ask me for an immutable branch if you prefer that, I will put the enabling patch on a branch and the patch for your arch on top and ask you to pull it. Select your option from the menu, silence probably means I will merge it to the GPIO tree. Unless you are X86 or ARM in which case I will be cautious. --- arch/arm64/Kconfig | 1 - arch/arm64/Kconfig.platforms | 10 +++++----- 2 files changed, 5 insertions(+), 6 deletions(-) -- 2.4.11 -- To unsubscribe from this list: send the line "unsubscribe linux-gpio" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html diff --git a/arch/arm64/Kconfig b/arch/arm64/Kconfig index 4f436220384f..e2286808ad30 100644 --- a/arch/arm64/Kconfig +++ b/arch/arm64/Kconfig @@ -11,7 +11,6 @@ config ARM64 select ARCH_HAS_TICK_BROADCAST if GENERIC_CLOCKEVENTS_BROADCAST select ARCH_USE_CMPXCHG_LOCKREF select ARCH_SUPPORTS_ATOMIC_RMW - select ARCH_WANT_OPTIONAL_GPIOLIB select ARCH_WANT_COMPAT_IPC_PARSE_VERSION select ARCH_WANT_FRAME_POINTERS select ARCH_HAS_UBSAN_SANITIZE_ALL diff --git a/arch/arm64/Kconfig.platforms b/arch/arm64/Kconfig.platforms index efa77c146415..639539d2a811 100644 --- a/arch/arm64/Kconfig.platforms +++ b/arch/arm64/Kconfig.platforms @@ -15,15 +15,15 @@ config ARCH_ALPINE config ARCH_BCM_IPROC bool "Broadcom iProc SoC Family" select COMMON_CLK_IPROC + select GPIOLIB select PINCTRL - select ARCH_REQUIRE_GPIOLIB help This enables support for Broadcom iProc based SoCs config ARCH_BERLIN bool "Marvell Berlin SoC Family" - select ARCH_REQUIRE_GPIOLIB select DW_APB_ICTL + select GPIOLIB select PINCTRL help This enables support for Marvell Berlin SoC Family @@ -82,7 +82,7 @@ config ARCH_QCOM config ARCH_ROCKCHIP bool "Rockchip Platforms" select ARCH_HAS_RESET_CONTROLLER - select ARCH_REQUIRE_GPIOLIB + select GPIOLIB select PINCTRL select PINCTRL_ROCKCHIP select ROCKCHIP_TIMER @@ -122,11 +122,11 @@ config ARCH_STRATIX10 config ARCH_TEGRA bool "NVIDIA Tegra SoC Family" select ARCH_HAS_RESET_CONTROLLER - select ARCH_REQUIRE_GPIOLIB select CLKDEV_LOOKUP select CLKSRC_MMIO select CLKSRC_OF select GENERIC_CLOCKEVENTS + select GPIOLIB select HAVE_CLK select PINCTRL select RESET_CONTROLLER @@ -151,8 +151,8 @@ config ARCH_UNIPHIER config ARCH_VEXPRESS bool "ARMv8 software model (Versatile Express)" - select ARCH_REQUIRE_GPIOLIB select COMMON_CLK_VERSATILE + select GPIOLIB select POWER_RESET_VEXPRESS select VEXPRESS_CONFIG help