From: bhelgaas@google.com (Bjorn Helgaas)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCHv3 01/10] pci: mvebu: enable driver usage on Kirkwood
Date: Mon, 15 Apr 2013 09:11:02 -0600 [thread overview]
Message-ID: <CAErSpo5unBoJG=TEPjwHsiXPD_1T-QPDwLznUq_8sRSudQQqEA@mail.gmail.com> (raw)
In-Reply-To: <1365865005-26653-2-git-send-email-thomas.petazzoni@free-electrons.com>
On Sat, Apr 13, 2013 at 8:56 AM, Thomas Petazzoni
<thomas.petazzoni@free-electrons.com> wrote:
> We allow the pci-mvebu driver to be compiled on the Kirkwood platform,
> and add the 'marvell,kirkwood-pcie' as a compatible string supported
> by the driver.
>
> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
> Tested-by: Andrew Lunn <andrew@lunn.ch>
Acked-by: Bjorn Helgaas <bhelgaas@google.com>
I assume you'll merge this via some tree other than mine.
> ---
> .../devicetree/bindings/pci/mvebu-pci.txt | 1 +
> drivers/pci/host/Kconfig | 2 +-
> drivers/pci/host/pci-mvebu.c | 1 +
> 3 files changed, 3 insertions(+), 1 deletion(-)
>
> diff --git a/Documentation/devicetree/bindings/pci/mvebu-pci.txt b/Documentation/devicetree/bindings/pci/mvebu-pci.txt
> index eb69d92..f8d4058 100644
> --- a/Documentation/devicetree/bindings/pci/mvebu-pci.txt
> +++ b/Documentation/devicetree/bindings/pci/mvebu-pci.txt
> @@ -4,6 +4,7 @@ Mandatory properties:
> - compatible: one of the following values:
> marvell,armada-370-pcie
> marvell,armada-xp-pcie
> + marvell,kirkwood-pcie
> - #address-cells, set to <3>
> - #size-cells, set to <2>
> - #interrupt-cells, set to <1>
> diff --git a/drivers/pci/host/Kconfig b/drivers/pci/host/Kconfig
> index 6918fbc..1f1d67f 100644
> --- a/drivers/pci/host/Kconfig
> +++ b/drivers/pci/host/Kconfig
> @@ -3,6 +3,6 @@ menu "PCI host controller drivers"
>
> config PCI_MVEBU
> bool "Marvell EBU PCIe controller"
> - depends on ARCH_MVEBU
> + depends on ARCH_MVEBU || ARCH_KIRKWOOD
>
> endmenu
> diff --git a/drivers/pci/host/pci-mvebu.c b/drivers/pci/host/pci-mvebu.c
> index 9c15a25..a083d19 100644
> --- a/drivers/pci/host/pci-mvebu.c
> +++ b/drivers/pci/host/pci-mvebu.c
> @@ -853,6 +853,7 @@ static int __init mvebu_pcie_probe(struct platform_device *pdev)
> static const struct of_device_id mvebu_pcie_of_match_table[] = {
> { .compatible = "marvell,armada-xp-pcie", },
> { .compatible = "marvell,armada-370-pcie", },
> + { .compatible = "marvell,kirkwood-pcie", },
> {},
> };
> MODULE_DEVICE_TABLE(of, mvebu_pcie_of_match_table);
> --
> 1.7.9.5
>
next prev parent reply other threads:[~2013-04-15 15:11 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-04-13 14:56 [PATCHv3 00/10] Use the mvebu PCIe driver on Kirkwood Thomas Petazzoni
2013-04-13 14:56 ` [PATCHv3 01/10] pci: mvebu: enable driver usage " Thomas Petazzoni
2013-04-15 15:11 ` Bjorn Helgaas [this message]
2013-04-15 15:49 ` Jason Cooper
2013-04-13 14:56 ` [PATCHv3 02/10] bus: mvebu: fix mistake in PCIe window target attribute for Kirkwood Thomas Petazzoni
2013-04-13 14:56 ` [PATCHv3 03/10] arm: kirkwood: move PCIe window init to legacy driver Thomas Petazzoni
2013-04-13 14:56 ` [PATCHv3 04/10] arm: kirkwood: add SoC-level Device Tree data for PCIe interfaces Thomas Petazzoni
2013-04-13 14:56 ` [PATCHv3 05/10] arm: kirkwood: convert Iomega Iconnect to use DT for the PCIe interface Thomas Petazzoni
2013-04-13 14:56 ` [PATCHv3 06/10] arm: kirkwood: convert MPL CEC4 " Thomas Petazzoni
2013-04-13 14:56 ` [PATCHv3 07/10] arm: kirkwood: convert ZyXEL NSA310 " Thomas Petazzoni
2013-04-13 14:56 ` [PATCHv3 08/10] arm: kirkwood: convert QNAP TS219 " Thomas Petazzoni
2013-04-13 14:56 ` [PATCHv3 09/10] arm: kirkwood: convert db-88f6281 to the Device Tree Thomas Petazzoni
2013-04-13 14:56 ` [PATCHv3 10/10] arm: kirkwood: update defconfig with PCIe driver and board updates Thomas Petazzoni
2013-04-17 17:38 ` [PATCHv3 00/10] Use the mvebu PCIe driver on Kirkwood Jason Cooper
2013-04-17 18:29 ` Thomas Petazzoni
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='CAErSpo5unBoJG=TEPjwHsiXPD_1T-QPDwLznUq_8sRSudQQqEA@mail.gmail.com' \
--to=bhelgaas@google.com \
--cc=linux-arm-kernel@lists.infradead.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).