From: Shengzhou Liu <Shengzhou.Liu@freescale.com>
To: <linuxppc-dev@lists.ozlabs.org>, <scottwood@freescale.com>
Cc: Shengzhou Liu <Shengzhou.Liu@freescale.com>
Subject: [PATCH 2/5] powerpc/fsl_pci: add versionless pci compatible
Date: Wed, 11 Dec 2013 19:19:31 +0800 [thread overview]
Message-ID: <1386760774-14743-2-git-send-email-Shengzhou.Liu@freescale.com> (raw)
In-Reply-To: <1386760774-14743-1-git-send-email-Shengzhou.Liu@freescale.com>
There are much pci compatible with version on existing platforms.
To stop putting version numbers in device tree later, we add a
generic compatible 'fsl,qoriq-pcie'.
The version number is readable directly from a register.
Signed-off-by: Shengzhou Liu <Shengzhou.Liu@freescale.com>
---
arch/powerpc/sysdev/fsl_pci.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/arch/powerpc/sysdev/fsl_pci.c b/arch/powerpc/sysdev/fsl_pci.c
index 4dfd61d..a7c71ff 100644
--- a/arch/powerpc/sysdev/fsl_pci.c
+++ b/arch/powerpc/sysdev/fsl_pci.c
@@ -1035,6 +1035,7 @@ static const struct of_device_id pci_ids[] = {
{ .compatible = "fsl,mpc8548-pcie", },
{ .compatible = "fsl,mpc8610-pci", },
{ .compatible = "fsl,mpc8641-pcie", },
+ { .compatible = "fsl,qoriq-pcie", },
{ .compatible = "fsl,qoriq-pcie-v2.1", },
{ .compatible = "fsl,qoriq-pcie-v2.2", },
{ .compatible = "fsl,qoriq-pcie-v2.3", },
--
1.8.0
next prev parent reply other threads:[~2013-12-11 12:10 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-12-11 11:19 [PATCH 1/5] powerpc/85xx/dts: add third elo3 dma component Shengzhou Liu
2013-12-11 11:19 ` Shengzhou Liu [this message]
2013-12-11 11:19 ` [PATCH 3/5] powerpc/fsl-booke: Add initial device tree support for T2080/T2081 Shengzhou Liu
2013-12-11 11:19 ` [PATCH 4/5] powerpc/fsl-booke: Add initial T208x QDS board support Shengzhou Liu
2013-12-17 19:57 ` Scott Wood
2013-12-20 6:42 ` Shengzhou.Liu
2013-12-27 22:53 ` Scott Wood
2013-12-11 11:19 ` [PATCH 5/5] powerpc/fsl-booke: Enable T208xQDS board Shengzhou Liu
2013-12-12 9:57 ` [PATCH 1/5] powerpc/85xx/dts: add third elo3 dma component Hongbo Zhang
2013-12-13 5:43 ` Shengzhou.Liu
2013-12-16 9:12 ` Hongbo Zhang
2013-12-16 18:37 ` Scott Wood
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=1386760774-14743-2-git-send-email-Shengzhou.Liu@freescale.com \
--to=shengzhou.liu@freescale.com \
--cc=linuxppc-dev@lists.ozlabs.org \
--cc=scottwood@freescale.com \
/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).