PCI: rcar: Allow DT to override default window settings
authorPhil Edworthy <phil.edworthy@renesas.com>
Tue, 3 Nov 2015 16:19:26 +0000 (16:19 +0000)
committerBjorn Helgaas <bhelgaas@google.com>
Wed, 25 Nov 2015 17:53:31 +0000 (11:53 -0600)
commit8d598cabf50d837e69ebd6fc86aec5550df2b3a2
tree3d97cca9da99eed090fd75ae89560c65135cdb80
parent1ec218373b8ebda821aec00bb156a9c94fad9cd4
PCI: rcar: Allow DT to override default window settings

If the DTB specifies dma-ranges, use those values.  Otherwise, default to
the values that were previously hardcoded into the driver.

Signed-off-by: Phil Edworthy <phil.edworthy@renesas.com>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Acked-by: Rob Herring <robh@kernel.org>
Acked-by: Simon Horman <horms+renesas@verge.net.au>
Documentation/devicetree/bindings/pci/pci-rcar-gen2.txt
drivers/pci/host/pci-rcar-gen2.c