PCI: generic: Add generic PCI host controller driver
authorWill Deacon <will.deacon@arm.com>
Fri, 22 Nov 2013 16:14:41 +0000 (16:14 +0000)
committerBjorn Helgaas <bhelgaas@google.com>
Fri, 30 May 2014 17:34:49 +0000 (11:34 -0600)
commitce292991d88b77160f348fb8a3a2cf6e78f4b456
treeb6ab6cb10e05db9dc03de18a595974d3361d30ac
parentc9eaa447e77efe77b7fa4c953bd62de8297fd6c5
PCI: generic: Add generic PCI host controller driver

Add support for a generic PCI host controller, such as a
firmware-initialised device with static windows or an emulation by
something such as kvmtool.

The controller itself has no configuration registers and has its address
spaces described entirely by the device-tree (using the bindings from
ePAPR).  Both CAM and ECAM are supported for Config Space accesses.

Add corresponding documentation for the DT binding.

[bhelgaas: currently uses the ARM-specific pci_common_init_dev() interface]
Signed-off-by: Will Deacon <will.deacon@arm.com>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Reviewed-by: Liviu Dudau <liviu.dudau@arm.com>
Documentation/devicetree/bindings/pci/host-generic-pci.txt [new file with mode: 0644]
drivers/pci/host/Kconfig
drivers/pci/host/Makefile
drivers/pci/host/pci-host-generic.c [new file with mode: 0644]