Thread (7 messages) 7 messages, 4 authors, 2013-02-12

Re: [PATCH 1/2] powerpc/85xx: fix various PCI node compatible strings

From: Gala Kumar-B11780 <hidden>
Date: 2013-02-12 20:01:14

On Jan 17, 2013, at 4:34 PM, Timur Tabi wrote:
From: Timur Tabi <redacted>
=20
Fix and/or improve the compatible strings of the PCI device tree nodes fo=
r
some Freescale SOCs.  This fixes some issues and improves consistency amo=
ng
the SOCs.
=20
Specifically:
=20
1) The P1022 has a v1 PCIe controller, so the compatible property should =
just
say "fsl,mpc8548-pcie".  U-Boot does not look for "fsl,p1022-pcie", so it
wasn't fixing up the node.
=20
2) The P4080 has a v2.1 PCIe controller, so add that version-specific str=
ing
to the device tree.  Update the kernel to also look for that string.
Currently, the kernel looks for "fsl,p4080-pcie" specifically, but
eventually that check should be deleted.
=20
3) The P1010 device tree claims compatibility with v2.2 and v2.3, but tha=
t's
redundant.  No other device tree does this.  Remove the v2.2 string.
=20
4) The kernel looks for both "fsl,p1023-pcie" and "fsl,qoriq-pcie-v2.2",
even though the P1023 device trees has always included both strings.  Rem=
ove
the search for "fsl,p1023-pcie".
=20
Signed-off-by: Timur Tabi <redacted>
---
arch/powerpc/boot/dts/fsl/p1010si-post.dtsi |    4 ++--
arch/powerpc/boot/dts/fsl/p1022si-post.dtsi |    6 +++---
arch/powerpc/boot/dts/fsl/p4080si-post.dtsi |    6 +++---
arch/powerpc/sysdev/fsl_pci.c               |   15 ++++++++++-----
4 files changed, 18 insertions(+), 13 deletions(-)
applied to next

- k=
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help