commit | 8db02d8b4089fa8098a170738e8ae7939aa8ae7a | [log] [tgz] |
---|---|---|
author | David Daney <david.daney@cavium.com> | Thu Oct 08 15:10:48 2015 -0700 |
committer | Marc Zyngier <marc.zyngier@arm.com> | Fri Oct 16 11:45:27 2015 +0100 |
tree | ea1896aed96b16e1b5e3f82a015c7067d66cd6ba | |
parent | b531566e4dced7566dfa2e4925ec8b6a8cb7806b [diff] |
of/irq: Add new function of_msi_map_rid() The device tree property "msi-map" specifies how to create the PCI requester id used in some MSI controllers. Add a new function of_msi_map_rid() that finds the msi-map property and applies its translation to a given requester id. Reviewed-by: Marc Zyngier <marc.zyngier@arm.com> Acked-by: Rob Herring <robh@kernel.org> Signed-off-by: David Daney <david.daney@cavium.com> Signed-off-by: Marc Zyngier <marc.zyngier@arm.com>