diff options
author | Murali Karicheri <m-karicheri2@ti.com> | 2015-03-03 20:52:12 +0300 |
---|---|---|
committer | Bjorn Helgaas <bhelgaas@google.com> | 2015-03-03 23:42:57 +0300 |
commit | c49b8fc26e115a37eca6f7bcef1847eb80f2a4fd (patch) | |
tree | 95916406a9b7ac4bc063310e57df30bb6acbfdde /drivers/pci/probe.c | |
parent | 6675a601d72be408025e675599702e30a99188aa (diff) | |
download | linux-c49b8fc26e115a37eca6f7bcef1847eb80f2a4fd.tar.xz |
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