Skip to content

irqchip: Add support for Aspeed AST2700 SCU interrupt controller

Ryan Chen linux-arm-kernel linux-aspeed linux-devicetree lkml 4 versions – Applied

Status from this message: The following commit has been merged into the irq/drivers branch of tip:

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v4 Latest4 patches 0 repliesApplied
  2. v34 patches 0 repliesSuperseded
  3. v24 patches 9 repliesApplied
Earlier versions · 1
VersionPostedPatchesRepliesStatus
v12 patches9 repliesSuperseded

Changes in v4 from the cover letter

- irq-aspeed-scu-ic.c
- fixed missing inital mask = scu_ic->irq_enable << ASPEED_SCU_IC_STATUS_SHIFT;

Patches in v4 Applied

#Subject and filesSizeRepliesApplied
1/4irqchip/aspeed-scu-ic: Refactor driver to support variant-based initializationdrivers/irqchip/irq-aspeed-scu-ic.c+60 -840 replies
2/4dt-bindings: mfd: aspeed: Add AST2700 SCU compatiblesDocumentation/devicetree/bindings/mfd/aspeed,ast2x00-scu.yaml+4 -00 replies
3/4dt-bindings: interrupt-controller: aspeed: Add AST2700 SCU IC compatiblesDocumentation/devicetree/bindings/interrupt-controller/aspeed,ast2500-scu-ic.yaml include/dt-bindings/interrupt-controller/aspeed-scu-ic.h+19 -10 replies
4/4irqchip/aspeed-scu-ic: Add support AST2700 SCU interrupt controllersdrivers/irqchip/irq-aspeed-scu-ic.c+101 -180 replies

Reviews trailers per patch

2 of 4 patches have a Reviewed-by or Acked-by.

PatchRob Herring (Arm)
1/4
2/4A-b
3/4A-b
4/4

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v4 thread

Cover letter [PATCH v4 0/4] irqchip: Add support for Aspeed AST2700 SCU interrupt controller

This series adds support for the SCU (System Control Unit) interrupt controllers on the Aspeed AST2700 SoC.

AST2700 follows the same multi-instance SCU interrupt controller design as AST2600, with four independent interrupt domains (scu-ic0 to 3). However, unlike previous SoCs that use a single register for both enable and status bits, AST2700 splits them into separate IER (Interrupt Enable) and ISR (Interrupt Status) registers.

To support this, the driver is refactored to use a variant-based init structure, selected by compatible string. Register access is also converted from regmap to MMIO (via of_iomap()), and a per-variant IRQ handler is used depending on register layout.

v4:
- irq-aspeed-scu-ic.c
- fixed missing inital mask = scu_ic->irq_enable << ASPEED_SCU_IC_STATUS_SHIFT;

v3:
- irq-aspeed-scu-ic.c
- update for bracket-rules.
- update TAB not spaces to align.
- remove stray TAB.
- update end up aligned.
- add missing _ier, _isr in SCU_VARIANT.
- add two different mask/unmask/ functions for split and combined.

v2:
- Refactor SCU IC driver to support variant-based initialization
- Add AST2700 compatible strings to YAML and header files
- Extend DT bindings in mfd and irqchip for AST2700
- Add IRQ handler logic for separate IER/ISR layout

Ryan Chen (4):
irqchip/aspeed-scu-ic: Refactor driver to support variant-based
initialization
dt-bindings: mfd: aspeed: Add AST2700 SCU compatibles
dt-bindings: interrupt-controller: aspeed: Add AST2700 SCU IC
compatibles
irqchip/aspeed-scu-ic: Add support AST2700 SCU interrupt controllers

 .../aspeed,ast2500-scu-ic.yaml                |   6 +-
 .../bindings/mfd/aspeed,ast2x00-scu.yaml      |   4 +
 drivers/irqchip/irq-aspeed-scu-ic.c           | 243 +++++++++++-------
 .../interrupt-controller/aspeed-scu-ic.h      |  14 +
 4 files changed, 174 insertions(+), 93 deletions(-)
Signature · 1 line
2.34.1