Received: by 2002:ad5:4acb:0:0:0:0:0 with SMTP id n11csp4194965imw; Tue, 12 Jul 2022 03:48:28 -0700 (PDT) X-Google-Smtp-Source: AGRyM1sZq0JcXaA96uH1qOXG02XdzbhjD0+PdnoRVL+7hWF/zk7wEQHtlsESThDuEpWaPb8zPpum X-Received: by 2002:a17:903:25c6:b0:16b:ed5e:7ca6 with SMTP id jc6-20020a17090325c600b0016bed5e7ca6mr23279218plb.173.1657622908561; Tue, 12 Jul 2022 03:48:28 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1657622908; cv=none; d=google.com; s=arc-20160816; b=VMBSfqzbZbPg7M6PorF41aWNt9Z9ymowXP9tM/d1e8aCdy0hivkBAj++THq+CUcYHT /034olWlHPPDCz/qbSvz4v0SlDZkDa6egTC+QgCbb+I8VcI5C745JyCiZam64JA0T6S/ 3tNdqNndx07HJuzBtb50+MmZDWSQoLcJCyag9QHNb4j1SnESYL4M4euYB2ZJslxz2Eum Y3930QHbmzJTiRX/Jd4WRB5ufeG+7tEha7ntmlKpDPx7j1fIsG51p6xC6lqCY0TTf3Ql 9z3ShwA4UMC3MKbyEIMedkQ/Bl8rlStpCWclFGr9dABpo+Cmyo2o/e4pAdCJWrrTkDu0 JAyg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature; bh=AmO51byIMiOVb4cRzs66BBjupIjrQQmBiHJH/wAWMQk=; b=jpY4vohPuv9vV/hFNw4hKwWWAnKgrNyhyOUvfrACI1Rhmxynuh+997ebWi3ZOTwv3K OfWBvRMXbl/+zbwnh0+LYVIOf5HRwYtI0/hhzCNPMVHqnZPJYfEK21Mkv5rJIbe3irP+ cMTQQNKIqIyrqTtZy0KqP44QTTQbvibzf7L4PSiffsPti9OXsNiWcT/vS40mrMgWEshZ CPkF5m2DA5/ruE9ZUiUuWIrEP+LM5pfMYNjDUIuWQHHYtA8oRjw0UR6Ny09Wt496EAco QN+rCQkzGxr4eV54oESABnaUn3Q80Yx8U+PjVITDJF1Dewi9kme9krTKsjOAecJMqdVr jukg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@bgdev-pl.20210112.gappssmtp.com header.s=20210112 header.b=XHFr5hfG; 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 l185-20020a6391c2000000b00415fa9acafcsi8058164pge.86.2022.07.12.03.48.15; Tue, 12 Jul 2022 03:48:28 -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; dkim=pass header.i=@bgdev-pl.20210112.gappssmtp.com header.s=20210112 header.b=XHFr5hfG; 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 S232740AbiGLKYT (ORCPT + 99 others); Tue, 12 Jul 2022 06:24:19 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48200 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232783AbiGLKYK (ORCPT ); Tue, 12 Jul 2022 06:24:10 -0400 Received: from mail-ed1-x534.google.com (mail-ed1-x534.google.com [IPv6:2a00:1450:4864:20::534]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 5B9DFADD46 for ; Tue, 12 Jul 2022 03:24:09 -0700 (PDT) Received: by mail-ed1-x534.google.com with SMTP id r6so9483128edd.7 for ; Tue, 12 Jul 2022 03:24:09 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bgdev-pl.20210112.gappssmtp.com; s=20210112; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=AmO51byIMiOVb4cRzs66BBjupIjrQQmBiHJH/wAWMQk=; b=XHFr5hfGXn/Nw+Hxav30NPiwSpMaSjFeRW9xeebgnEQ65ddoHX9DWUhNvWEALbShXa ULAkHZt5gG1cIDI+nYcgk78l0H3rbtOxmAIOfSy8FFK9hsBA9JicQQ/rqsDbFV0jkrFa jUOUgSiUKw0IFQspJSHe/iDrMde884XlxPwnhA8J5oX6NSdsfzDjzx1fEolBzTB7xjyR MKFaZgFYwDUA46seOv6Jf/tEoB8hOabMXW5lZWz3HrI8Shku/GmsDuBPB8sX0pvERUD6 TtGDjmW1gqjhLGYu4DPZreadxaEh4Kodll7jAT8xAMy3HB57R3P9fIMBAHVRKZGZXpfH htwg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=AmO51byIMiOVb4cRzs66BBjupIjrQQmBiHJH/wAWMQk=; b=FtV+6RIEkXsndhxImLRt20yxbT+xRelNUWPQ3z5MM6mpe2zUmngSOzD2m6sGII11UU JEMBv2IXKFpp0LUUNEGkYUpY3Cnsf5RwltpieZtAWwOW+yXUDs/YnbF1FPXQB1tZED1u YnOz9vadhq3GDpYUonfQsTZ9/Y/r8Ox/BjhHsmrzxDQQN8foEHq8PRWB71yDyxlXxR/6 6CJom/TZ0Hxx5wvxFlZVbb8pablm6/ENlqgnZKWrybXzUryftdd/PeeC+WXu/BcTdzHW iutRniIU6pPfRTzopBFLNyig2rvEnprlR0wYdBnVzbk6zgp0yU+/481CqaO2+V3a4qXJ Dl8Q== X-Gm-Message-State: AJIora8h7+LXTLgXzIgVKCSV2jn6oRI/NiWkznxxtS8ii0JJuIvfHQff oXrN5wy5+FZcc8WbT39pElASUqSnCduaRu/G/r+I2g== X-Received: by 2002:a05:6402:150:b0:437:b93c:3a9 with SMTP id s16-20020a056402015000b00437b93c03a9mr29626324edu.82.1657621447950; Tue, 12 Jul 2022 03:24:07 -0700 (PDT) MIME-Version: 1.0 References: <9996cb86818d2e935494d6b414d549432f91797a.1657528504.git.geert+renesas@glider.be> In-Reply-To: <9996cb86818d2e935494d6b414d549432f91797a.1657528504.git.geert+renesas@glider.be> From: Bartosz Golaszewski Date: Tue, 12 Jul 2022 12:23:57 +0200 Message-ID: Subject: Re: [PATCH] gpio: GPIO_SAMA5D2_PIOBU should depend on ARCH_AT91 To: Geert Uytterhoeven Cc: Ludovic Desroches , Linus Walleij , "open list:GPIO SUBSYSTEM" , Linux ARM , Linux Kernel Mailing List Content-Type: text/plain; charset="UTF-8" X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,RCVD_IN_DNSWL_NONE,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 On Mon, Jul 11, 2022 at 12:27 PM Geert Uytterhoeven wrote: > > 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 > Applied, thanks! Bart