zephyr/dts
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
..
arc arc: hsdk: Set SRAM_BASE_ADDRESS in defconfig 2019-12-09 16:37:12 -05:00
arm interrupt_controller: gic: Support PPIs 2019-12-10 06:59:55 +01:00
bindings interrupt_controller: gic: Support PPIs 2019-12-10 06:59:55 +01:00
common dtc: Remove support for common.dts 2019-10-24 11:01:08 -05:00
nios2 dts: nios2: Remove device_type = "memory" from SRAM nodes 2019-08-06 08:59:22 -04:00
posix dts: posix: Add DTS support for POSIX architecture 2019-05-28 21:14:19 -04:00
riscv dts: riscv: add Generic FSK node 2019-11-08 15:38:57 +01:00
x86 drivers/timer/hpet.c: migrate to devicetree 2019-09-17 22:37:09 +08:00
xtensa esp32: pinmux: Add Device tree support 2019-11-04 19:45:50 +01:00
binding-template.yaml binding-template.yaml: Improve 'include:' docs and mention base.yaml 2019-11-05 17:47:47 +01:00
Kconfig dts/Kconfig: Remove symbol HAS_DTC_USB 2019-09-12 08:16:42 -05:00