irqchip: Add Kconfig symbols for sunxi drivers
authorSamuel Holland <samuel@sholland.org>
Mon, 9 May 2022 03:49:41 +0000 (22:49 -0500)
committerMarc Zyngier <maz@kernel.org>
Tue, 17 May 2022 09:13:57 +0000 (10:13 +0100)
commitd421fd6d1fbf00b6481d836e65bad07d6bad61ed
tree317f001f57a061ddab6ebb5442b837e5e1cd9933
parenta3d66a76348daf559873f19afc912a2a7c2ccdaf
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
arch/arm/mach-sunxi/Kconfig
arch/arm64/Kconfig.platforms
drivers/irqchip/Kconfig
drivers/irqchip/Makefile