diff options
author | Murali Karicheri <m-karicheri2@ti.com> | 2015-03-03 12:52:12 -0500 |
---|---|---|
committer | Bjorn Helgaas <bhelgaas@google.com> | 2015-03-03 14:42:57 -0600 |
commit | c49b8fc26e115a37eca6f7bcef1847eb80f2a4fd (patch) | |
tree | 95916406a9b7ac4bc063310e57df30bb6acbfdde /drivers/pci/probe.c | |
parent | 6675a601d72be408025e675599702e30a99188aa (diff) | |
download | blackbird-obmc-linux-c49b8fc26e115a37eca6f7bcef1847eb80f2a4fd.tar.gz blackbird-obmc-linux-c49b8fc26e115a37eca6f7bcef1847eb80f2a4fd.zip |
of/pci: Add of_pci_dma_configure() to update DMA configuration
Add of_pci_dma_configure() to allow updating the DMA configuration of the
PCI device using the configuration from DT of the parent of the root bridge
device. Use the newly added APIs pci_get/put_host_bridge_device() for
implementing this.
[bhelgaas: fold in fix for host bridges with no parent OF device]
Tested-by: Suravee Suthikulpanit <Suravee.Suthikulpanit@amd.com> (AMD Seattle)
Signed-off-by: Murali Karicheri <m-karicheri2@ti.com>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Reviewed-by: Catalin Marinas <catalin.marinas@arm.com>
Acked-by: Rob Herring <robh+dt@kernel.org>
Acked-by: Will Deacon <will.deacon@arm.com>
CC: Joerg Roedel <joro@8bytes.org>
CC: Grant Likely <grant.likely@linaro.org>
CC: Russell King <linux@arm.linux.org.uk>
CC: Arnd Bergmann <arnd@arndb.de>
Diffstat (limited to 'drivers/pci/probe.c')
0 files changed, 0 insertions, 0 deletions