[PATCH v7 24/31] of/irq: Add of_msi_xlate() helper function
Rob Herring
robh at kernel.org
Thu Jul 3 07:52:59 PDT 2025
On Thu, Jul 3, 2025 at 5:27 AM Lorenzo Pieralisi <lpieralisi at kernel.org> wrote:
>
> Add an of_msi_xlate() helper that maps a device ID and returns
> the device node of the MSI controller the device ID is mapped to.
>
> Required by core functions that need an MSI controller device node
> pointer at the same time as a mapped device ID, of_msi_map_id() is not
> sufficient for that purpose.
>
> Signed-off-by: Lorenzo Pieralisi <lpieralisi at kernel.org>
> Reviewed-by: Marc Zyngier <maz at kernel.org>
> Cc: Rob Herring <robh at kernel.org>
> Cc: Marc Zyngier <maz at kernel.org>
> ---
> drivers/of/irq.c | 22 +++++++++++++++++-----
> include/linux/of_irq.h | 5 +++++
> 2 files changed, 22 insertions(+), 5 deletions(-)
Reviewed-by: Rob Herring (Arm) <robh at kernel.org>
More information about the linux-arm-kernel
mailing list