2019-11-01 20:45:29 +08:00
|
|
|
# interrupt controller configuration options
|
2015-06-15 21:20:24 +08:00
|
|
|
|
|
|
|
# Copyright (c) 2015 Intel Corporation
|
2017-01-19 09:01:01 +08:00
|
|
|
# SPDX-License-Identifier: Apache-2.0
|
2015-06-15 21:20:24 +08:00
|
|
|
|
|
|
|
menu "Interrupt Controllers"
|
|
|
|
|
2015-06-20 21:26:06 +08:00
|
|
|
config ARCV2_INTERRUPT_UNIT
|
|
|
|
bool "ARCv2 Interrupt Unit"
|
|
|
|
default y
|
|
|
|
depends on ARC
|
|
|
|
help
|
2017-12-13 23:08:21 +08:00
|
|
|
The ARCv2 interrupt unit has 16 allocated exceptions associated with
|
|
|
|
vectors 0 to 15 and 240 interrupts associated with vectors 16 to 255.
|
|
|
|
The interrupt unit is optional in the ARCv2-based processors. When
|
|
|
|
building a processor, you can configure the processor to include an
|
|
|
|
interrupt unit. The ARCv2 interrupt unit is highly programmable.
|
2016-03-14 23:29:46 +08:00
|
|
|
|
2019-10-10 19:51:18 +08:00
|
|
|
config SWERV_PIC
|
|
|
|
bool "SweRV EH1 Programmable Interrupt Controller (PIC)"
|
2022-07-22 14:46:51 +08:00
|
|
|
default y
|
|
|
|
depends on DT_HAS_SWERV_PIC_ENABLED
|
2019-10-10 19:51:18 +08:00
|
|
|
help
|
2022-07-07 22:27:17 +08:00
|
|
|
Programmable Interrupt Controller for the SweRV EH1 RISC-V CPU.
|
2019-10-10 19:51:18 +08:00
|
|
|
|
2019-03-28 21:44:12 +08:00
|
|
|
config VEXRISCV_LITEX_IRQ
|
|
|
|
bool "VexRiscv LiteX Interrupt controller"
|
2022-07-22 14:46:51 +08:00
|
|
|
default y
|
|
|
|
depends on DT_HAS_VEXRISCV_INTC0_ENABLED
|
2019-03-28 21:44:12 +08:00
|
|
|
help
|
|
|
|
IRQ implementation for LiteX VexRiscv
|
|
|
|
|
2020-10-17 02:57:21 +08:00
|
|
|
config LEON_IRQMP
|
|
|
|
bool "GRLIB IRQMP interrupt controller"
|
|
|
|
default y
|
2022-07-22 14:46:51 +08:00
|
|
|
depends on DT_HAS_GAISLER_IRQMP_ENABLED
|
2020-10-17 02:57:21 +08:00
|
|
|
help
|
|
|
|
GRLIB IRQMP and IRQAMP
|
|
|
|
|
2022-03-12 06:25:41 +08:00
|
|
|
config INTC_INIT_PRIORITY
|
|
|
|
int "Interrupt controller init priority"
|
|
|
|
default KERNEL_INIT_PRIORITY_DEFAULT
|
|
|
|
help
|
|
|
|
Interrupt controller device initialization priority.
|
|
|
|
|
2021-09-07 13:45:39 +08:00
|
|
|
module = INTC
|
|
|
|
module-str = intc
|
|
|
|
source "subsys/logging/Kconfig.template.log_config"
|
|
|
|
|
2017-12-24 17:48:57 +08:00
|
|
|
source "drivers/interrupt_controller/Kconfig.multilevel"
|
|
|
|
|
2019-12-18 16:42:14 +08:00
|
|
|
source "drivers/interrupt_controller/Kconfig.loapic"
|
|
|
|
|
|
|
|
source "drivers/interrupt_controller/Kconfig.dw"
|
|
|
|
|
2020-09-09 11:36:28 +08:00
|
|
|
source "drivers/interrupt_controller/Kconfig.it8xxx2"
|
|
|
|
|
2019-12-18 16:42:14 +08:00
|
|
|
source "drivers/interrupt_controller/Kconfig.stm32"
|
|
|
|
|
2019-12-18 16:48:56 +08:00
|
|
|
source "drivers/interrupt_controller/Kconfig.cavs"
|
2017-10-12 01:06:20 +08:00
|
|
|
|
2018-11-25 17:41:38 +08:00
|
|
|
source "drivers/interrupt_controller/Kconfig.rv32m1"
|
|
|
|
|
2019-03-02 10:29:07 +08:00
|
|
|
source "drivers/interrupt_controller/Kconfig.sam0"
|
|
|
|
|
2019-12-19 11:41:44 +08:00
|
|
|
source "drivers/interrupt_controller/Kconfig.gic"
|
|
|
|
|
driver: intc: add MIWU driver support in NPCX series.
The device Multi-Input Wake-Up Unit (MIWU) supports the embedded
controller (EC) to exit 'Sleep' or 'Deep Sleep' power state which allows
chip has better power consumption. Also, it provides signal conditioning
such as 'Level' and 'Edge' trigger type and grouping of external
interrupt sources of NVIC. The NPCX series has three identical MIWU
modules: MIWU0, MIWU1, MIWU2. Together, they support a total of over 140
internal and/or external wake-up sources.
In this CL, we use device tree files to present the relationship bewteen
MIWU and the other devices in different npcx series. For npcx7 series,
it include:
1. npcx7-miwus-int-map.dtsi: it presents relationship between MIWU group
and NVIC interrupt in npcx7. Please notice it isn't 1-to-1 mapping.
2. npcx7-miwus-wui-map.dtsi: it presents relationship between input of
MIWU and its source device such as gpio, timer, eSPI VWs and so on.
This CL also includes:
1. Add MIWU device tree declarations.
2. MIWU api function declarations and implementation to configure signal
conditions and callback function mechanism. They can be be classified
into two types. One is for GPIO which connects original gpio callback
implemetation and the other is for generic devices such as timer,
eSPI, and so on.
Signed-off-by: Mulin Chao <MLChao@nuvoton.com>
2020-08-13 18:15:25 +08:00
|
|
|
source "drivers/interrupt_controller/Kconfig.npcx"
|
|
|
|
|
2020-10-13 21:22:27 +08:00
|
|
|
source "drivers/interrupt_controller/Kconfig.intel_vtd"
|
|
|
|
|
2021-04-13 03:13:54 +08:00
|
|
|
source "drivers/interrupt_controller/Kconfig.esp32"
|
|
|
|
|
2021-08-30 21:04:34 +08:00
|
|
|
source "drivers/interrupt_controller/Kconfig.esp32c3"
|
|
|
|
|
2021-07-22 02:12:52 +08:00
|
|
|
source "drivers/interrupt_controller/Kconfig.xec"
|
|
|
|
|
2022-07-07 22:27:17 +08:00
|
|
|
source "drivers/interrupt_controller/Kconfig.clic"
|
2021-11-15 07:34:11 +08:00
|
|
|
|
2021-12-08 01:59:00 +08:00
|
|
|
source "drivers/interrupt_controller/Kconfig.gd32_exti"
|
|
|
|
|
2022-07-07 22:27:17 +08:00
|
|
|
source "drivers/interrupt_controller/Kconfig.plic"
|
|
|
|
|
2022-10-12 15:37:52 +08:00
|
|
|
source "drivers/interrupt_controller/Kconfig.nxp_s32"
|
|
|
|
|
2015-06-15 21:20:24 +08:00
|
|
|
endmenu
|