[PATCH v3 0/2] irqchip/ti-sci-inta: Support for unmapped events

From: Peter Ujfalusi
Date: Tue Oct 20 2020 - 03:32:35 EST


Hi,

Changes since v2:
- Extended the block diagram of INTA in the DT documentation
- Use less creative variable names for unmapped events in the driver
- Short comment section to describe the unmapped event handling in driver
- Use u16 array to store the TI-SCI device identifiers instead of u32
- Use printk format specifier instead of_node_full_name

Changes since v1:
- Reviewed-by added to the first patch from Rob
- return 0 if ti,unmapped-event-sources is not present in DT

The version of INTA within DMSS (in AM64) changed how the events from the DMAs
are handled and how sysfw is presenting these events to be used for interrupts.

The DMA related events are directly mapped within INTA as unmapped events in
contrast to previous devices with NAVSS where the events were tied to their
source devices (UDMAP, ringacc).

This series adds support for handling the new version of INTA by introducing a
new property: ti,unmapped-event-sources which should hold a list of phandles
pointing to the sources of these unmapped events.

Regards,
Peter
---
Peter Ujfalusi (2):
dt-bindings: irqchip: ti,sci-inta: Update for unmapped event handling
irqchip/ti-sci-inta: Add support for unmapped event handling

.../interrupt-controller/ti,sci-inta.yaml | 10 +++
drivers/irqchip/irq-ti-sci-inta.c | 83 ++++++++++++++++++-
2 files changed, 90 insertions(+), 3 deletions(-)

--
Peter

Texas Instruments Finland Oy, Porkkalankatu 22, 00180 Helsinki.
Y-tunnus/Business ID: 0615521-4. Kotipaikka/Domicile: Helsinki