Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-18.7 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER, INCLUDES_PATCH,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED, USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 3C675C4338F for ; Sun, 22 Aug 2021 20:41:58 +0000 (UTC) Received: from phobos.denx.de (phobos.denx.de [85.214.62.61]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 70C246127B for ; Sun, 22 Aug 2021 20:41:57 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org 70C246127B Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=sholland.org Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=lists.denx.de Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 568E982BD6; Sun, 22 Aug 2021 22:41:48 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=none (p=none dis=none) header.from=sholland.org Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=pass (2048-bit key; unprotected) header.d=sholland.org header.i=@sholland.org header.b="EBsiyII9"; dkim=pass (2048-bit key; unprotected) header.d=messagingengine.com header.i=@messagingengine.com header.b="cnR9yR/9"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 000DC82EB9; Sun, 22 Aug 2021 22:41:39 +0200 (CEST) Received: from new2-smtp.messagingengine.com (new2-smtp.messagingengine.com [66.111.4.224]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id BBCC982E04 for ; Sun, 22 Aug 2021 22:41:32 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=none (p=none dis=none) header.from=sholland.org Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=samuel@sholland.org Received: from compute4.internal (compute4.nyi.internal [10.202.2.44]) by mailnew.nyi.internal (Postfix) with ESMTP id 0E765580542; Sun, 22 Aug 2021 16:41:32 -0400 (EDT) Received: from mailfrontend2 ([10.202.2.163]) by compute4.internal (MEProxy); Sun, 22 Aug 2021 16:41:32 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sholland.org; h= from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; s=fm3; bh=5INH+v31G9P+R TnnbJaU5Mth5mjGoLVwyaENPBnMaVQ=; b=EBsiyII9Rj+g+6JmqEal9LEZpF+Yd gmb185RHVn28YCf9T4DGBLFCcGjVwmX9ePaE43uggNIlgwXPkFMM63uHAO7LVnJf dLwNsVjx+SJUP5GVoaLG8gvxsF0lbUD1Pbmi3Vg8V73JXx11Sg1eQgK8tXgmNxGf ud+sk0qWhQu2dP8WWr9ixHnEjxCndbh0arJGin3L0WaGTTYFAm4cHKEyqNZb9FIA Hd4stJ2sRH2y7RbDf1Qjsmk5vEyttNiVNL7Uu+A7V0GxE73b918J+snJ0tfzkhmG muqY8hldQQeuBxZbauOrMkH9gCe0d20TejJLd7D37JtmxItJijUprVXqQ== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:date:from :in-reply-to:message-id:mime-version:references:subject:to :x-me-proxy:x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s= fm3; bh=5INH+v31G9P+RTnnbJaU5Mth5mjGoLVwyaENPBnMaVQ=; b=cnR9yR/9 ssRnBUJWPIYI9Nay2vw0WbfOVukJmyOeB86w4//GIlR/tLL8TV3D4UPoz2GqOgsU lzIPg9col2JS7oNMu7HdxmuWqHFhBm3maB+FU6RLhv6fgIodqOQx0A5YgCCGpq4A r4Ar94md5eNAs84lvXuYyHmCID7NJcSweVBcUYjkFg6txvvahw8c736lW6a/jPr4 x+l1yua8bLIzjb+eZS7s9d9c8AUQqU8rRPQZS/pKycZFc+2fp0R9C+lCxcFLUlSL XjKaqwUA5+TBl/mcp1aV6lSfmn25QCr24n34xEeNWNylrArXgY8KKUm+WJKO45BE KZJ9DNVQqdeUWg== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvtddruddtfedgudehvdcutefuodetggdotefrod ftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfgh necuuegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmd enucfjughrpefhvffufffkofgjfhgggfestdekredtredttdenucfhrhhomhepufgrmhhu vghlucfjohhllhgrnhguuceoshgrmhhuvghlsehshhholhhlrghnugdrohhrgheqnecugg ftrfgrthhtvghrnhepudfhjeefvdfhgfefheetgffhieeigfefhefgvddvveefgeejheej vdfgjeehueeinecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrh homhepshgrmhhuvghlsehshhholhhlrghnugdrohhrgh X-ME-Proxy: Received: by mail.messagingengine.com (Postfix) with ESMTPA; Sun, 22 Aug 2021 16:41:29 -0400 (EDT) From: Samuel Holland To: Bin Meng , Simon Glass , Stefan Roese , u-boot@lists.denx.de Cc: Jagan Teki , Andre Przywara , Samuel Holland , Chee Hong Ang , GSS_MTK_Uboot_upstream , Harald Seiler , Ley Foon Tan , =?UTF-8?q?Pali=20Roh=C3=A1r?= , Patrick Delaunay , Priyanka Jain , Rasmus Villemoes , Sebastian Reichel , Siew Chin Lim , Teresa Remmet , Weijie Gao Subject: [PATCH 1/4] sysreset: Add uclass Kconfig dependency to drivers Date: Sun, 22 Aug 2021 15:41:18 -0500 Message-Id: <20210822204121.42625-2-samuel@sholland.org> X-Mailer: git-send-email 2.31.1 In-Reply-To: <20210822204121.42625-1-samuel@sholland.org> References: <20210822204121.42625-1-samuel@sholland.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.34 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" X-Virus-Scanned: clamav-milter 0.103.2 at phobos.denx.de X-Virus-Status: Clean The drivers enabled by SYSRESET_SYSCON, SYSRESET_WATCHDOG, and SYSRESET_RESETCTL do nothing beyond providing sysreset uclass ops. Therefore, they should depend on the sysreset uclass. Signed-off-by: Samuel Holland --- drivers/sysreset/Kconfig | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/sysreset/Kconfig b/drivers/sysreset/Kconfig index ac77ffbc8be..fdc858ccbac 100644 --- a/drivers/sysreset/Kconfig +++ b/drivers/sysreset/Kconfig @@ -106,8 +106,6 @@ config SYSRESET_TI_SCI This enables the system reset driver support over TI System Control Interface available on some new TI's SoCs. -endif - config SYSRESET_SYSCON bool "Enable support for mfd syscon reboot driver" select REGMAP @@ -127,6 +125,8 @@ config SYSRESET_RESETCTL help Reboot support using generic reset controller. +endif + config SYSRESET_X86 bool "Enable support for x86 processor reboot driver" depends on X86 -- 2.31.1