Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp6865012rwd; Tue, 6 Jun 2023 03:07:25 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ4q3ILZ3DrYqolj+hWCur+GgyCalkFVtW2/2kYQH903v4m/162BMvqhlDBMAzZ7Fj19NWUN X-Received: by 2002:a54:4710:0:b0:398:3152:fc3d with SMTP id k16-20020a544710000000b003983152fc3dmr1775145oik.44.1686046045070; Tue, 06 Jun 2023 03:07:25 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1686046045; cv=none; d=google.com; s=arc-20160816; b=AhONyGvtN3wkQBA/8XXqjbSET4GdLTAhWnE4yRGWG3aOl1LduNoaZi/5oDAgwIpJ1+ bwkDHrIKAmf+TFXvnnzxJ+Eeh6JJSwuCYcf7nCx7CgIPPomPmmG/X9BCI68eEuqKUbmd zXOjKlpGSQrAy1aPezSWGbk6hPG4HxKyGUv0RmnLC6dM/gOt+qO+g9t35LAN4xNBEQRL +kLjV6vjo+sl4q5Y7yiczSD8wV3uy3Mu9W++BA/jgZois7A4OwVSVWKVvY8t7GKXzXFR fQtJuKPPaD6CEVXrqpsPUHoUr211VTIlsBx+REpWNeJdkCD4YP9wbqEQrLHERwias7rc Z1qg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from; bh=VO5+d7Kf2yPCVahEUSLaKFJZK+5z6zxAAZg0LNd02B0=; b=fQQry5bvM3ZX/YNAJyAZV0TE5RZNm7GZ2MSz8zna2uPuJJ4vZt4ZgEZiBANhORZMLV xM09KQ0qtm11YDqel2HKY4rYWnr+zhQifG3N+wl1Td+6871pYcY06VAsOp3+2ZOGR7Li brDixtPStwWOoWKKmaBN5tgGtFDaY39KnPkdPmspfituHjQ/QRrMzI+kP7d0i+pT1+co urwBK5sfJPDGQNQj24QaclstBqDdlUlpGnaVqjW9E9VeFy2vRuatlHTYwl+/ikrG0NCM gTj5RUk1/wOL5dUCXrlEZk7m53FQ8wuRdb+t90nooEDzE6EJx9Vte/xdepWE31doUoda 15Tw== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id p5-20020a170902e74500b001ab06251f98si7320593plf.429.2023.06.06.03.07.12; Tue, 06 Jun 2023 03:07:25 -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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235356AbjFFJzv (ORCPT + 99 others); Tue, 6 Jun 2023 05:55:51 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58066 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236799AbjFFJzt (ORCPT ); Tue, 6 Jun 2023 05:55:49 -0400 Received: from michel.telenet-ops.be (michel.telenet-ops.be [IPv6:2a02:1800:110:4::f00:18]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 7E0FAE60 for ; Tue, 6 Jun 2023 02:55:47 -0700 (PDT) Received: from ramsan.of.borg ([IPv6:2a02:1810:ac12:ed30:a3e8:6562:a823:d832]) by michel.telenet-ops.be with bizsmtp id 5lvk2A0041Tjf1k06lvkck; Tue, 06 Jun 2023 11:55:44 +0200 Received: from rox.of.borg ([192.168.97.57]) by ramsan.of.borg with esmtp (Exim 4.95) (envelope-from ) id 1q6TPP-005EIs-2y; Tue, 06 Jun 2023 11:55:43 +0200 Received: from geert by rox.of.borg with local (Exim 4.95) (envelope-from ) id 1q6TPj-00BR14-Qp; Tue, 06 Jun 2023 11:55:43 +0200 From: Geert Uytterhoeven To: Philipp Zabel , =?UTF-8?q?Ilpo=20J=C3=A4rvinen?= , Arnd Bergmann , Jacky Huang Cc: linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Geert Uytterhoeven Subject: [PATCH] reset: RESET_NUVOTON_MA35D1 should depend on ARCH_MA35 Date: Tue, 6 Jun 2023 11:55:42 +0200 Message-Id: <011578db5fc4426d7df5d8ce2cf5ac09b7080531.1686045287.git.geert+renesas@glider.be> X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-2.4 required=5.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,RCVD_IN_DNSWL_LOW,SPF_HELO_NONE,SPF_NONE, 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 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. -- 2.34.1