OSDN Git Service

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)
commit0ab8d0f6ae3f1234e38eaedc3ff7c22bfdf7f78c
tree3a1edc1ded04fe236b54c5cdd8522ac0d2d7db8f
parente4e737bb5c170df6135a127739a9e6148ee3da82
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