]> Pileus Git - ~andy/linux/commit
PCI: mvebu: Adapt to the new device tree layout
authorThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Fri, 26 Jul 2013 13:18:07 +0000 (10:18 -0300)
committerJason Cooper <jason@lakedaemon.net>
Tue, 6 Aug 2013 14:12:45 +0000 (14:12 +0000)
commit84384a450461ddc179073778fad93fbe206c3d64
tree1892dd6443fd10e6666d76d68c13e605b0dd2a6e
parent0b1252784b3c55ed18ce0254feaf8003fad462e2
PCI: mvebu: Adapt to the new device tree layout

The new device tree layout encodes the window's target ID and attribute
in the PCIe controller node's ranges property. This allows to parse
such entries to obtain such information and use the recently introduced
MBus API to create the windows, instead of using the current name based
scheme.

Cc: devicetree@vger.kernel.org
Acked-by: Bjorn Helgaas <bhelgaas@google.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Tested-by: Andrew Lunn <andrew@lunn.ch>
Tested-by: Sebastian Hesselbarth <sebastian.hesselbarth@gmail.com>
Signed-off-by: Jason Cooper <jason@lakedaemon.net>
Documentation/devicetree/bindings/pci/mvebu-pci.txt