blob: be836a1ad9fddf6cfa4b27f3fff9e1e3fc0c7b3f [file] [log] [blame]
Ulf Magnussonbd6e0442019-11-01 13:45:29 +01001# interrupt controller configuration options
Dirk Brandewie526e1322015-06-15 06:20:24 -07002
Dirk Brandewie526e1322015-06-15 06:20:24 -07003# Copyright (c) 2015 Intel Corporation
David B. Kinderac74d8b2017-01-18 17:01:01 -08004# SPDX-License-Identifier: Apache-2.0
Dirk Brandewie526e1322015-06-15 06:20:24 -07005
Dirk Brandewie526e1322015-06-15 06:20:24 -07006menu "Interrupt Controllers"
7
Anas Nashif08f8b652015-06-20 09:26:06 -04008config ARCV2_INTERRUPT_UNIT
9 bool "ARCv2 Interrupt Unit"
10 default y
11 depends on ARC
12 help
Anas Nashif429c2a42017-12-13 10:08:21 -050013 The ARCv2 interrupt unit has 16 allocated exceptions associated with
14 vectors 0 to 15 and 240 interrupts associated with vectors 16 to 255.
15 The interrupt unit is optional in the ARCv2-based processors. When
16 building a processor, you can configure the processor to include an
17 interrupt unit. The ARCv2 interrupt unit is highly programmable.
Maciek Borzecki33907672016-03-14 16:29:46 +010018
Karol Gugala23a5b5d2018-06-10 19:02:14 +020019config PLIC
20 bool "Platform Level Interrupt Controller (PLIC)"
Jean-Paul Etienned7b713e2017-03-14 22:16:30 +010021 default y
Henrik Brix Andersena2791cc2021-08-22 14:32:27 +020022 depends on RISCV_HAS_PLIC
Kumar Gala95f78bc2019-08-08 23:01:37 -050023 select MULTI_LEVEL_INTERRUPTS
24 select 2ND_LEVEL_INTERRUPTS
Jean-Paul Etienned7b713e2017-03-14 22:16:30 +010025 help
Karol Gugala23a5b5d2018-06-10 19:02:14 +020026 Platform Level Interrupt Controller provides support
27 for external interrupt lines defined by the RISC-V SoC;
Jean-Paul Etienned7b713e2017-03-14 22:16:30 +010028
Olof Kindgren754d5682019-10-10 13:51:18 +020029config SWERV_PIC
30 bool "SweRV EH1 Programmable Interrupt Controller (PIC)"
Olof Kindgren754d5682019-10-10 13:51:18 +020031 help
32 Programmable Interrupt Controller for the SweRV EH1 RISC-V CPU;
33
Filip Kokosinskib0545172019-03-28 14:44:12 +010034config VEXRISCV_LITEX_IRQ
35 bool "VexRiscv LiteX Interrupt controller"
36 depends on SOC_RISCV32_LITEX_VEXRISCV
37 help
38 IRQ implementation for LiteX VexRiscv
39
Martin Ã…berg1a3784d2020-10-16 20:57:21 +020040config LEON_IRQMP
41 bool "GRLIB IRQMP interrupt controller"
42 default y
43 depends on SOC_SPARC_LEON
44 help
45 GRLIB IRQMP and IRQAMP
46
Maureen Helm41634c82022-03-11 16:25:41 -060047config INTC_INIT_PRIORITY
48 int "Interrupt controller init priority"
49 default KERNEL_INIT_PRIORITY_DEFAULT
50 help
51 Interrupt controller device initialization priority.
52
Ruibin Chang4b75cf82021-09-07 13:45:39 +080053module = INTC
54module-str = intc
55source "subsys/logging/Kconfig.template.log_config"
56
Rajavardhan Gundi1e6adba2017-12-24 15:18:57 +053057source "drivers/interrupt_controller/Kconfig.multilevel"
58
Tomasz Bursztykaff062512019-12-18 09:42:14 +010059source "drivers/interrupt_controller/Kconfig.loapic"
60
61source "drivers/interrupt_controller/Kconfig.dw"
62
Cheryl Su362eb1c2020-09-09 11:36:28 +080063source "drivers/interrupt_controller/Kconfig.it8xxx2"
64
Tomasz Bursztykaff062512019-12-18 09:42:14 +010065source "drivers/interrupt_controller/Kconfig.stm32"
66
Tomasz Bursztyka4ada2f62019-12-18 09:48:56 +010067source "drivers/interrupt_controller/Kconfig.cavs"
Rajavardhan Gundi74016bb2017-10-11 22:36:20 +053068
Marti Bolivar58d8afb2018-11-25 02:41:38 -070069source "drivers/interrupt_controller/Kconfig.rv32m1"
70
Derek Hageman44620692019-03-01 19:29:07 -070071source "drivers/interrupt_controller/Kconfig.sam0"
72
Stephanos Ioannidis11d0f0a2019-12-19 12:41:44 +090073source "drivers/interrupt_controller/Kconfig.gic"
74
Mulin Chao84d90e42020-08-13 18:15:25 +080075source "drivers/interrupt_controller/Kconfig.npcx"
76
Tomasz Bursztyka557b1702020-10-13 15:22:27 +020077source "drivers/interrupt_controller/Kconfig.intel_vtd"
78
Glauber Maroto Ferreira9ae5fd12021-04-12 16:13:54 -030079source "drivers/interrupt_controller/Kconfig.esp32"
80
Felipe Nevesb97c2da2021-08-30 10:04:34 -030081source "drivers/interrupt_controller/Kconfig.esp32c3"
82
Scott Worley6b3749d2021-07-21 14:12:52 -040083source "drivers/interrupt_controller/Kconfig.xec"
84
TOKITA Hiroshi5c7a0ef2021-11-15 08:34:11 +090085source "drivers/interrupt_controller/Kconfig.eclic"
86
Gerard Marull-Paretas996a7082021-12-07 18:59:00 +010087source "drivers/interrupt_controller/Kconfig.gd32_exti"
88
Dirk Brandewie526e1322015-06-15 06:20:24 -070089endmenu