Received: by 2002:a05:7412:31a9:b0:e2:908c:2ebd with SMTP id et41csp3532990rdb; Wed, 13 Sep 2023 15:20:43 -0700 (PDT) X-Google-Smtp-Source: AGHT+IFBq8nNBh495NiJpFDGQ2w9oLS4iEs2PzaJnJWn/XbSS6wWarucyplNGUpUoZ6fWOXFsdQf X-Received: by 2002:a05:6a21:780a:b0:154:b4cb:2e61 with SMTP id be10-20020a056a21780a00b00154b4cb2e61mr3328996pzc.60.1694643642974; Wed, 13 Sep 2023 15:20:42 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1694643642; cv=none; d=google.com; s=arc-20160816; b=ZO/IhlfEtZSQrTm0Qyme9gDubptwbX9lcZ2ag9hGAdcea4AM1KAGRLENyw0e1MyJ29 sQyOivajKLkzftqhFwe3JEN3HKLCwmj67Y8n6TXwbS+RpiJP8QOvJxjq5s+W7Uqc3vp1 lcipdmadOuBoAx/cUmzCJ+LpZq+z8bViRYvMc3/ny53f0MNTrt6Kra4I8FLpNcUw6bWY wG+x7FIeYSdrkIgGxi+aZMQEV8m95TJMCQyWqNTCpxPfEL4toVrVJ2wKtQcN0aE2zVJf YlW1GIBLgee3U6jg8n4ygdFrcJXeRC2JrhixS1chcOvgwSbwccyzM9aIumKwHy58kyGE 9uxQ== 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:from :references:cc:to:content-language:subject:user-agent:mime-version :date:message-id:dkim-signature; bh=r8I4qC7Vlr5B99TPbNKHmvkTd1ZsuG6x4flsCcDEFRs=; fh=AoGRXKgqyxyOD1oJH4RyMiBmuTaNnOqYV2XYPqrxpuI=; b=PzEPd78x/ZAOlNCP7xlSzZ4B9m9s0BZckZNXAVCuXsrpm86m1ECUMicbY7/bOjkhEy mokxQD9ZtTnV/GcIU3e+wjOI7amNL2EzpYoYWGTpUagx9YFMtEuhmbzHnSYyG088+Zww UpNWk5e23Uyff5jF5ML3wHFNyYwR4XxVGEwayI/yPPHlJYlXi1F7d7me2Xg7qXVH50Zq 2QX6LZ2qV0jYgLJlYG/LkAX5tKvva0l/25kc8nbbD+Bd88zTBizsUZ+lnbUQcwl+uayZ GeOvPLfxWD5htsjclAheuOw9++VEJFcC5GCwAmp1790jqDd8pAC83fC+raLl6kou+/yT a4uA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@infradead.org header.s=bombadil.20210309 header.b=YlDcCg25; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:2 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from agentk.vger.email (agentk.vger.email. [2620:137:e000::3:2]) by mx.google.com with ESMTPS id cj25-20020a056a00299900b0068fa57cc15bsi183753pfb.124.2023.09.13.15.20.42 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 13 Sep 2023 15:20:42 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:2 as permitted sender) client-ip=2620:137:e000::3:2; Authentication-Results: mx.google.com; dkim=pass header.i=@infradead.org header.s=bombadil.20210309 header.b=YlDcCg25; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:2 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by agentk.vger.email (Postfix) with ESMTP id 86E3A813563A; Wed, 13 Sep 2023 10:12:57 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at agentk.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230020AbjIMRMy (ORCPT + 99 others); Wed, 13 Sep 2023 13:12:54 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42070 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229654AbjIMRMx (ORCPT ); Wed, 13 Sep 2023 13:12:53 -0400 Received: from bombadil.infradead.org (bombadil.infradead.org [IPv6:2607:7c80:54:3::133]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 63D3398; Wed, 13 Sep 2023 10:12:49 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=bombadil.20210309; h=Content-Transfer-Encoding: Content-Type:In-Reply-To:From:References:Cc:To:Subject:MIME-Version:Date: Message-ID:Sender:Reply-To:Content-ID:Content-Description; bh=r8I4qC7Vlr5B99TPbNKHmvkTd1ZsuG6x4flsCcDEFRs=; b=YlDcCg25K2kp/qNccPwM6H1JVU g56M1/39giTMK8jM2ObeQ556zaXIuvuUN0+FUCGzW9iiiWbU5sd4Y0Lt5c14V0fxpZ3ETcYZnRY/g /TuM0Fbp/1H1wfHk39baROvANZ05Dl7RyTgFLRcpkUxQRFwRcloyn7hWOLwPEQyzCrIWStG92JVry CYDEyCRs60JDPB+JPnjYqyBefagJJXVbw47mtQbevj/m1mQo7yA38QCwoUNzoovpbc2trvGGAZTjR HufH0QU/fCLNozR98MGaHYeSclj2YuAjQfJuMEicsPFdm44+yRIhA68+uMcvvbmFgT1oPop7H8RR5 4ywzvP8g==; Received: from [2601:1c2:980:9ec0::9fed] by bombadil.infradead.org with esmtpsa (Exim 4.96 #2 (Red Hat Linux)) id 1qgTPz-006TJu-2W; Wed, 13 Sep 2023 17:12:47 +0000 Message-ID: <140e7f79-4e03-47ec-99de-90871ca8d445@infradead.org> Date: Wed, 13 Sep 2023 10:12:44 -0700 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH] pinctrl: nuvoton: Fix up Kconfig deps Content-Language: en-US To: Linus Walleij , Tomer Maimon Cc: linux-gpio@vger.kernel.org, linux-kernel@vger.kernel.org References: <20230913-novoton-kconfig-v1-1-1c2dff14c0d2@linaro.org> From: Randy Dunlap In-Reply-To: <20230913-novoton-kconfig-v1-1-1c2dff14c0d2@linaro.org> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (agentk.vger.email [0.0.0.0]); Wed, 13 Sep 2023 10:12:57 -0700 (PDT) X-Spam-Status: No, score=-0.9 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on agentk.vger.email On 9/13/23 01:50, Linus Walleij wrote: > We have build errors due to missing dependency on OF. > Add the dependency and do it the same way for all three > Nuvotons while we are at it. > > Reported-by: Randy Dunlap > Signed-off-by: Linus Walleij Works for me. Thanks. Acked-by: Randy Dunlap Tested-by: Randy Dunlap > --- > drivers/pinctrl/nuvoton/Kconfig | 5 ++--- > 1 file changed, 2 insertions(+), 3 deletions(-) > > diff --git a/drivers/pinctrl/nuvoton/Kconfig b/drivers/pinctrl/nuvoton/Kconfig > index 612e7ba02238..2abbfcec1fae 100644 > --- a/drivers/pinctrl/nuvoton/Kconfig > +++ b/drivers/pinctrl/nuvoton/Kconfig > @@ -2,8 +2,7 @@ > > config PINCTRL_WPCM450 > tristate "Pinctrl and GPIO driver for Nuvoton WPCM450" > - depends on ARCH_WPCM450 || COMPILE_TEST > - depends on OF > + depends on (ARCH_WPCM450 || COMPILE_TEST) && OF > select PINMUX > select PINCONF > select GENERIC_PINCONF > @@ -35,7 +34,7 @@ config PINCTRL_NPCM7XX > > config PINCTRL_NPCM8XX > tristate "Pinctrl and GPIO driver for Nuvoton NPCM8XX" > - depends on ARCH_NPCM || COMPILE_TEST > + depends on (ARCH_NPCM || COMPILE_TEST) && OF > select PINMUX > select PINCONF > select GENERIC_PINCONF > > --- > base-commit: c9336ebe87e77f92ed04a86c0131a0310d0e200d > change-id: 20230913-novoton-kconfig-895c60755500 > > Best regards, -- ~Randy