]> git.baikalelectronics.ru Git - kernel.git/commit
irqdomain: Make of_phandle_args_to_fwspec() generally available
authorMarc Zyngier <maz@kernel.org>
Wed, 29 Sep 2021 16:38:34 +0000 (17:38 +0100)
committerBjorn Helgaas <bhelgaas@google.com>
Thu, 4 Nov 2021 19:14:24 +0000 (14:14 -0500)
commit2d3dc52bd05ce3c011f02a5fb2ae57478d1233fc
tree3a1edc1ded04fe236b54c5cdd8522ac0d2d7db8f
parentfa5d4460cfe6a4ab811a36d49fe44ccb61944b70
irqdomain: Make of_phandle_args_to_fwspec() generally available

of_phandle_args_to_fwspec() can be generally useful to code extracting a DT
of_phandle and using an irq_fwspec to use the hierarchical irqdomain API.

Make it visible to the rest of the kernel, including modules.

Link: https://lore.kernel.org/r/20210929163847.2807812-2-maz@kernel.org
Tested-by: Alyssa Rosenzweig <alyssa@rosenzweig.io>
Signed-off-by: Marc Zyngier <maz@kernel.org>
Signed-off-by: Lorenzo Pieralisi <lorenzo.pieralisi@arm.com>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
include/linux/irqdomain.h
kernel/irq/irqdomain.c