Received: by 2002:a05:7412:31a9:b0:e2:908c:2ebd with SMTP id et41csp3177808rdb; Wed, 13 Sep 2023 04:46:19 -0700 (PDT) X-Google-Smtp-Source: AGHT+IFGzYLxuhqAxz8+ZcL+9wLtGyhhfcxiDUTfTfQUlTb2O/wH8t3GfB4dLDifm5BzMEblj1VZ X-Received: by 2002:a05:6a00:1a88:b0:68f:d6db:5d66 with SMTP id e8-20020a056a001a8800b0068fd6db5d66mr2318163pfv.16.1694605579463; Wed, 13 Sep 2023 04:46:19 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1694605579; cv=none; d=google.com; s=arc-20160816; b=eAa8LwB5lq8eDmPdxlkE/imhArRdbwkAnzEHND26uEFayVLDP5iojg0T4vhqyYQqNp 34/MLdpSc/9GzQbFL5mzuLHJrpcE0DLavX3A/JpQRngsqC78tHl3Km5XLAzCFoWRJx+U i7Se6OqrXHQJGVAaGOL/CJU+wmFsC9IXFEC3Ee5lTa6nhxU6K8Ei85X1iPwkKN7S7sAG kcG/Oe3W+gfm7cPI7O0z+uxpmh0MqUcaY2SaUGGaabADlhK5zNw/hlOxC7aYCpherbnN 1icHz2mhBXUlI0AkIjJuhbpGEepTFUoCc4RnSThIBAfxr9r3k6FAAHUI5E/s3WzuXFyp s7ng== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:message-id:content-transfer-encoding :mime-version:subject:date:from:dkim-signature; bh=0LhAnrh1Oujp6OYYPLbV5mE5o88DEDP4krLIDveaLy4=; fh=Xwd13uK8L8Vyh//oDYNz+HNz12Vcl6sWK6tdFTcmoyY=; b=gUoFwTlvYejTCNmGjoPlDuUf82wgQxwTJQKYcLGUgtLcfwxQInzOq0QCf2qBKCVd/x +5YpjmgqIahyt6ioF/5v82Ri2dOJByv7Lop87x3WfSCRrmI+RQw+YoS0Gxm0s4t+WJvQ o66cV/EnV3fVY2xhQflMNCPrlYHcsQMO5plM7qCJ+7EDGW2/8MEl4p+zmoysPo6+qumw hOMvOz0Xqrs/RMLQjLwbU9LXoqxiEub/f2mYGPZO/hfAeUWsBZoRDvewR6s8ds+WLnnT yA5aTiCWXvipi2VjKBevt8tNjqbemRc3GCwoWCMXf07NKw42H8T0DuYZo+XaWzLEKjTq L/ug== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=WPlbyIuV; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.36 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from pete.vger.email (pete.vger.email. [23.128.96.36]) by mx.google.com with ESMTPS id cq27-20020a056a00331b00b0068fa57cc15bsi5270057pfb.124.2023.09.13.04.46.14 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 13 Sep 2023 04:46:19 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.36 as permitted sender) client-ip=23.128.96.36; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=WPlbyIuV; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.36 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by pete.vger.email (Postfix) with ESMTP id A154D806E4FA; Wed, 13 Sep 2023 01:50:34 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at pete.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235107AbjIMIu1 (ORCPT + 99 others); Wed, 13 Sep 2023 04:50:27 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60206 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234532AbjIMIu1 (ORCPT ); Wed, 13 Sep 2023 04:50:27 -0400 Received: from mail-lj1-x22a.google.com (mail-lj1-x22a.google.com [IPv6:2a00:1450:4864:20::22a]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id DFE9F196 for ; Wed, 13 Sep 2023 01:50:22 -0700 (PDT) Received: by mail-lj1-x22a.google.com with SMTP id 38308e7fff4ca-2ba1e9b1fa9so111843761fa.3 for ; Wed, 13 Sep 2023 01:50:22 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1694595021; x=1695199821; darn=vger.kernel.org; h=cc:to:message-id:content-transfer-encoding:mime-version:subject :date:from:from:to:cc:subject:date:message-id:reply-to; bh=0LhAnrh1Oujp6OYYPLbV5mE5o88DEDP4krLIDveaLy4=; b=WPlbyIuVwKuCvSHFpDQWND42Bnbg+cYo6zJplRPs9esVOfwYh4U8zuCAqjDLOMyKxQ erDlolcnT1KtGVjK8aip1QtAsFjPIaN5jOHfa+uqspyBhO/xt4mqV7TZlW8C7D+oU4RC ZCuohowUt3EAkGUMOIOfSNa/F8cHB3NN5inuvD88bggrj6x7CqzyXcS+8ruXECQoVNzp WiFUVAHzHL+jEOAbIYJ4Vx5RuCyGy+FLUuHVOYRHDlo0sNKM/RrMyt8aMUjDtapnrXXV edU/50MckyQHnIz3I2nza1KL/76l42eurPiwXWQzN1M/40EpcSsNHEQnt28FiyYIeQaT U3hA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1694595021; x=1695199821; h=cc:to:message-id:content-transfer-encoding:mime-version:subject :date:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=0LhAnrh1Oujp6OYYPLbV5mE5o88DEDP4krLIDveaLy4=; b=tQiwRONgcZwlxUEdeF2D+z52bOOVMNCc9mtH//hTGlFy6kxFIbUlvVw1JliUs6Yhv2 8WtDTRpjqCWfm1jOmJON2xDzD2PuEQID+h0KUa4PyyVPFw1t8TQsRUztY5XkzRJCaUTI XaY9+LRZKp3T2j1Y6mj0RT/CtONLOo7h1PUGncvtDYsXi4rw+aXon/Pf+gDbQEmqHY7A cGCAKfG6nV47eyA+hNvr1DD3Nl5Wr+Hoh6BgB2ZoZIZ9q3Oq3Jwv65ZmNTN0MObb91mH 9z3nUOH1HONlYF04G3YaZqVg3yAbsUYU2T7hG4wO0aXuNnWeHpwQoaurwN1QtyBR7KtG QYQA== X-Gm-Message-State: AOJu0Yxb6EEAX86RkxBcOw+UTcfqHVMuJYS2sPD0c3QPQEICv2Y1vBit gbaYMBQnZotNSyV8CxTFUrm6uw== X-Received: by 2002:a05:6512:1151:b0:500:ac71:f26a with SMTP id m17-20020a056512115100b00500ac71f26amr1952253lfg.57.1694595021103; Wed, 13 Sep 2023 01:50:21 -0700 (PDT) Received: from [127.0.1.1] ([85.235.12.238]) by smtp.gmail.com with ESMTPSA id v5-20020ac25605000000b004ff91dde4b4sm2064622lfd.93.2023.09.13.01.50.20 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 13 Sep 2023 01:50:20 -0700 (PDT) From: Linus Walleij Date: Wed, 13 Sep 2023 10:50:19 +0200 Subject: [PATCH] pinctrl: nuvoton: Fix up Kconfig deps MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Message-Id: <20230913-novoton-kconfig-v1-1-1c2dff14c0d2@linaro.org> X-B4-Tracking: v=1; b=H4sIAMp3AWUC/x3MSwqAMAwA0atI1haiUn9XERdSYw1CIq2IIL27x eVbzLwQKTBFGIsXAt0cWSWjKgtw+yKeDK/ZUGPd4FA1RvTWS8UcTmVjb/rBuhY7ay0i5OoMtPH zH6c5pQ/tkdi7YQAAAA== To: Tomer Maimon Cc: linux-gpio@vger.kernel.org, linux-kernel@vger.kernel.org, Randy Dunlap , Linus Walleij X-Mailer: b4 0.12.3 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 (pete.vger.email [0.0.0.0]); Wed, 13 Sep 2023 01:50:34 -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 pete.vger.email 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 --- 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, -- Linus Walleij