From patchwork Mon Dec 20 21:18:50 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Felix Fietkau X-Patchwork-Id: 12696899 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 A0384C433EF for ; Mon, 20 Dec 2021 21:28:54 +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=MsEteZQCC585WEhuzl0r34z4NakoFdQz8pPfsEqgYGQ=; b=Ww5p2gD4pUiPCL ziwafahD6YJuNBW1Q0ZmwtxsHCFcWpUJafzwk8FFhapVc1pD+0e5Yl011rxT/5DzfMEj5qagV3jXs GUa/fy2tIPbISIRd3ST9FLfQOwA0+SAp9kxwafiLuAnv4xuunCcQqB4AtK5LJcsvW+lX0O8YRye0T 4xZvodeUh/J1ZdiFKYgVY2C+r/wA4mAMeDW+O0PgTDT1CbCpzJxQKfqscq07XfogRv+qfZjNbjRXF ri30XECiycy9q2nGcj+1H8xHgCIaVcWb1rfs+mFAgef9e/Nbbo3+x9o466lMNFzsI7hGWBt8Pv+uE 0Dk3wrLpFAUzXrb4rVzQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1mzQCF-004T9q-1V; Mon, 20 Dec 2021 21:27:51 +0000 Received: from nbd.name ([2a01:4f8:221:3d45::2]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1mzQBo-004SxJ-Hj; Mon, 20 Dec 2021 21:27:25 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=nbd.name; s=20160729; h=Content-Transfer-Encoding:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:Cc:To:From:Sender:Reply-To:Content-Type:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Id:List-Help:List-Unsubscribe:List-Subscribe: List-Post:List-Owner:List-Archive; bh=JWqi786giIKaSw4tSGdwpvXgr1JgtStfMmdgvrcLvio=; b=rlGlWIGfBBFY5PWUmFDUpm1mWq qDZ6R2ypBWQBL1VEtltKcvHhGjLjN7dO/tjODkZGhlMoEylq2jAZ7dUZukyRqJUWpYH5DrtIv0TFF I6CUXC4VijTKVvftAba0Io/mrRxQKsTBBEd91/85V5fWrMq+7cctb89y9LDRNl5oHlxo=; Received: from p54ae911a.dip0.t-ipconnect.de ([84.174.145.26] helo=localhost.localdomain) by ds12 with esmtpsa (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.89) (envelope-from ) id 1mzQ3r-0000zo-3j; Mon, 20 Dec 2021 22:19:11 +0100 From: Felix Fietkau To: linux-arm-kernel@lists.infradead.org, Lorenzo Pieralisi , Rob Herring , =?utf-8?q?Krzysztof_Wilczy=C5=84ski?= , Bjorn Helgaas , Matthias Brugger Cc: john@phrozen.org, linux-pci@vger.kernel.org, linux-kernel@vger.kernel.org, linux-mediatek@lists.infradead.org Subject: [PATCH v8 10/14] PCI: mediatek: Allow building for ARCH_AIROHA Date: Mon, 20 Dec 2021 22:18:50 +0100 Message-Id: <20211220211854.89452-11-nbd@nbd.name> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20211220211854.89452-1-nbd@nbd.name> References: <20211220211854.89452-1-nbd@nbd.name> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20211220_132724_788558_A35B88B8 X-CRM114-Status: GOOD ( 11.21 ) 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 Allow selecting the pcie-mediatek driver if ARCH_AIROHA is set, because the Airoha EN7523 SoC uses the same controller as MT7622. The driver itself is not modified. The PCIe controller DT node should use mediatek,mt7622-pcie after airoha,en7523-pcie. Signed-off-by: Felix Fietkau Acked-by: Lorenzo Pieralisi --- drivers/pci/controller/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/pci/controller/Kconfig b/drivers/pci/controller/Kconfig index 93b141110537..f1342059c2a3 100644 --- a/drivers/pci/controller/Kconfig +++ b/drivers/pci/controller/Kconfig @@ -233,7 +233,7 @@ config PCIE_ROCKCHIP_EP config PCIE_MEDIATEK tristate "MediaTek PCIe controller" - depends on ARCH_MEDIATEK || COMPILE_TEST + depends on ARCH_AIROHA || ARCH_MEDIATEK || COMPILE_TEST depends on OF depends on PCI_MSI_IRQ_DOMAIN help