diff options
author | Bjorn Helgaas <bhelgaas@google.com> | 2018-04-04 13:27:43 -0500 |
---|---|---|
committer | Bjorn Helgaas <helgaas@kernel.org> | 2018-04-04 13:27:43 -0500 |
commit | 3da1b6174ba3f573ee795cc25c4b8633749bd036 (patch) | |
tree | 8c8e9e995b1a0a5bf69e666a208f7095eec61eb0 /include/linux/pci.h | |
parent | a5c6ad7840e1a37c2111612d96d99a5edb6e5502 (diff) | |
parent | 6183d9b3ce7979eda940e594a5c342171a5da998 (diff) | |
download | blackbird-obmc-linux-3da1b6174ba3f573ee795cc25c4b8633749bd036.tar.gz blackbird-obmc-linux-3da1b6174ba3f573ee795cc25c4b8633749bd036.zip |
Merge branch 'pci/lpc'
- add support for PCI I/O port space that's neither directly accessible
via CPU in/out instructions nor directly mapped into CPU physical
memory space (Zhichang Yuan)
- add support for HiSilicon Hip06/Hip07 LPC I/O space (Zhichang Yuan,
John Garry)
* pci/lpc:
MAINTAINERS: Add John Garry as maintainer for HiSilicon LPC driver
HISI LPC: Add ACPI support
ACPI / scan: Do not enumerate Indirect IO host children
ACPI / scan: Rename acpi_is_serial_bus_slave() for more general use
HISI LPC: Support the LPC host on Hip06/Hip07 with DT bindings
of: Add missing I/O range exception for indirect-IO devices
PCI: Apply the new generic I/O management on PCI IO hosts
PCI: Add fwnode handler as input param of pci_register_io_range()
PCI: Remove __weak tag from pci_register_io_range()
lib: Add generic PIO mapping method
Diffstat (limited to 'include/linux/pci.h')
-rw-r--r-- | include/linux/pci.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/include/linux/pci.h b/include/linux/pci.h index 926a8cb5d6d4..df9fc9d4de81 100644 --- a/include/linux/pci.h +++ b/include/linux/pci.h @@ -1226,7 +1226,8 @@ int __must_check pci_bus_alloc_resource(struct pci_bus *bus, void *alignf_data); -int pci_register_io_range(phys_addr_t addr, resource_size_t size); +int pci_register_io_range(struct fwnode_handle *fwnode, phys_addr_t addr, + resource_size_t size); unsigned long pci_address_to_pio(phys_addr_t addr); phys_addr_t pci_pio_to_address(unsigned long pio); int pci_remap_iospace(const struct resource *res, phys_addr_t phys_addr); |