From patchwork Wed Sep 13 08:50:19 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Linus Walleij X-Patchwork-Id: 138888 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:9ecd:0:b0:3f2:4152:657d with SMTP id t13csp1161114vqx; Wed, 13 Sep 2023 08:20:56 -0700 (PDT) X-Google-Smtp-Source: AGHT+IHTFfVHVSqaWjMHG3avXUpGam+Lmg6doWfoDzLU5ljaJbL1NdaakIm/0YroOV/NZwvqx+86 X-Received: by 2002:a05:6a20:841f:b0:157:dffb:fe1c with SMTP id c31-20020a056a20841f00b00157dffbfe1cmr3268632pzd.22.1694618455913; Wed, 13 Sep 2023 08:20:55 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1694618455; cv=none; d=google.com; s=arc-20160816; b=tW+NSBLuzEkEsa009aS+FflgklqdT2Fuzfara3wVzwBPspfztxR9f100gvUsqjgWaa YE0O6lqQVsrYhN6jOh4LkH1LQ7aIYvAsC+5cIVA6Oq1Xqk06Rrup3vET/xqKwouE39yF ZgMnN5QNQiH6IOnCbvyUxOgL1wlK97NEv0AUmUWQWGxQp+ZfOp7hVO6EoSPyupfWcH7X B47dQ8vjI5jZZ1K42YFDVDkg81519gymlZ4egKX1/SDTJVqCRUZaIjWI0m4r6bTyPyZA ENAv2kdAtlBrf6SIpz/lwgrfsJ0vk15+IUBKxZRd/Q7HTioH/T7tVMmiVqsSEJBI1xDT +SyA== 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.32 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 agentk.vger.email (agentk.vger.email. [23.128.96.32]) by mx.google.com with ESMTPS id m6-20020a170902db0600b001c0c4be62basi5956387plx.617.2023.09.13.08.20.55 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 13 Sep 2023 08:20:55 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.32 as permitted sender) client-ip=23.128.96.32; 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.32 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 agentk.vger.email (Postfix) with ESMTP id 6683B807C851; Wed, 13 Sep 2023 01:50:35 -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 S239096AbjIMIu2 (ORCPT + 36 others); Wed, 13 Sep 2023 04:50:28 -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 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 (agentk.vger.email [0.0.0.0]); Wed, 13 Sep 2023 01:50:35 -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 X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1776936241950801868 X-GMAIL-MSGID: 1776936241950801868 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 Acked-by: Randy Dunlap Tested-by: Randy Dunlap --- drivers/pinctrl/nuvoton/Kconfig | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) --- base-commit: c9336ebe87e77f92ed04a86c0131a0310d0e200d change-id: 20230913-novoton-kconfig-895c60755500 Best regards, 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