config IRQCHIP
	def_bool y
	depends on OF_IRQ

config ARM_GIC
	bool
	select IRQ_DOMAIN
	select MULTI_IRQ_HANDLER

config GIC_NON_BANKED
	bool

config ARM_VIC
	bool
	select IRQ_DOMAIN
	select MULTI_IRQ_HANDLER

config ARM_VIC_NR
	int
	default 4 if ARCH_S5PV210
	default 3 if ARCH_S5PC100
	default 2
	depends on ARM_VIC
	help
	  The maximum number of VICs available in the system, for
	  power management.

config RENESAS_INTC_IRQPIN
	bool
	select IRQ_DOMAIN

config RENESAS_IRQC
	bool
	select IRQ_DOMAIN

config VERSATILE_FPGA_IRQ
	bool
	select IRQ_DOMAIN

config VERSATILE_FPGA_IRQ_NR
       int
       default 4
       depends on VERSATILE_FPGA_IRQ

config MTK_GIC
       def_bool y if ARM64 && MEDIATEK_SOLUTION
       select IRQ_DOMAIN
       select MULTI_IRQ_HANDLER

config MTK_IRQ
       def_bool y if !MTK_GIC

config MTK_EIC
       bool
       select IRQ_DOMAIN

config MTK_EIC_HISTORY_DUMP
       bool "Enable MTK EIC HISTORY Debugger"
       def_bool n
       depends on MTK_EIC
       help
         This option is used to collect last eint interupts and its property before WDT TIMEOUT.
         with thie option, we could know which eint interrupt is triggered too often to cause system
         watchdog timeout.

config MTK_IRQ_NEW_DESIGN
	bool
	select MTK_GIC

config MTK_IRQ_NEW_DESIGN_DEBUG
	bool
	select MTK_GIC
	select MTK_IRQ_NEW_DESIGN

