]> git.ipfire.org Git - thirdparty/linux.git/commit
irqchip/ti-sci-intr: Allow parsing interrupt-types per-line
authorAniket Limaye <a-limaye@ti.com>
Fri, 23 Jan 2026 06:55:46 +0000 (12:25 +0530)
committerThomas Gleixner <tglx@kernel.org>
Mon, 26 Jan 2026 15:40:04 +0000 (16:40 +0100)
commit3d9617ea8ab5ca779a227d1e7d23741f5f8400c1
treeb4f5ae49130d75b7cc1910daf90a57536b6cca15
parent7a30a7a6c81e8343e27056ac0bddd5fcbc33b8a8
irqchip/ti-sci-intr: Allow parsing interrupt-types per-line

Some INTR router instances act as simple passthroughs that preserve the
source interrupt type unchanged at the output line, rather than
converting all interrupts to a fixed type.

When interrupt sources are not homogeneous with respect to trigger type,
the driver needs to read each source's interrupt type from DT and pass
it unchanged to its interrupt parent.

Add support to check for absence of "ti,intr-trigger-type" to indicate
passthrough mode. When this property is absent, parse interrupt type
per-line from the DT fwspec provided by the interrupt source. Else, use
the global setting for all interrupt lines.

Signed-off-by: Aniket Limaye <a-limaye@ti.com>
Signed-off-by: Thomas Gleixner <tglx@kernel.org>
Link: https://patch.msgid.link/20260123-ul-driver-i2c-j722s-v4-2-b08625c487d5@ti.com
drivers/irqchip/irq-ti-sci-intr.c