zephyr/drivers/interrupt_controller
Carlo Caione 7baf3f74a9 interrupt_controller: gic: Support PPIs
The GIC-400 driver currently only supports SPIs because the (32) offset
for the INTIDs is hard-coded in the driver. At the driver level there is
no really difference between PPIs and SPIs so we can easily extend the
driver to support PPIs as well.

This is useful if we want to add support for the ARM Generic Timers that
use INTIDs in the PPI range.

SPI interrupts are in the range [0-987]. PPI interrupts are in the range
[0-15].

This commit adds interrupt 'type' cell to the GIC device tree binding
and changes the 'irq' cell to use interrupt type-specific index, rather
than a linear IRQ number.

The 'type'+'irq (index)' combo is automatically fixed up into a linear
IRQ number by the scripts/dts/gen_defines.py script.

Signed-off-by: Stephanos Ioannidis <root@stephanos.io>
Signed-off-by: Carlo Caione <ccaione@baylibre.com>
2019-12-10 06:59:55 +01:00
..
arcv2_irq_unit.c arch: arc: add initial support of ARC TEE 2019-08-10 17:45:22 +02:00
cavs_ictl.c drivers/interrupt_controller: cavs_ictl: add get_line_state() 2019-09-07 10:20:51 -04:00
cavs_ictl.h headers: Fix headers across the project 2018-09-17 15:49:26 -04:00
CMakeLists.txt drivers: interrupt_controller: Add SweRV PIC support 2019-12-09 12:46:56 -05:00
dw_ictl.c drivers/interrupt_controller: dw_ictl: add get_line_state() 2019-09-07 10:20:51 -04:00
dw_ictl.h headers: Fix headers across the project 2018-09-17 15:49:26 -04:00
exti_stm32.c drivers: interrupt_controller: Add STM32G4X exti support 2019-10-04 18:44:24 -07:00
exti_stm32.h drivers/interrupt_controller: stm32: Complete driver factorization 2019-01-24 09:38:38 -06:00
gic-400.c interrupt_controller: gic: Support PPIs 2019-12-10 06:59:55 +01:00
ioapic_intr.c Revert "interrupt_controller: ioapic_intr: revert CPU target change" 2019-12-03 20:34:47 -06:00
ioapic_priv.h headers: Fix headers across the project 2018-09-17 15:49:26 -04:00
Kconfig drivers: interrupt_controller: Add SweRV PIC support 2019-12-09 12:46:56 -05:00
Kconfig.multilevel kconfig: Clean up header comments and make them consistent 2019-11-04 17:31:27 -05:00
Kconfig.multilevel.aggregator_template license: cleanup: add SPDX Apache-2.0 license identifier 2019-04-07 08:45:22 -04:00
Kconfig.rv32m1 boards: riscv: rv32m1: enable BT related configuration 2019-11-08 15:38:57 +01:00
Kconfig.s1000 kconfig: Clean up header comments and make them consistent 2019-11-04 17:31:27 -05:00
Kconfig.sam0 kconfig: Clean up header comments and make them consistent 2019-11-04 17:31:27 -05:00
Kconfig.shared_irq kconfig: Clean up header comments and make them consistent 2019-11-04 17:31:27 -05:00
Kconfig.stm32 kconfig: Clean up header comments and make them consistent 2019-11-04 17:31:27 -05:00
loapic_intr.c arch/x86: drivers/loapic_intr.c: move local APIC initialization 2019-10-07 19:46:55 -04:00
loapic_spurious.S arch/x86: move include/arch/x86/asm.h to include/arch/x86/ia32/asm.h 2019-07-02 19:30:00 -04:00
plic.c kernel: rename z_arch_ to arch_ 2019-11-07 15:21:46 -08:00
rv32m1_intmux.c drivers/interrupt_controller: rv32m1_intmux: add get_line_state 2019-09-07 10:20:51 -04:00
sam0_eic.c interrupt_controller: sam0: Add support for SAME54 2019-11-06 17:49:28 -08:00
sam0_eic.h drivers: gpio: sam0: Add interrupt support 2019-05-07 08:43:56 -04:00
sam0_eic_priv.h drivers: gpio: sam0: Add interrupt support 2019-05-07 08:43:56 -04:00
shared_irq.c interrupt_controller: shared_irq: DT_<COMPAT> is deprecated 2019-12-09 09:49:12 -06:00
swerv_pic.c drivers: interrupt_controller: Add SweRV PIC support 2019-12-09 12:46:56 -05:00
system_apic.c kernel: rename z_arch_ to arch_ 2019-11-07 15:21:46 -08:00
vexriscv_litex.c kernel: rename z_arch_ to arch_ 2019-11-07 15:21:46 -08:00