Re: [PATCH v4 08/10] irqchip: Add Sunplus SP7021 interrupt controller driver

From: Randy Dunlap
Date: Thu Nov 04 2021 - 01:20:06 EST


On 11/3/21 7:57 PM, Qin Jian wrote:
diff --git a/drivers/irqchip/Kconfig b/drivers/irqchip/Kconfig
index aca7b595c..6f0bc0871 100644
--- a/drivers/irqchip/Kconfig
+++ b/drivers/irqchip/Kconfig
@@ -602,4 +602,13 @@ config APPLE_AIC
Support for the Apple Interrupt Controller found on Apple Silicon SoCs,
such as the M1.
+config SUNPLUS_SP7021_INTC
+ bool "Sunplus SP7021 interrupt controller"
+ help
+ Support for the Sunplus SP7021 Interrupt Controller IP core.
+ SP7021 SoC has 2 Chips: C-Chip & P-Chip. This is used as a
+ chained controller, routed all interrupt source in P-Chip to

routing all interrupt sources

+ the primary controller on C-Chip.
+ This is selected automatically by platform config.


--
~Randy