diff options
author | Guo Ren <ren_guo@c-sky.com> | 2018-09-16 09:57:14 +0200 |
---|---|---|
committer | Guo Ren <ren_guo@c-sky.com> | 2018-10-25 18:54:30 +0200 |
commit | edff1b4835b71e14538d3a48568fa513ee9f7931 (patch) | |
tree | 5fe48f0dd7a2f8cbc087f98368851c6a09d371d9 /drivers/irqchip/Kconfig | |
parent | dt-bindings: interrupt-controller: C-SKY SMP intc (diff) | |
download | linux-edff1b4835b71e14538d3a48568fa513ee9f7931.tar.xz linux-edff1b4835b71e14538d3a48568fa513ee9f7931.zip |
irqchip: add C-SKY APB bus interrupt controller
The driver is for C-SKY APB bus interrupt controller. It's a simple
interrupt controller which use pending reg to detect the irq and use
enable/disable reg to mask/unmask interrupt sources.
A lot of SOCs based on C-SKY CPU use the interrupt controller as root
controller.
Signed-off-by: Guo Ren <ren_guo@c-sky.com>
Reviewed-by: Mark Rutland <mark.rutland@arm.com>
Diffstat (limited to 'drivers/irqchip/Kconfig')
-rw-r--r-- | drivers/irqchip/Kconfig | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/drivers/irqchip/Kconfig b/drivers/irqchip/Kconfig index 8103f6f99dff..41cdca02f053 100644 --- a/drivers/irqchip/Kconfig +++ b/drivers/irqchip/Kconfig @@ -380,6 +380,14 @@ config CSKY_MPINTC In fact it's not mmio map in hw and it use ld/st to visit the controller's register inside CPU. +config CSKY_APB_INTC + bool "C-SKY APB Interrupt Controller" + depends on CSKY + help + Say yes here to enable C-SKY APB interrupt controller driver used + by C-SKY single core SOC system. It use mmio map apb-bus to visit + the controller's register. + endmenu config SIFIVE_PLIC |