PCI: pci-host-generic: add MSI support

Add the required code to probe for a "msi-parent" node in
the FDT, and assign the corresponding msi_chip to the PCI
bus. This relies on the msi_chip having been registered
as a "msi-controller".

Signed-off-by: Marc Zyngier <marc.zyngier@arm.com>
[will: moved phandle parsing to avoid having to put the ref on error]
Signed-off-by: Will Deacon <will.deacon@arm.com>
2 files changed