diff options
author | Lokesh Vutla <lokeshvutla@ti.com> | 2019-04-30 13:12:28 +0300 |
---|---|---|
committer | Marc Zyngier <marc.zyngier@arm.com> | 2019-05-01 12:49:17 +0300 |
commit | 49b323157bf1e70bfb3114a463d340399906c43a (patch) | |
tree | beea87f58d7d7b5d9842b6b904c2d7dfdec971b0 /drivers/soc/ti/Kconfig | |
parent | 9f1463b86c13277d0bd88d5ee359577ef40f4da7 (diff) | |
download | linux-49b323157bf1e70bfb3114a463d340399906c43a.tar.xz |
soc: ti: Add MSI domain bus support for Interrupt Aggregator
With the system coprocessor managing the range allocation of the
inputs to Interrupt Aggregator, it is difficult to represent
the device IRQs from DT.
The suggestion is to use MSI in such cases where devices wants
to allocate and group interrupts dynamically.
Create a MSI domain bus layer that allocates and frees MSIs for
a device.
APIs that are implemented:
- ti_sci_inta_msi_create_irq_domain() that creates a MSI domain
- ti_sci_inta_msi_domain_alloc_irqs() that creates MSIs for the
specified device and resource.
- ti_sci_inta_msi_domain_free_irqs() frees the irqs attached to the device.
- ti_sci_inta_msi_get_virq() for getting the virq attached to a specific event.
Signed-off-by: Lokesh Vutla <lokeshvutla@ti.com>
Signed-off-by: Marc Zyngier <marc.zyngier@arm.com>
Diffstat (limited to 'drivers/soc/ti/Kconfig')
-rw-r--r-- | drivers/soc/ti/Kconfig | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/drivers/soc/ti/Kconfig b/drivers/soc/ti/Kconfig index be4570baad96..82f110fe4953 100644 --- a/drivers/soc/ti/Kconfig +++ b/drivers/soc/ti/Kconfig @@ -73,4 +73,10 @@ config TI_SCI_PM_DOMAINS called ti_sci_pm_domains. Note this is needed early in boot before rootfs may be available. +config TI_SCI_INTA_MSI_DOMAIN + bool + select GENERIC_MSI_IRQ_DOMAIN + help + Driver to enable Interrupt Aggregator specific MSI Domain. + endif # SOC_TI |