Thread (22 messages) 22 messages, 2 authors, 2016-01-07

[PATCH] doc: PCI: altera: Fix the 'ranges' property in example

STALE3922d

From: marex@denx.de (Marek Vasut)
Date: 2015-12-24 09:45:30
Subsystem: open firmware and flattened device tree bindings, pci native host bridge and endpoint drivers, pci subsystem, the rest · Maintainers: Rob Herring, Krzysztof Kozlowski, Conor Dooley, Lorenzo Pieralisi, Krzysztof Wilczyński, Manivannan Sadhasivam, Bjorn Helgaas, Linus Torvalds

The example does not work on real hardware with the PCIe HIP [1].
The problem is with incorrect "ranges" property in the example, so
one cannot just copy-paste the example into his DT and expect this
to work. This patches aligns the "ranges" in the example with the
reference FPGA design.

[1] http://rocketboards.org/foswiki/view/Projects/PCIeRootPortWithMSI

Signed-off-by: Marek Vasut <marex@denx.de>
Cc: Bjorn Helgaas <bhelgaas@google.com>
Cc: Ley Foon Tan <redacted>
Cc: Marc Zyngier <redacted>
Cc: Rob Herring <robh@kernel.org>
---
 Documentation/devicetree/bindings/pci/altera-pcie.txt | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/Documentation/devicetree/bindings/pci/altera-pcie.txt b/Documentation/devicetree/bindings/pci/altera-pcie.txt
index 2951a6a..d2427c1 100644
--- a/Documentation/devicetree/bindings/pci/altera-pcie.txt
+++ b/Documentation/devicetree/bindings/pci/altera-pcie.txt
@@ -44,6 +44,6 @@ Example
 			            <0 0 0 2 &pcie_0 2>,
 			            <0 0 0 3 &pcie_0 3>,
 			            <0 0 0 4 &pcie_0 4>;
-		ranges = <0x82000000 0x00000000 0x00000000 0xc0000000 0x00000000 0x10000000
-			    0x82000000 0x00000000 0x10000000 0xd0000000 0x00000000 0x10000000>;
+		ranges = <0x82000000 0x00000000 0xc0000000 0xc0000000 0x00000000 0x10000000
+			  0x82000000 0x00000000 0xd0000000 0xd0000000 0x00000000 0x10000000>;
 	};
-- 
2.1.4
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help