From patchwork Thu Oct 10 06:36:04 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Herve Codina X-Patchwork-Id: 13829579 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id D7A26CF07B3 for ; Thu, 10 Oct 2024 06:43:18 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:List-Subscribe:List-Help :List-Post:List-Archive:List-Unsubscribe:List-Id:Content-Transfer-Encoding: MIME-Version:References:In-Reply-To:Message-ID:Date:Subject:Cc:To:From: Reply-To:Content-Type:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=gNMFzeQRbq08ia/IaCQZGCzpyn3wLeQNa91TNNzpFRw=; b=rwx8BpH1WARe7JBmGkC/msc4l6 29wm+i5vVOKIPxz1/78jxQNZFJvGvAd7lHnmWh335Qi72S0j06+1KBrrYHlAevyInocxiG12VLBIZ LrifysCpA6Lb8Ig7FQ2a1DA5V43M4G+CbZbU0+TnKXCx/bCQXMBjqajTJaxhsErnqiE3NjQOaHCHV ge6MLcLKW5L+2TPZe0iEelEN3MxaQi/EjjSQ9lIwbRZdxyALXVTZY/CRRLPR/bVrxtFObaRdag9Dp UWri81dFA1BbZsSNtmeILACdoU5fWRv2W5MvZpdYJP+ckMCTMYgXXzfmiM/tqwrF3SX+yTc/gAVxK lbtGIrzg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.98 #2 (Red Hat Linux)) id 1symtC-0000000BifI-1pZl; Thu, 10 Oct 2024 06:43:10 +0000 Received: from relay5-d.mail.gandi.net ([2001:4b98:dc4:8::225]) by bombadil.infradead.org with esmtps (Exim 4.98 #2 (Red Hat Linux)) id 1symme-0000000BhFW-0cAb for linux-arm-kernel@lists.infradead.org; Thu, 10 Oct 2024 06:36:25 +0000 Received: by mail.gandi.net (Postfix) with ESMTPA id 384391C000B; Thu, 10 Oct 2024 06:36:21 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bootlin.com; s=gm1; t=1728542182; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=gNMFzeQRbq08ia/IaCQZGCzpyn3wLeQNa91TNNzpFRw=; b=VwpyW2eFDo6D08/xa1Jk+EGvBDlLtIsQf1uUQjHbO5dX1c6JxX0UYUntoCLSSJcFdQOsG0 ea50wwdeGP7B+L+gOUcrpOzlJ/DhPfBY9aeWkkKXckTDxNsyz9uyIS9vTTh/V0mba2wWwS 8NDlYiziapDup7XFHkmXsUTNPrJfpqjMZugXvuDyI6yRNRwznIXev55AYVX5+NAyjJ6YrX 2qr2KDv25SGTEQ2ZiKpmpXRnfF+eiYW/hHHBcp6TwtTyTT/2c/iojg+6yokop+Pl2qoY/d wJAwcPplTpzBNjNMUxGHrWj+sRRYmO80MPquPipxVP6mZdTMZLh+OQ4aOpkMVg== From: Herve Codina To: Geert Uytterhoeven , Andy Shevchenko , Simon Horman , Lee Jones , Arnd Bergmann , Derek Kiernan , Dragan Cvetic , Greg Kroah-Hartman , Herve Codina , Bjorn Helgaas , Philipp Zabel , Lars Povlsen , Steen Hegelund , Daniel Machon , UNGLinuxDriver@microchip.com, Rob Herring , Krzysztof Kozlowski , Conor Dooley , Saravana Kannan Cc: "David S. Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , Horatiu Vultur , Andrew Lunn , devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, netdev@vger.kernel.org, linux-pci@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Allan Nielsen , Steen Hegelund , Luca Ceresoli , Thomas Petazzoni Subject: [PATCH v9 4/6] reset: mchp: sparx5: Add MCHP_LAN966X_PCI dependency Date: Thu, 10 Oct 2024 08:36:04 +0200 Message-ID: <20241010063611.788527-5-herve.codina@bootlin.com> X-Mailer: git-send-email 2.46.2 In-Reply-To: <20241010063611.788527-1-herve.codina@bootlin.com> References: <20241010063611.788527-1-herve.codina@bootlin.com> MIME-Version: 1.0 X-GND-Sasl: herve.codina@bootlin.com X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20241009_233624_401198_3E96EE27 X-CRM114-Status: GOOD ( 12.17 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org The sparx5 reset controller depends on the SPARX5 architecture or the LAN966x SoC. This reset controller can be used by the LAN966x PCI device and so it needs to be available when the LAN966x PCI device is enabled. Signed-off-by: Herve Codina Reviewed-by: Steen Hegelund Reviewed-by: Philipp Zabel --- drivers/reset/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/reset/Kconfig b/drivers/reset/Kconfig index 5484a65f66b9..86a5504950cb 100644 --- a/drivers/reset/Kconfig +++ b/drivers/reset/Kconfig @@ -147,7 +147,7 @@ config RESET_LPC18XX config RESET_MCHP_SPARX5 bool "Microchip Sparx5 reset driver" - depends on ARCH_SPARX5 || SOC_LAN966 || COMPILE_TEST + depends on ARCH_SPARX5 || SOC_LAN966 || MCHP_LAN966X_PCI || COMPILE_TEST default y if SPARX5_SWITCH select MFD_SYSCON help