Received: by 2002:a6b:fb09:0:0:0:0:0 with SMTP id h9csp479698iog; Wed, 15 Jun 2022 06:17:33 -0700 (PDT) X-Google-Smtp-Source: AGRyM1tQ2oB86gmx0TGlrNr3Xfu11QnIHKWrRu2wS3C9cj42Y2PnqvXwW7cDVYGIrHlK+mpsRTkT X-Received: by 2002:aa7:9d04:0:b0:51c:260:108e with SMTP id k4-20020aa79d04000000b0051c0260108emr9879067pfp.4.1655299053330; Wed, 15 Jun 2022 06:17:33 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1655299053; cv=none; d=google.com; s=arc-20160816; b=EJOHfLabhFPX//vUrVxYMz4LAldpOJ8Jei6mLCxKjiT1ndu4OKjR3KK3MjlPJGilZ7 8uOCmmf4ly1m7vllejygXW81nhNXmB6V2EGYhgGJrbLc/oM4+z+iDDTrk3qbJ96rh81h 6a5ARoYEZN5ztYNV+7/t3x0Nv2Rd5rzGOmuN9H6gQ9sGdzKSJOivdoojtRArurBAlOA7 YoyJ1TZXlGWeRobiyLkGpyx1+YxZIjNP6LiZ0lfo3635BkAmut6cBUQps/3X0cw6PAWc XT06DglC92zybPT9lfSnQ+cDS6lHAD1OiAe0i8VGMj4wIxPKh2zxAbNyXlM8zk+U2S9d PpaQ== 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=STcox88mUH+VdAhq8p9+4+XG107fbNNN1YjCyQgqCOI=; b=qZ3KHKRyE2ITkBud5Xv0VBgLwRpSOhExBlrLaV8hxlqb8XfGKPDlhJIgoY3EojzubZ 4+ZNzdFvg60Db9SvDlTtQwvwijh6ExpuPLi+xmqLRZjQ/O1Ag+lysCYQZYEbCUcSF8sF XWgoR0ngkWztLUsqkkZ2oU9vJyp78hLUSRbp3Lo435+w9/OR2XwG4sm88XavN/893e87 Bwa9csICIXiqMdpwKJeF3HKfemYcaouDRhE+oIiRJKVOZ3+aS7wyBARfTqvRsgZ3p/vU ietBFZmws7NjJGys1xqBlqZq+/c29vfGOQ8fgSXO/HvDUzcbZ+dFXUpdHfw2K8fAyxc0 dRtw== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@nbd.name header.s=20160729 header.b=O5P73Q9Q; 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 d12-20020a056a0010cc00b005228c3285f6si9460117pfu.168.2022.06.15.06.17.20; Wed, 15 Jun 2022 06:17:33 -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=O5P73Q9Q; 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 S1349398AbiFOMx4 (ORCPT + 99 others); Wed, 15 Jun 2022 08:53:56 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33944 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1349234AbiFOMxq (ORCPT ); Wed, 15 Jun 2022 08:53:46 -0400 Received: from nbd.name (nbd.name [IPv6:2a01:4f8:221:3d45::2]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 037D432045; Wed, 15 Jun 2022 05:53:44 -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=STcox88mUH+VdAhq8p9+4+XG107fbNNN1YjCyQgqCOI=; b=O5P73Q9Qzq5L30Hih2OX0VQl6k gn5V5w9d7DQLXSwcs0s/7Pj1gS9DkCpladTxY0nLSwA5vB1DQI7e0VIzHByv7vfkjexlpt0z7c9GR bO8Fbg7nkKatNE4FiIiYtXfsK97SZYDg2g4E0re0XcEWKk3qcsdlP+RgdVuFehvLUtn0=; Received: from p200300daa7110200c95c40f4ac0d06a0.dip0.t-ipconnect.de ([2003:da:a711:200:c95c:40f4:ac0d:6a0] helo=Maecks.lan) by ds12 with esmtpsa (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.89) (envelope-from ) id 1o1SWf-0000WR-DJ; Wed, 15 Jun 2022 14:53:37 +0200 From: Felix Fietkau To: Lorenzo Pieralisi , Rob Herring , =?UTF-8?q?Krzysztof=20Wilczy=C5=84ski?= , Bjorn Helgaas , Matthias Brugger Cc: Lorenzo Pieralisi , linux-pci@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-mediatek@lists.infradead.org Subject: [PATCH RESEND v10 2/3] PCI: mediatek: Allow building for ARCH_AIROHA Date: Wed, 15 Jun 2022 14:53:34 +0200 Message-Id: <20220615125335.96089-2-nbd@nbd.name> X-Mailer: git-send-email 2.36.1 In-Reply-To: <20220615125335.96089-1-nbd@nbd.name> References: <20220615125335.96089-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 b8d96d38064d..2f6806dc2a20 100644 --- a/drivers/pci/controller/Kconfig +++ b/drivers/pci/controller/Kconfig @@ -237,7 +237,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.36.1