diff options
author | Samuel Holland <samuel@sholland.org> | 2022-05-08 22:49:41 -0500 |
---|---|---|
committer | Marc Zyngier <maz@kernel.org> | 2022-05-17 10:13:57 +0100 |
commit | d421fd6d1fbf00b6481d836e65bad07d6bad61ed (patch) | |
tree | 317f001f57a061ddab6ebb5442b837e5e1cd9933 /drivers/irqchip/Kconfig | |
parent | a3d66a76348daf559873f19afc912a2a7c2ccdaf (diff) | |
download | lwn-d421fd6d1fbf00b6481d836e65bad07d6bad61ed.tar.gz lwn-d421fd6d1fbf00b6481d836e65bad07d6bad61ed.zip |
irqchip: Add Kconfig symbols for sunxi drivers
Not all of these drivers are needed on every ARCH_SUNXI platform. In
particular, the ARCH_SUNXI symbol will be reused for the Allwinner D1,
a RISC-V SoC which contains none of these irqchips.
Introduce Kconfig symbols so we can select only the drivers actually
used by a particular set of platforms. This also lets us move the
irqchip driver dependencies to a more appropriate location.
Signed-off-by: Samuel Holland <samuel@sholland.org>
Signed-off-by: Marc Zyngier <maz@kernel.org>
Link: https://lore.kernel.org/r/20220509034941.30704-1-samuel@sholland.org
Diffstat (limited to 'drivers/irqchip/Kconfig')
-rw-r--r-- | drivers/irqchip/Kconfig | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/drivers/irqchip/Kconfig b/drivers/irqchip/Kconfig index 15edb9a6fcae..135c156673a7 100644 --- a/drivers/irqchip/Kconfig +++ b/drivers/irqchip/Kconfig @@ -257,6 +257,18 @@ config ST_IRQCHIP help Enables SysCfg Controlled IRQs on STi based platforms. +config SUN4I_INTC + bool + +config SUN6I_R_INTC + bool + select IRQ_DOMAIN_HIERARCHY + select IRQ_FASTEOI_HIERARCHY_HANDLERS + +config SUNXI_NMI_INTC + bool + select GENERIC_IRQ_CHIP + config TB10X_IRQC bool select IRQ_DOMAIN |