irqchip/aspeed-scu-ic: Add support for AST2700 SCU interrupt controllers
authorRyan Chen <ryan_chen@aspeedtech.com>
Mon, 8 Sep 2025 01:18:12 +0000 (09:18 +0800)
committerThomas Gleixner <tglx@linutronix.de>
Tue, 9 Sep 2025 10:23:29 +0000 (12:23 +0200)
commitb2a0c13f8b4fc3f6c8b279fdc4395a5fa57dda5d
tree5272c15712f677bb4e9210bf3ba85dcad7c97c22
parented7240444e82aaaa2245a3cc9b040e4db894a665
irqchip/aspeed-scu-ic: Add support for AST2700 SCU interrupt controllers

AST2700 continues the multi-instance SCU interrupt controller model
introduced in the AST2600, with four independent interrupt domains (scu-ic0
to 3).

Unlike earlier generations which combine interrupt enable and status bits
into a single register, AST2700 separates these into distinct IER and ISR
registers. Support for this layout is implemented by using register offsets
and separate chained IRQ handlers.

The variant table is extended to cover AST2700 IC instances, enabling
shared initialization logic while preserving support for previous SoCs.

[ tglx: Simplified the logic and cleaned up coding style ]

Signed-off-by: Ryan Chen <ryan_chen@aspeedtech.com>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Link: https://lore.kernel.org/all/20250908011812.1033858-5-ryan_chen@aspeedtech.com
drivers/irqchip/irq-aspeed-scu-ic.c