From patchwork Fri Jan 17 13:04:37 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Geert Uytterhoeven X-Patchwork-Id: 13943317 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 43F2DC02185 for ; Fri, 17 Jan 2025 13:04:51 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-ID:Date:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=DHS9SI7TB3MOFjmJieQDvp3zLTdYWF4jelnLBdOFJX4=; b=w1szLIB81KGj9A cTQ8w8mS+mwH+tfHijvVPRUxYmU5lJwhvLlgBWq6+C4MeyGgzAWLkcBmAh/Vzhzy1JcPTO0idpgTk WLHPThv044a1Ts2wOYUfVkNadQSl8G8N4Hg1r0l+tdkpgO8AZ0WlR1ncVtx9mJKGMGGs7MOHZR/BE DgtBjh82TlDoPO5FdRZz6g/Iptivi+Qm7isV7i6U3ENCQDXB6RC8JdWkq/97oy9prkBlpxUaOvhcx KkYRSq478cvICa+ao/eQx2Y69jdFv2mqPDsifdpvB8XFpP7xbf64DMwHGb/jw9v1aZ/Z1mOUiRIg3 ZLJrI0NqSTHiJthKrmsQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.98 #2 (Red Hat Linux)) id 1tYm1r-00000000JHj-0614; Fri, 17 Jan 2025 13:04:51 +0000 Received: from albert.telenet-ops.be ([2a02:1800:110:4::f00:1a]) by bombadil.infradead.org with esmtps (Exim 4.98 #2 (Red Hat Linux)) id 1tYm1n-00000000JD9-2gqi for linux-phy@lists.infradead.org; Fri, 17 Jan 2025 13:04:49 +0000 Received: from ramsan.of.borg ([IPv6:2a02:1810:ac12:ed80:e8f3:e87e:7352:b33b]) by albert.telenet-ops.be with cmsmtp id 2D4g2E00927fVKr06D4gPu; Fri, 17 Jan 2025 14:04:42 +0100 Received: from rox.of.borg ([192.168.97.57]) by ramsan.of.borg with esmtp (Exim 4.97) (envelope-from ) id 1tYm1a-0000000DPU1-35X7; Fri, 17 Jan 2025 14:04:40 +0100 Received: from geert by rox.of.borg with local (Exim 4.97) (envelope-from ) id 1tYm1f-00000004wBA-3YUY; Fri, 17 Jan 2025 14:04:39 +0100 From: Geert Uytterhoeven To: Herve Codina , Thomas Gleixner , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Vinod Koul , Kishon Vijay Abraham I Cc: devicetree@vger.kernel.org, linux-phy@lists.infradead.org, Geert Uytterhoeven Subject: [PATCH v2 2/3] irqchip: LAN966X_OIC should depend on MFD_LAN966X_PCI Date: Fri, 17 Jan 2025 14:04:37 +0100 Message-ID: <84393e59efa7a76b89d4164fd64ca85b8739f6ee.1737118595.git.geert+renesas@glider.be> X-Mailer: git-send-email 2.43.0 In-Reply-To: References: MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20250117_050447_821923_22BCCABB X-CRM114-Status: GOOD ( 10.95 ) X-BeenThere: linux-phy@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Linux Phy Mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-phy" Errors-To: linux-phy-bounces+linux-phy=archiver.kernel.org@lists.infradead.org The Microchip LAN966x outband interrupt controller is only present on Microchip LAN966x SoCs, and only used in PCI endpoint mode. Hence add a dependency on MCHP_LAN966X_PCI, to prevent asking the user about this driver when configuring a kernel without Microchip LAN966x PCIe support. Fixes: 3e3a7b35332924c8 ("irqchip: Add support for LAN966x OIC") Signed-off-by: Geert Uytterhoeven Acked-by: Herve Codina --- v2: - Drop dependency on SOC_LAN966, as the OIC is used only in LAN966x PCI endpoint mode, - Replace MFD_LAN966X_PCI by MCHP_LAN966X_PCI, as the latter is the symbol that ended upstream. --- drivers/irqchip/Kconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/irqchip/Kconfig b/drivers/irqchip/Kconfig index 22f5fbd41f65d97e..cf713b6e9cc9346f 100644 --- a/drivers/irqchip/Kconfig +++ b/drivers/irqchip/Kconfig @@ -169,6 +169,7 @@ config IXP4XX_IRQ config LAN966X_OIC tristate "Microchip LAN966x OIC Support" + depends on MCHP_LAN966X_PCI || COMPILE_TEST select GENERIC_IRQ_CHIP select IRQ_DOMAIN help