Hi Marc,
I want to break the dependency between ARCH_MEDIATEK and CIRQ/SYSIRQ,
because we need to follow the GKI.
Could I add the MTK_CIRQ and MTK_SYSIRQ into defconfig?
(arch/arm64/config/defconfig)
It would ensures all platform are executable.
e.g.
--- a/arch/arm64/configs/defconfig
+++ b/arch/arm64/configs/defconfig
CONFIG_QCOM_PDC=y
+CONFIG_MTK_SYSIRQ=m
+CONFIG_MTK_CIRQ=y
CONFIG_RESET_QCOM_AOSS=y
--- a/drivers/irqchip/Kconfig
+++ b/drivers/irqchip/Kconfig
@@ -572,4 +572,18 @@ config LOONGSON_PCH_MSI
help
Support for the Loongson PCH MSI Controller.
+config MTK_SYSIRQ
+ tristate "Mediatek interrupt polarity controller"
+ depends on ARCH_MEDIATEK || COMPILE_TEST
+ help
+ Interrupt polarity controller driver to swap polarity for
+ interrupts for Mediatek mobile chips.
+
+config MTK_CIRQ
+ bool "Mediatek low-power interrupt controller"
+ depends on ARCH_MEDIATEK || COMPILE_TEST
+ help
+ Low-power interrupt controller driver to monitor IRQS
+ in the sleep mode for Mediatek mobile chips.
+
P.S I'll make the irq-mtk-sysirq driver as a loadable kernel module for
GKI