of/irq: Convert of_msi_map_id() callers to of_msi_xlate()
[ Upstream commit a576a849 ] With the introduction of the of_msi_xlate() function, the OF layer provides an API to map a device ID and retrieve the MSI controller node the ID is mapped to with a single call. of_msi_map_id() is currently used to map a deviceID to a specific MSI controller node; of_msi_xlate() can be used for that purpose too, there is no need to keep the two functions. Convert of_msi_map_id() to of_msi_xlate() calls and update the of_msi_xlate() documentation to describe how the struct device_node pointer passed in should be set-up to either provide the MSI controller node target or receive its pointer upon mapping completion. Signed-off-by:Lorenzo Pieralisi <lpieralisi@kernel.org> Cc: Thomas Gleixner <tglx@linutronix.de> Cc: Rob Herring <robh@kernel.org> Cc: Marc Zyngier <maz@kernel.org> Acked-by:
Thomas Gleixner <tglx@linutronix.de> Reviewed-by:
Frank Li <Frank.Li@nxp.com> Link: https://lore.kernel.org/r/20250805133443.936955-1-lpieralisi@kernel.org Signed-off-by:
Rob Herring (Arm) <robh@kernel.org> Stable-dep-of: 119aaeed ("of/irq: Add msi-parent check to of_msi_xlate()") Signed-off-by:
Sasha Levin <sashal@kernel.org>
Loading
Please sign in to comment