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:
parent
2fe611587d
commit
002c53b225
7 changed files with 406 additions and 0 deletions
|
@ -10,6 +10,7 @@ obj-y += interrupt_controller/
|
|||
obj-$(CONFIG_PCI) += pci/
|
||||
obj-$(CONFIG_BLUETOOTH) += bluetooth/
|
||||
obj-$(CONFIG_UART_SIMPLE) += simple/
|
||||
obj-$(CONFIG_SHARED_IRQ) += shared_irq/
|
||||
obj-$(CONFIG_SPI) += spi/
|
||||
obj-$(CONFIG_GPIO) += gpio/
|
||||
obj-$(CONFIG_I2C) += i2c/
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue