mbox series

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

Message ID 20201020073243.19255-1-peter.ujfalusi@ti.com
Headers show
Series irqchip/ti-sci-inta: Support for unmapped events | expand

Message

Peter Ujfalusi Oct. 20, 2020, 7:32 a.m. UTC
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

Comments

Marc Zyngier Nov. 1, 2020, 12:10 p.m. UTC | #1
On Tue, 20 Oct 2020 10:32:41 +0300, Peter Ujfalusi wrote:
> 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

> 

> [...]


Applied to irq/irqchip-next, thanks!

[1/2] dt-bindings: irqchip: ti, sci-inta: Update for unmapped event handling
      commit: bb2bd7c7f3d0946acc2104db31df228d10f7b598
[2/2] irqchip/ti-sci-inta: Add support for unmapped event handling
      commit: d95bdca75b3fb41bf185efe164e05aed820081a5

Cheers,

	M.
-- 
Without deviation from the norm, progress is not possible.