From patchwork Mon Aug 5 10:17:20 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Herve Codina X-Patchwork-Id: 13753416 Received: from relay7-d.mail.gandi.net (relay7-d.mail.gandi.net [217.70.183.200]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 34211154BEA; Mon, 5 Aug 2024 10:19:48 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=217.70.183.200 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1722853191; cv=none; b=hXvGA0XJD4h24cQ4T+uJ1uhFiXwhd6LUq3jhSLRdZOiSFHZniUmF8jQUEWMxC2js+MVKQhfIgvyxrRW51C6BCNTyyztTbxOMx6EJSOwY/uAPL5iAtChyrp0S5dZUnyl0cwwUfHetQs3kQHkMLeFsGNjujITADfyeR/vc+IZLBSA= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1722853191; c=relaxed/simple; bh=Ih+P5cxI4ylVS3d8uQWRpw7gHEbiMb8J1KtMZ6waHsc=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=khM/4Stu8Tm6hkaVz5AzHKDmQOfqRm3m+q2XrBlMgNeQCMBCYU7tCFOieHHFS3NEFeksrKcbYdJpZBn1mt9Yj6x44BHTiohK/0Om3/j8bLjWMgIsDsNTymyXPYX9A5OQDfWdI2v7OIeSc8u3yC1eOyIpJlRRO6YpVenpDfVLiUM= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=bootlin.com; spf=pass smtp.mailfrom=bootlin.com; dkim=pass (2048-bit key) header.d=bootlin.com header.i=@bootlin.com header.b=PkASJs5H; arc=none smtp.client-ip=217.70.183.200 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=bootlin.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=bootlin.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=bootlin.com header.i=@bootlin.com header.b="PkASJs5H" Received: by mail.gandi.net (Postfix) with ESMTPA id E78AA20003; Mon, 5 Aug 2024 10:19:45 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bootlin.com; s=gm1; t=1722853187; 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=nQ7FUvtot02O7z9jN0irvz2NgrtsqSR6wqBscO/qf14=; b=PkASJs5HTTN/vbJK11xPQNqeyc114uRxA/580R2v6iZs70XqEJAxYSoSGhQu9zTIdV5lAE H+/rSjNYmCF3Q0PfWbpH4Jyd0WvapR9i8Xci9yRB+x1gbNT0NTViC2vRNjOLQ8uB8RHlck liiKWtW7oMFJs+umGevSRi7lECOa5cz0zDoYLes1t3VscZUbRnAprx0EC1LAp5Zio8/1Jn 8+7sIcamsSDOObnwWomrkwGwpWTLhzqnxY8MCchItGFOS1SJx8MUv3YuReSZR1kFeBK5JY qk3WkaOBkOe0toOTo5bx/IupgH8PpKH6IjXOZTfIQYcMKLCKfDRYw51IjwmMag== 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 , Saravana Kannan Cc: "David S. Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , Horatiu Vultur , Andrew Lunn , linux-kernel@vger.kernel.org, netdev@vger.kernel.org, linux-pci@vger.kernel.org, linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org, Allan Nielsen , Steen Hegelund , Luca Ceresoli , Thomas Petazzoni Subject: [PATCH v4 4/8] reset: mchp: sparx5: Add MCHP_LAN966X_PCI dependency Date: Mon, 5 Aug 2024 12:17:20 +0200 Message-ID: <20240805101725.93947-5-herve.codina@bootlin.com> X-Mailer: git-send-email 2.45.0 In-Reply-To: <20240805101725.93947-1-herve.codina@bootlin.com> References: <20240805101725.93947-1-herve.codina@bootlin.com> Precedence: bulk X-Mailing-List: netdev@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-GND-Sasl: herve.codina@bootlin.com 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 --- drivers/reset/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/reset/Kconfig b/drivers/reset/Kconfig index 67bce340a87e..5b5a4d99616e 100644 --- a/drivers/reset/Kconfig +++ b/drivers/reset/Kconfig @@ -134,7 +134,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