PCI: mvebu: add support for MSI
authorThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Fri, 9 Aug 2013 20:27:14 +0000 (22:27 +0200)
committerJason Cooper <jason@lakedaemon.net>
Mon, 30 Sep 2013 14:58:17 +0000 (14:58 +0000)
commit5b4deb6526bdea3b10b3717623aae171509e925f
treec05c7388d700732911b671e0e0654cb72f840b69
parent31f614edb726fcc4d5aa0f2895fbdec9b04a3ca4
PCI: mvebu: add support for MSI

This commit adds support for Message Signaled Interrupts in the
Marvell PCIe host controller. The work is very simple: it simply gets
a reference to the msi_chip associated to the PCIe controller thanks
to the msi-parent DT property, and stores this reference in the
pci_bus structure. This is enough to let the Linux PCI core use the
functions of msi_chip to setup and teardown MSIs.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Reviewed-by: Thierry Reding <thierry.reding@gmail.com>
Acked-by: Bjorn Helgaas <bhelgaas@google.com>
Signed-off-by: Jason Cooper <jason@lakedaemon.net>
Documentation/devicetree/bindings/pci/mvebu-pci.txt
drivers/pci/host/pci-mvebu.c