Received: by 2002:a05:6a10:1a4d:0:0:0:0 with SMTP id nk13csp419604pxb; Tue, 1 Feb 2022 02:53:17 -0800 (PST) X-Google-Smtp-Source: ABdhPJzI1VntETkft2D/zwh3cOvSCVbx7nz13JWLIGu99seApQePgyFtBJUr+RJZiITEyEe3+hqX X-Received: by 2002:a17:906:d283:: with SMTP id ay3mr20143261ejb.249.1643712796776; Tue, 01 Feb 2022 02:53:16 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1643712796; cv=none; d=google.com; s=arc-20160816; b=nka+8jPJCgkIWMfFhSit6k0XAZXdgVNRrGdiCQLk7Mbqqnhn2H2b4QRFO/N8zap3Z9 3knZp0DR70sXvgbRvJb1pZMXyCroNqi0gbFRRKHIuHgv6P9HHiceMHdmXur8Dc/R2afY jtkGyfWx9hKaGiRhdMA6U6Dt8FJh40C7XhT+Ju9N41c04MYlU5apfmg0+EdxlZAjWO38 Gv4wNosYzUIvdxK6jBjlbihUBf+0/u0Vp0Eat8QYPTFhnvHLKTjmRVzPdaEdMfWJui5P YgOGG7ZwkEmsbJWFn4ivK57x/x8nE4/T0S+Ta9qLBm8KVyWHigbKUxLJ2gYmDY2QrPOJ LuSg== 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=FiNUXtP+nUVb4JQHij/1yrBKsZja9IqLtczu+wuoOSI=; b=fn80wquahnYNho3XQWdsSqp8QnKNaGZcou/jXi2cUPRlpFs8ieI+h7/LRNQUifUyeo IUjjdXrwFDEcA27fPGfbSZ8CjIo0Qs6XgAIzNFdUNnpBeaztGypurLsSM8R4c1pyTR0h mRQRMAF5/ixu5TedbafwMHag4MTvEWn/VibqNxIZG1XP0LLVQfkww4XHih0/yHbQ3osy ZfXzHldjBtDHNAuiZCshG3lkwNdChKhL+csFnPNlH7tCu9Ltk56MW/YwCiwEu31nOnQi y0CxNl193XCUnC1IOz/5KnLzygw9xbvUc7KOdLhaU/qZeu2edWOaPKe+PltFIHgDWXno Acug== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@nbd.name header.s=20160729 header.b=o+G7w0wH; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id y13si11623234eda.1.2022.02.01.02.52.51; Tue, 01 Feb 2022 02:53:16 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=fail header.i=@nbd.name header.s=20160729 header.b=o+G7w0wH; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1355313AbiA3Ovw (ORCPT + 99 others); Sun, 30 Jan 2022 09:51:52 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60332 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1355225AbiA3Ovk (ORCPT ); Sun, 30 Jan 2022 09:51:40 -0500 Received: from nbd.name (nbd.name [IPv6:2a01:4f8:221:3d45::2]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 783DAC061748; Sun, 30 Jan 2022 06:51:39 -0800 (PST) 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=FiNUXtP+nUVb4JQHij/1yrBKsZja9IqLtczu+wuoOSI=; b=o+G7w0wH7o4EoOkS4552eOzW/m qMdSZApz15A7FKY+UcYnXt6jVsHgVduMXqlQa11A47QopbHAB7cI6whGO4dl+ZMvuBV1eCgYtVxDK eVbkFexPi9Ol3z8SZv78tcBIViP4ZsOv3SXD7U3wTFPaTuujiyKmYa0Rg55CWbFUOgiY=; Received: from p200300daa716f900d40f7dfd86c385e0.dip0.t-ipconnect.de ([2003:da:a716:f900:d40f:7dfd:86c3:85e0] helo=Maecks.lan) by ds12 with esmtpsa (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.89) (envelope-from ) id 1nEBYB-0002if-7M; Sun, 30 Jan 2022 15:51:31 +0100 From: Felix Fietkau To: Lorenzo Pieralisi , Rob Herring , =?UTF-8?q?Krzysztof=20Wilczy=C5=84ski?= , Bjorn Helgaas , Matthias Brugger Cc: soc@kernel.org, linux-mediatek@lists.infradead.org, linux-arm-kernel@lists.infradead.org, john@phrozen.org, linux-pci@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH v9 09/13] PCI: mediatek: Allow building for ARCH_AIROHA Date: Sun, 30 Jan 2022 15:51:12 +0100 Message-Id: <20220130145116.88406-10-nbd@nbd.name> X-Mailer: git-send-email 2.32.0 (Apple Git-132) In-Reply-To: <20220130145116.88406-1-nbd@nbd.name> References: <20220130145116.88406-1-nbd@nbd.name> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 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 7fc5135ffbbf..08b0e50dcc12 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.32.0 (Apple Git-132)