]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
of: Add convenience wrappers for of_map_id()
authorRobin Murphy <robin.murphy@arm.com>
Wed, 3 Jun 2026 07:13:12 +0000 (12:43 +0530)
committerRob Herring (Arm) <robh@kernel.org>
Fri, 12 Jun 2026 15:25:39 +0000 (10:25 -0500)
commitd4b52f83f198310c871aa71816a26152eb3898c2
tree5d717759007adc91737499ee2eb1fca5b3363e5c
parent50a488de5fccfc58eedc6d0525f92dc64a41f806
of: Add convenience wrappers for of_map_id()

Since we now have quite a few users parsing "iommu-map" and "msi-map"
properties, give them some wrappers to conveniently encapsulate the
appropriate sets of property names. This will also make it easier to
then change of_map_id() to correctly account for specifier cells.

Reviewed-by: Rob Herring (Arm) <robh@kernel.org>
Reviewed-by: Frank Li <Frank.Li@nxp.com>
Acked-by: Marc Zyngier <maz@kernel.org>
Acked-by: Bjorn Helgaas <bhelgaas@google.com>
Signed-off-by: Robin Murphy <robin.murphy@arm.com>
Signed-off-by: Vijayanand Jitta <vijayanand.jitta@oss.qualcomm.com>
Link: https://patch.msgid.link/20260603-parse_iommu_cells-v16-1-dc509dacb19a@oss.qualcomm.com
Signed-off-by: Rob Herring (Arm) <robh@kernel.org>
drivers/cdx/cdx_msi.c
drivers/iommu/of_iommu.c
drivers/irqchip/irq-gic-its-msi-parent.c
drivers/of/base.c
drivers/of/irq.c
drivers/pci/controller/dwc/pci-imx6.c
drivers/pci/controller/pcie-apple.c
drivers/xen/grant-dma-ops.c
include/linux/of.h