Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp6873334rwd; Tue, 6 Jun 2023 03:15:28 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ7OfUcBP3h3zT/EaLcBUKqivyH1wSBLriJRRNAdi6GT+AKvpIlCaN8CXQoANRoZFArBPdXD X-Received: by 2002:a37:74d:0:b0:75e:bae2:6544 with SMTP id 74-20020a37074d000000b0075ebae26544mr1129572qkh.76.1686046528716; Tue, 06 Jun 2023 03:15:28 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1686046528; cv=none; d=google.com; s=arc-20160816; b=SvsVYoXEoJt+PpTDgdx4rT13tRzcM01rHcervhgPFLtIJ2d2mwnh5ghDVEq2ANWSTB pPofKKh1tEdhdtoVl98YERQKvJOenypMOoFchGeD3fnxMNIdBEaSknrYjqKR34cVe6dQ ZA9sNmzOB8UQX5DGwRVWTw0L+3kW1ZE7o1kcubIHOxXeAymw1yEfAvxtnZuoQuzFQmdF 2hd1J1fIPoHpukkgMDLyHmo/VVOywgSBvlRwJ26k1UDwkOIGPW1bR5fSiMHL1mMwQDRC FvTgxvS/ln4I1ZcDVe/fo0ULUtKOJVpoWVIgPrUof2BlnFQVLdabevuK/NQa8gY8fl8a Sw1A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:references:message-id:in-reply-to :subject:cc:to:from:date:dkim-signature; bh=6sb9nVH2r/Bg+xp5UP73UXHItSp34mx1u2/KXC1mMdE=; b=a+HL5YtU/q7EMwPS0Z+rzMYXkp9/yIT19D25Vcbmq57hIyBGUu76AZ+tEeCaN41iKi LrHmHWhpBD8UIGSyF6FGr0LyAPD5Rvoa6UE0PGENuO0ivBjGVyM/VJ4DatWx1Sz6OcBI QXGrUipSTrVw91rhqHSlGeIJWYi7Eg/gDzK7aLyglZXnSu5E/cdqc2/zc2ZfZtDUiDZF tZdeIEhLNiHkKAgVc4b/IP3d1Lj5zw6RLemYlO9ohx+dy7xqHUo3ttPJkPvXnUa5W7Ny xB144maU9RbDiTzg1K9FTzotmiXy+MIYIJG7JNre8Ur3c9CJeOqEhssKgXhiDtB96RfO ypzg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=CghZTsem; 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=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id d23-20020a05620a141700b0075d969ed4f0si1349978qkj.691.2023.06.06.03.15.14; Tue, 06 Jun 2023 03:15: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=@intel.com header.s=Intel header.b=CghZTsem; 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=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232154AbjFFKBi (ORCPT + 99 others); Tue, 6 Jun 2023 06:01:38 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34436 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236278AbjFFKBP (ORCPT ); Tue, 6 Jun 2023 06:01:15 -0400 Received: from mga02.intel.com (mga02.intel.com [134.134.136.20]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 2F83C10E6 for ; Tue, 6 Jun 2023 03:01:11 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1686045671; x=1717581671; h=date:from:to:cc:subject:in-reply-to:message-id: references:mime-version; bh=QwkajiXVbZ8XHqKTye5piHy7gOYD1DKHgpn0jdqJN1I=; b=CghZTsemtRuGA54i7isRZtG/TqRufPiLgV/mxhtGDzrK/2PbxsDJJTLB HTWKGlHLJv3qV3mfFxOaOQHEMUBbKUmvMqAdyOCSrEOMTgj16Px/5q+FS zs4LHVtHCifhWjrEXzToClhLRkhkaVynHvqbckLoLqBzn1rAy2zaR7oZ4 GPyXZ73ec2DdI4VoZb3b2aLanK9s41E6jb55ZMhzvan23jNO1NDCnNd89 v2aiKPQAwARyC3rAfeaCx3m0lpABoTk2O+qdZYP/wfln0NXLFplrt+zOv 1UyqJhdVttKlKF6nElyA7NlAhzKhh/LkuvLBbc6lwXHljS/V/oSR2hvg7 w==; X-IronPort-AV: E=McAfee;i="6600,9927,10732"; a="346218096" X-IronPort-AV: E=Sophos;i="6.00,219,1681196400"; d="scan'208";a="346218096" Received: from fmsmga003.fm.intel.com ([10.253.24.29]) by orsmga101.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 06 Jun 2023 03:00:03 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10732"; a="798771410" X-IronPort-AV: E=Sophos;i="6.00,219,1681196400"; d="scan'208";a="798771410" Received: from vkkalava-mobl1.amr.corp.intel.com ([10.249.42.194]) by fmsmga003-auth.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 06 Jun 2023 03:00:00 -0700 Date: Tue, 6 Jun 2023 12:59:58 +0300 (EEST) From: =?ISO-8859-15?Q?Ilpo_J=E4rvinen?= To: Geert Uytterhoeven cc: Philipp Zabel , Arnd Bergmann , Jacky Huang , linux-arm-kernel@lists.infradead.org, LKML Subject: Re: [PATCH] reset: RESET_NUVOTON_MA35D1 should depend on ARCH_MA35 In-Reply-To: <011578db5fc4426d7df5d8ce2cf5ac09b7080531.1686045287.git.geert+renesas@glider.be> Message-ID: <6f9587b0-85df-6f80-8dc5-b27fbf11645@linux.intel.com> References: <011578db5fc4426d7df5d8ce2cf5ac09b7080531.1686045287.git.geert+renesas@glider.be> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="8323329-1201266873-1686045602=:2339" X-Spam-Status: No, score=-4.3 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_EF,RCVD_IN_DNSWL_MED, RCVD_IN_MSPIKE_H3,RCVD_IN_MSPIKE_WL,SPF_HELO_NONE,SPF_NONE, T_SCC_BODY_TEXT_LINE,URIBL_BLOCKED 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 This message is in MIME format. The first part should be readable text, while the remaining parts are likely unreadable without MIME-aware tools. --8323329-1201266873-1686045602=:2339 Content-Type: text/plain; charset=ISO-8859-15 Content-Transfer-Encoding: 8BIT On Tue, 6 Jun 2023, Geert Uytterhoeven wrote: > The Nuvoton MA35D1 reset controller is only present on Nuvoton MA35 > SoCs. Hence add a dependency on ARCH_MA35, to prevent asking the user > about this driver when configuring a kernel without MA35 SoC support. > Also, do not enable the driver by default when merely compile-testing. > > While at it, fix a misspelling of "Nuvoton". > > Fixes: e4bb55d6ccf0f774 ("reset: Add Nuvoton ma35d1 reset driver support") > Signed-off-by: Geert Uytterhoeven > --- > drivers/reset/Kconfig | 5 +++-- > 1 file changed, 3 insertions(+), 2 deletions(-) > > diff --git a/drivers/reset/Kconfig b/drivers/reset/Kconfig > index 0cdf9d64c2185c89..ccd59ddd76100a51 100644 > --- a/drivers/reset/Kconfig > +++ b/drivers/reset/Kconfig > @@ -144,8 +144,9 @@ config RESET_NPCM > BMC SoCs. > > config RESET_NUVOTON_MA35D1 > - bool "Nuvton MA35D1 Reset Driver" > - default ARCH_MA35 || COMPILE_TEST > + bool "Nuvoton MA35D1 Reset Driver" > + depends on ARCH_MA35 || COMPILE_TEST > + default ARCH_MA35 > help > This enables the reset controller driver for Nuvoton MA35D1 SoC. All adjustments make sense. Reviewed-by: Ilpo J?rvinen -- i. --8323329-1201266873-1686045602=:2339--