Received: by 2002:a05:6a10:413:0:0:0:0 with SMTP id 19csp2817864pxp; Mon, 14 Mar 2022 05:42:40 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyuSszouHnLJsAWe5Uaza9rpsgiS/SD5NEXNEVwXJTZ1PBYcyLoz6yU/JiXjqWE9aJYBIzS X-Received: by 2002:a17:907:60cc:b0:6da:9616:ecec with SMTP id hv12-20020a17090760cc00b006da9616ececmr19850954ejc.298.1647261760187; Mon, 14 Mar 2022 05:42:40 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1647261760; cv=none; d=google.com; s=arc-20160816; b=F3+2KzoH7D/L3nkqv6/zEHO/H/xVltMDnf1A5KXNFhoqlzZtLwSKtUH1NXEacVC+HF WPF6hcLWXoO2rYF2FDgRIMMEOu5xhJ6XEhfLDR9HyVLt6y5OmaP/tLAboz8BVpK/s5Xb XmHM44r7jNOWo0w7Mn+3JbJC2b0wpW7U08SXyrNOQhL+gqw2SP3MCf5TYd7VJKmpNoAT UMzBmj1xU+XGK7NojrWgK4Ff9ZQbp0DavJwNn2wq+poFWXHYc0TYd//15FRyzZwYCvYF AF03hZwIKzwQW8RDgf50G9EnXiHuyFMImRhMonU9+xp9DFwZlZuqhJ5rQyIePxtxJB/Q +B8Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=Z/5UNriyrj8defLJ4oKkkrpPkuAVFAS/OEtzwbbbsAs=; b=KMyTkZdUS0cfGLD6VapxEyQZI56D7b9OzQ34/+/40LN0vtIqO0DvTOTBx/OTq3vLYN PGlcuaL9S/uD/AA/I7aGvYi23OBAdZBbfM5WSj8ojsPvGYJjVsMyhZGb/Cqsg80jwXZr jJ2dXZBqGWS4dtHWHB9PmiF9gbDuww8ME+03PQbANy2U0rw0vWShOWx6Pvl3Fd3IQCZQ ykprdivaS5xsvCIS9QFhzBU+2Y2D2waK+/6ZPR9O72yk+ZmcHkXYwYMJz/j1bx/WCcqY x3NYAZOUJ5EuiV7wwy/EXHZuC2yYSgk9AOmUyVqJZ3mo7LJlxK/kPP+MSfgqYqMWJPPH rxAg== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@nbd.name header.s=20160729 header.b=BEPUyk3b; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id el6-20020a056402360600b0041614eca4e2si8686623edb.42.2022.03.14.05.42.04; Mon, 14 Mar 2022 05:42:40 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=fail header.i=@nbd.name header.s=20160729 header.b=BEPUyk3b; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S237740AbiCNIpu (ORCPT + 99 others); Mon, 14 Mar 2022 04:45:50 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37546 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S237711AbiCNIpk (ORCPT ); Mon, 14 Mar 2022 04:45:40 -0400 Received: from nbd.name (nbd.name [IPv6:2a01:4f8:221:3d45::2]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 3FF5A39BA5; Mon, 14 Mar 2022 01:44:31 -0700 (PDT) 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=Z/5UNriyrj8defLJ4oKkkrpPkuAVFAS/OEtzwbbbsAs=; b=BEPUyk3bumAs5tUAqhPenNG5tl Ad0iWvPwDfTZzSkGX2rNPB39NsNs19kzqNWcswa++Ah+uSDasBmltYwcEg6cXCMAJwxrI2N1T5nNC OvZobC5zxIbMZHLNiWad/PbC96I3mdKB5PFqcWm2yu+rVkgnOGNGo8arto6qZxcq7iSs=; Received: from p200300daa7204f006c015a90d6b6c4d6.dip0.t-ipconnect.de ([2003:da:a720:4f00:6c01:5a90:d6b6:c4d6] helo=Maecks.lan) by ds12 with esmtpsa (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.89) (envelope-from ) id 1nTgJS-0002UN-4o; Mon, 14 Mar 2022 09:44:22 +0100 From: Felix Fietkau To: soc@kernel.org, Lorenzo Pieralisi , Rob Herring , =?UTF-8?q?Krzysztof=20Wilczy=C5=84ski?= , Bjorn Helgaas , Matthias Brugger Cc: linux-mediatek@lists.infradead.org, linux-arm-kernel@lists.infradead.org, linux-pci@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH v10 5/6] PCI: mediatek: Allow building for ARCH_AIROHA Date: Mon, 14 Mar 2022 09:44:07 +0100 Message-Id: <20220314084409.84394-6-nbd@nbd.name> X-Mailer: git-send-email 2.35.1 In-Reply-To: <20220314084409.84394-1-nbd@nbd.name> References: <20220314084409.84394-1-nbd@nbd.name> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_NONE,SPF_NONE, T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.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. Acked-by: Lorenzo Pieralisi Signed-off-by: Felix Fietkau --- 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 601f2531ee91..17d9635c7038 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 -- 2.35.1