PCI: hisi: Add DT almost-ECAM support for Hip06/Hip07 host controllers
authorDongdong Liu <liudongdong3@huawei.com>
Mon, 6 Feb 2017 06:25:04 +0000 (14:25 +0800)
committerBjorn Helgaas <bhelgaas@google.com>
Mon, 6 Feb 2017 22:28:29 +0000 (16:28 -0600)
commita2ec1996098c7da0593a0981190316025301eab1
tree879231fbb9257dc3da03261fd997edbf51cc0932
parent792e0a6814b63b120c6cfddf79a309046c6e840a
PCI: hisi: Add DT almost-ECAM support for Hip06/Hip07 host controllers

The PCIe controller in HiSilicon Hip06/Hip07 SoCs is not completely
ECAM-compliant.  It is non-ECAM only for the RC bus config space; for any
other bus underneath the root bus it does support ECAM access.

Add DT support for the almost-ECAM Hip06/Hip07 controllers.

[bhelgaas: drop dev->of_node test, driver name "hisi-pcie-almost-ecam"]
Signed-off-by: Dongdong Liu <liudongdong3@huawei.com>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Reviewed-by: Gabriele Paoloni <gabriele.paoloni@huawei.com>
Reviewed-by: Zhou Wang <wangzhou1@hisilicon.com>
Documentation/devicetree/bindings/pci/hisilicon-pcie.txt
drivers/pci/host/pcie-hisi.c