drivers: add shared interrupt driver

This driver allows multiple drivers to share a common interrupt
line. This functionality is required on system that conform to the PC
interrupt structure.  In the context of Zephyr this is needed for
SOC's that have their I/O IP blocks behind a PCI interface. Due to the
limited number of interrupt lines provided by the PCI interface
multiple IP blocks may be configured to share an interrupt line.

Drivers that share interrupts  must be modified to *not* register their
own interrupt service routine as part of their configuration/initialization
but instead bind to the correct instance of this driver by name, then
register their interrupt service routine with this driver.

Change-Id: I57b517b97ebeabce484ba53c8f940da993cb391d
Signed-off-by: Dirk Brandewie <dirk.j.brandewie@intel.com>
This commit is contained in:
Dirk Brandewie 2015-09-29 08:42:22 -07:00 committed by Anas Nashif
commit 002c53b225
7 changed files with 406 additions and 0 deletions

View file

@ -51,6 +51,8 @@ source "drivers/pci/Kconfig"
source "drivers/gpio/Kconfig"
source "drivers/shared_irq/Kconfig"
source "drivers/spi/Kconfig"
source "drivers/i2c/Kconfig"