Received: by 2002:ad5:4acb:0:0:0:0:0 with SMTP id n11csp3270821imw; Mon, 11 Jul 2022 05:35:03 -0700 (PDT) X-Google-Smtp-Source: AGRyM1t6RXeZTpDN4U9aZUs0EH24o60onYYmSgpL2hkA50vHtq8Oy9rKvDdT387gRxQ+1gA/VdMU X-Received: by 2002:a17:907:2895:b0:72a:f3bd:6e5f with SMTP id em21-20020a170907289500b0072af3bd6e5fmr18333680ejc.767.1657542903245; Mon, 11 Jul 2022 05:35:03 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1657542903; cv=none; d=google.com; s=arc-20160816; b=nhDUAQpEg239pS/kEc+JLeikp/JKcHEjy+FA+oduVgZYkzAt1X0qJzb38AH2qLgwcv YTP+QEFgD+liDHGJ+CRn9PuggFdoJvIjZhFnUB8tPQju10AQXZttUPhUV87K+daHTZa7 NVvPW91ZXpPImPCZNRpG1y6aGMuJZvh2w7sXhVBuGq27QYyu9MZQ1ec/w03QojLsCfGu XcC8fw3wG3JdX/5HKGvTt0NmpdS2JvsDeIqaYWAeDW9t+zQxPVSwkgnrMx8WQugGoXEa hLkhbSWZlM7Kh06Asi9gTWtSRxjQWkmXGMxpLMQI1/lgPEmA+HIAWzdkZPgNQURDbZP/ hLtw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to :organization:from:references:cc:to:content-language:subject :user-agent:mime-version:date:message-id:dkim-signature; bh=Iam1qmS6qg6KuS9WMk4fNXWhYOtxkRMPZEJCkObUvYw=; b=uBdk1vOu5mYGAFnXz9jIMZqQ3a766XJPXNTdR+fgszKQrQ1K5Xw3GwlnTsd9ihKGsb MiPu4bTPsGKiJmeKZv2JsSw2/PaXWaZ6KSy0AfreE3vvQ51fEBmhQO2Xs5VEexPCx8Ld CTwY6XHnszz7X5iqsghFBuX639ix9yx1ZzbupamjE9SfAUt16mWirTD+8wDHR/Tl6ygT wfKLyBxZdSKVVde+grv3xdCco0H/egRIt2KYKCOx2PkKx2kc+eD82VeK+Jeyp+zEzDqR /Siir216O6Qm4wXYb5j9riQQP5+RUtLq+i1RI59kWehvYoaW8LZHAAvK3sx6oup9+u+a zLWg== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@microchip.com header.s=mchp header.b=kpS0fsSQ; 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; dmarc=fail (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=microchip.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id a21-20020a1709063e9500b00726cf00b7c0si8686200ejj.469.2022.07.11.05.34.33; Mon, 11 Jul 2022 05:35:03 -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=fail header.i=@microchip.com header.s=mchp header.b=kpS0fsSQ; 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; dmarc=fail (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=microchip.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231558AbiGKMD1 (ORCPT + 99 others); Mon, 11 Jul 2022 08:03:27 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57456 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231335AbiGKMDU (ORCPT ); Mon, 11 Jul 2022 08:03:20 -0400 Received: from esa.microchip.iphmx.com (esa.microchip.iphmx.com [68.232.153.233]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E835A3DF28; Mon, 11 Jul 2022 05:03:11 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=microchip.com; i=@microchip.com; q=dns/txt; s=mchp; t=1657540991; x=1689076991; h=message-id:date:mime-version:subject:to:cc:references: from:in-reply-to:content-transfer-encoding; bh=2029vpBZxaoYh8HV6PEJ1yGjJDrgRwD0SKpNgEYQ2PI=; b=kpS0fsSQkmwDimE+hLBOuY2TP9TH3Wx6i8FGtRxzpMdCUk99FQ2yIra0 96bLHmpVncpegn2qic0msAhGcsbfsDj7kGNwb2sXiy9heshZImH832Im0 Mol9SfimuvAtgiDXTgB1dX88bi5rdC1rL3Qy2fP47VGk1lDdtZKxR4Vpy mHFXCkeDJtHpoKX+ljCnwuWR8k8akCilalZ3+2Qm81yPYt3Sj7jQISWAd 0ZBiaaplnH+92mOAqYhjrceHw53i537Sc2aUZkSzuYbMshJZg6xeuGz1e U+sBrVUqGwGJk5vK4V7bLDfQydl0w4OXBca+Sv7Aa64ov1bFRCoTlUrNH A==; X-IronPort-AV: E=Sophos;i="5.92,262,1650956400"; d="scan'208";a="181598669" Received: from unknown (HELO email.microchip.com) ([170.129.1.10]) by esa1.microchip.iphmx.com with ESMTP/TLS/AES256-SHA256; 11 Jul 2022 05:03:11 -0700 Received: from chn-vm-ex04.mchp-main.com (10.10.85.152) by chn-vm-ex01.mchp-main.com (10.10.85.143) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2375.17; Mon, 11 Jul 2022 05:03:10 -0700 Received: from [10.159.245.112] (10.10.115.15) by chn-vm-ex04.mchp-main.com (10.10.85.152) with Microsoft SMTP Server id 15.1.2375.17 via Frontend Transport; Mon, 11 Jul 2022 05:03:08 -0700 Message-ID: <8dbed370-c6d6-496c-eb41-efce2ee78286@microchip.com> Date: Mon, 11 Jul 2022 14:03:07 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.9.1 Subject: Re: [PATCH] gpio: GPIO_SAMA5D2_PIOBU should depend on ARCH_AT91 Content-Language: en-US To: Geert Uytterhoeven , Ludovic Desroches , Linus Walleij , Bartosz Golaszewski , Conor Dooley , Horatiu Vultur , Kavyasree Kotagiri CC: , , References: <9996cb86818d2e935494d6b414d549432f91797a.1657528504.git.geert+renesas@glider.be> From: Nicolas Ferre Organization: microchip In-Reply-To: <9996cb86818d2e935494d6b414d549432f91797a.1657528504.git.geert+renesas@glider.be> Content-Type: text/plain; charset="UTF-8"; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-5.0 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A, RCVD_IN_DNSWL_MED,SPF_HELO_PASS,SPF_PASS,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 11/07/2022 at 10:36, Geert Uytterhoeven wrote: > EXTERNAL EMAIL: Do not click links or open attachments unless you know the content is safe > > 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 Looks good to me: Acked-by: Nicolas Ferre I'm adding to the thread my colleagues from lan966 and mpfs if it happens that they use this same IP on their SoC. Anyway, we can add them afterwards. Thanks for your heads-up Geert, Best regards, Nicolas > --- > 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 > > > _______________________________________________ > linux-arm-kernel mailing list > linux-arm-kernel@lists.infradead.org > http://lists.infradead.org/mailman/listinfo/linux-arm-kernel -- Nicolas Ferre