PCI: keystone: Use Keystone specific msi_irq_chip
authorKishon Vijay Abraham I <kishon@ti.com>
Thu, 21 Mar 2019 09:59:25 +0000 (15:29 +0530)
committerLorenzo Pieralisi <lorenzo.pieralisi@arm.com>
Thu, 4 Apr 2019 16:16:23 +0000 (17:16 +0100)
commit117c3b60bd5372ec23f8c1a9652ad78dc2b9982a
treeeeb12a7b595ee384c5b2ce1e914d4998f7f6d137
parent9f67437b3a085865fbf5c2d0cbf60fb1b465411c
PCI: keystone: Use Keystone specific msi_irq_chip

Use Keystone specific msi_irq_chip to configure the MSI controller
logic in the PCIe keystone wrapper instead of using the default
Designware msi_irq chip (dw_pci_msi_bottom_irq_chip) with
callback functions for configuring the Keystone MSI controller.
This will help to remove Keystone specific callback functions
added in dw_pcie_host_ops.

Move the default msi_irq_chip assignment to dw_pcie_host_init since
platforms that doesn't use the default msi_irq_chip will assign
msi_irq_chip in the msi_host_init() callback.

Signed-off-by: Kishon Vijay Abraham I <kishon@ti.com>
Signed-off-by: Lorenzo Pieralisi <lorenzo.pieralisi@arm.com>
drivers/pci/controller/dwc/pci-keystone.c
drivers/pci/controller/dwc/pcie-designware-host.c