linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Felix Fietkau <nbd@nbd.name>
To: "Lorenzo Pieralisi" <lorenzo.pieralisi@arm.com>,
	"Rob Herring" <robh@kernel.org>,
	"Krzysztof Wilczyński" <kw@linux.com>,
	"Bjorn Helgaas" <bhelgaas@google.com>,
	"Matthias Brugger" <matthias.bgg@gmail.com>
Cc: john@phrozen.org, linux-arm-kernel@lists.infradead.org,
	linux-pci@vger.kernel.org, linux-kernel@vger.kernel.org,
	linux-mediatek@lists.infradead.org
Subject: [PATCH v7 10/14] PCI: mediatek: Allow selecting controller driver for airoha arch
Date: Fri, 17 Dec 2021 12:23:40 +0100	[thread overview]
Message-ID: <20211217112345.14029-11-nbd@nbd.name> (raw)
In-Reply-To: <20211217112345.14029-1-nbd@nbd.name>

This patch allows 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 <nbd@nbd.name>
---
 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
-- 
2.34.1


  parent reply	other threads:[~2021-12-17 11:24 UTC|newest]

Thread overview: 21+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <20211217112345.14029-1-nbd@nbd.name>
2021-12-17 11:23 ` [PATCH v7 01/14] dt-bindings: Add vendor prefix for Airoha Felix Fietkau
2021-12-17 11:23 ` [PATCH v7 02/14] dt-bindings: arm: airoha: Add binding for EN7523 SoC and EVB Felix Fietkau
2021-12-17 11:23 ` [PATCH v7 03/14] ARM: dts: Add basic support for Airoha EN7523 Felix Fietkau
2021-12-17 11:23 ` [PATCH v7 04/14] ARM: Add basic support for Airoha EN7523 SoC Felix Fietkau
2021-12-17 11:23 ` [PATCH v7 05/14] ARM: multi_v7_defconfig: Add " Felix Fietkau
2021-12-17 11:23 ` [PATCH v7 06/14] dt-bindings: Add en7523-scu device tree binding documentation Felix Fietkau
2022-01-06  1:30   ` Stephen Boyd
2021-12-17 11:23 ` [PATCH v7 07/14] clk: en7523: Add clock driver for Airoha EN7523 SoC Felix Fietkau
2021-12-18 23:12   ` kernel test robot
2022-01-06  1:29   ` Stephen Boyd
2021-12-17 11:23 ` [PATCH v7 08/14] ARM: dts: add clock support for Airoha EN7523 Felix Fietkau
2021-12-17 11:23 ` [PATCH v7 09/14] dt-bindings: PCI: Add support for Airoha EN7532 Felix Fietkau
2021-12-17 16:21   ` Bjorn Helgaas
2021-12-17 11:23 ` Felix Fietkau [this message]
2021-12-17 16:25   ` [PATCH v7 10/14] PCI: mediatek: Allow selecting controller driver for airoha arch Bjorn Helgaas
2021-12-17 11:23 ` [PATCH v7 11/14] ARM: dts: Add PCIe support for Airoha EN7523 Felix Fietkau
2021-12-17 11:23 ` [PATCH v7 12/14] dt-bindings: arm: airoha: Add binding for Airoha GPIO controller Felix Fietkau
2021-12-17 11:23 ` [PATCH v7 13/14] gpio: Add support for Airoha EN7523 " Felix Fietkau
2021-12-22  2:06   ` Linus Walleij
2021-12-22  7:56   ` Bartosz Golaszewski
2021-12-17 11:23 ` [PATCH v7 14/14] ARM: dts: add GPIO support for Airoha EN7523 Felix Fietkau

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20211217112345.14029-11-nbd@nbd.name \
    --to=nbd@nbd.name \
    --cc=bhelgaas@google.com \
    --cc=john@phrozen.org \
    --cc=kw@linux.com \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-mediatek@lists.infradead.org \
    --cc=linux-pci@vger.kernel.org \
    --cc=lorenzo.pieralisi@arm.com \
    --cc=matthias.bgg@gmail.com \
    --cc=robh@kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).