Received: by 2002:ad5:4acb:0:0:0:0:0 with SMTP id n11csp3205364imw; Mon, 11 Jul 2022 04:16:06 -0700 (PDT) X-Google-Smtp-Source: AGRyM1s60KEDBOl4TtO0FDODV+Vhgq0YSNg5bNO1e/UBV//x/x9zFnPzaFNGcGjndBxms3It91dW X-Received: by 2002:a17:907:6ea7:b0:726:41de:78ac with SMTP id sh39-20020a1709076ea700b0072641de78acmr18421101ejc.452.1657538165854; Mon, 11 Jul 2022 04:16:05 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1657538165; cv=none; d=google.com; s=arc-20160816; b=yQJ8RjhruHinn2lTbKrcvDXeJc0u57PLzioPX4GcAmG00/ZHjDej7lU0XMNG2/kxHt RMoiAswk5adPe63YYvwkAGxWj8XSzT5KJnbsbNTpP7Q+HWGGvfS1jQi7QemoZND9AWUd C/oDC4yyHOKxOj2z67T6pSrL5SXZoy9/bUF2HTWSa5xnhvQ2eD17xzzfnfcPdiW0cR/o GfS7nRT+hohoh+2bk9T9FMo0BMwZVU4GUi3NdXfXv1EWuOxt8swBhij4o1ZxeHLxTAs9 2EaOqHDCZQwF7EvUnHG36FGijNkMFDfMYNdBwm1v1gHVtBAyhVVA8vbm8u5oejURZ3tf GhJw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from; bh=I61z4vxuruafuSqsQ4KI7Mk+xefjzFksC1Uk+veorD0=; b=vKwp0wAz8CKus7+sO1NFXSogrZe70q40osp3PCtutaCrExiqNxlGWCqYcbbGEQFxgv F2rFmXVZRCMq+kCFRG7HyjgPT9q/rVW5CDNc7WbE7evdgj/OPdMS/8+URU+AbnboXkGV GEcPxsh+k0V5a6gzmuVJ4tst2z/gLJDwLIiQkmY1hbVwG5W3E4lX7guH3CbpiYTWLTz8 fApL8xSiOPibgnzu3FsJRd11GG20g0pAFnvj3IW02+eO12xuzBeRhjTIXTFqyew5ExER TV8c8LTrqzUoWfImaVPrhiwpBNsNKEqgpPrj283twvsMnPYB8YCI0hbIy2TJs32QbBHg LmnQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id ej6-20020a056402368600b00435c0205537si8986384edb.29.2022.07.11.04.15.40; Mon, 11 Jul 2022 04:16:05 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230198AbiGKLN6 (ORCPT + 99 others); Mon, 11 Jul 2022 07:13:58 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:51494 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230101AbiGKLNb (ORCPT ); Mon, 11 Jul 2022 07:13:31 -0400 Received: from laurent.telenet-ops.be (laurent.telenet-ops.be [IPv6:2a02:1800:110:4::f00:19]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id DAB6415FC6 for ; Mon, 11 Jul 2022 03:28:01 -0700 (PDT) Received: from ramsan.of.borg ([84.195.186.194]) by laurent.telenet-ops.be with bizsmtp id tmTy270094C55Sk01mTy0s; Mon, 11 Jul 2022 12:27:59 +0200 Received: from rox.of.borg ([192.168.97.57]) by ramsan.of.borg with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.93) (envelope-from ) id 1oAqCw-0032if-LF; Mon, 11 Jul 2022 12:00:02 +0200 Received: from geert by rox.of.borg with local (Exim 4.93) (envelope-from ) id 1oAouE-0041ng-BY; Mon, 11 Jul 2022 10:36:38 +0200 From: Geert Uytterhoeven To: Ludovic Desroches , Linus Walleij , Bartosz Golaszewski Cc: linux-gpio@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Geert Uytterhoeven Subject: [PATCH] gpio: GPIO_SAMA5D2_PIOBU should depend on ARCH_AT91 Date: Mon, 11 Jul 2022 10:36:35 +0200 Message-Id: <9996cb86818d2e935494d6b414d549432f91797a.1657528504.git.geert+renesas@glider.be> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-2.4 required=5.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,RCVD_IN_DNSWL_LOW,SPF_HELO_NONE,SPF_NONE, T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org The SAMA5D2 PIOBU is only present on some AT91/Microchip SoCs. Hence add a dependency on ARCH_AT91, to prevent asking the user about this driver when configuring a kernel without AT91/Microchip SoC support. Signed-off-by: Geert Uytterhoeven --- drivers/gpio/Kconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/gpio/Kconfig b/drivers/gpio/Kconfig index 63a89ff7865e374f..1852656d5eb248f6 100644 --- a/drivers/gpio/Kconfig +++ b/drivers/gpio/Kconfig @@ -553,6 +553,7 @@ config GPIO_SAMA5D2_PIOBU tristate "SAMA5D2 PIOBU GPIO support" depends on MFD_SYSCON depends on OF_GPIO + depends on ARCH_AT91 || COMPILE_TEST select GPIO_SYSCON help Say yes here to use the PIOBU pins as GPIOs. -- 2.25.1