[PATCH v4 0/2] Add support for AST2700 INTC driver

From: Kevin Chen
Date: Tue Oct 15 2024 - 22:24:33 EST


---
v4:
aspeed,ast2700-intc.yaml:
- Add |' to preserve formatting.
- Remove the interrupt nubmer accroding to maxItems of interrupts.

drivers/irqchip/irq-aspeed-intc.c
- Reduce scope of variables, which are bit and status.
- Replace 32 with INTC_IRQS_PER_WORD define.
- Remove reduendant tab.

v3:
aspeed,ast2700-intc.yaml:
- Change reg with maxIntems:10 only.
- Change interrupt with maxIntems:10 only.
- Add description of INT0 and INTC1.
- Fix the indentation.

drivers/irqchip/irq-aspeed-intc.c:
- Change to use CONFIG_ARCH_ASPEED.
- Fix indentation.
- Remove irq_domain name assignment.
- Check all irq numbers first, and set chained.

Kevin Chen (2):
dt-bindings: interrupt-controller: Add support for ASPEED AST27XX INTC
irqchip/aspeed-intc: Add AST27XX INTC support

.../aspeed,ast2700-intc.yaml | 86 +++++++++++
drivers/irqchip/Makefile | 1 +
drivers/irqchip/irq-aspeed-intc.c | 140 ++++++++++++++++++
3 files changed, 227 insertions(+)
create mode 100644 Documentation/devicetree/bindings/interrupt-controller/aspeed,ast2700-intc.yaml
create mode 100644 drivers/irqchip/irq-aspeed-intc.c

--
2.34.1