Skip to content

irqchip/ast2700-intc: Add AST2700 INTC debugfs support and yaml update

Ryan Chen linux-arm-kernel linux-aspeed linux-devicetree lkml 3 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v4 Latest2 patches 4 repliesIn review
  2. v32 patches 18 repliesSuperseded
  3. v21 patch 2 repliesSuperseded

Changes in v4 from the cover letter

- aspeed,ast2700-intc.yaml
- Clarify the relationship between INTC0/INTC1 parent nodes, the aspeed,ast2700-intc-ic child nodes, and the GIC.
- Add a block diagram and DT examples showing the cascaded wiring (GIC <- INTC0 <- INTC1 children).
- Mirrors the datasheet-described topology and register map, including the separation of INTC0/INTC1 regions.
- Lets DT unambiguously express first-level (GIC parent) and cascaded second-level (INTC0 parent) interrupt controllers via examples that use interrupts for INTC0 children and interrupts-extended for INTC1 children routed into INTC0.

- irq-ast2700-intc.c
- Drop all string decoding and human readable tables. Debugfs now dumps raw routing/protection registers only.
- Split into a separate source file and made it modular
- If the compatible not match ast2700-intc0/1, bail out return -ENODEV.

Patches in v4 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2dt-bindings: interrupt-controller: aspeed: Add parent compatibles and refine documentationDocumentation/devicetree/bindings/interrupt-controller/aspeed,ast2700-intc.yaml+115 -434 replies
2/2Irqchip/ast2700-intc: add debugfs support and AST2700 INTC0/INTC1 routing/protection displaydrivers/irqchip/Kconfig drivers/irqchip/Makefile drivers/irqchip/irq-ast2700-intc.c+181 -00 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v4 yet.

Read the v4 thread

Cover letter [PATCH v4 0/2] irqchip/ast2700-intc: Add AST2700 INTC debugfs support and yaml update

This patch series adds device tree bindings and driver support for the AST2700 SoC!|s two interrupt controllers (INTC0 and INTC1), along with debugfs entries for runtime inspection of routing and register protection status, and bindings example refine.

v4:
- aspeed,ast2700-intc.yaml
- Clarify the relationship between INTC0/INTC1 parent nodes, the aspeed,ast2700-intc-ic child nodes, and the GIC.
- Add a block diagram and DT examples showing the cascaded wiring (GIC <- INTC0 <- INTC1 children).
- Mirrors the datasheet-described topology and register map, including the separation of INTC0/INTC1 regions.
- Lets DT unambiguously express first-level (GIC parent) and cascaded second-level (INTC0 parent) interrupt controllers via examples that use interrupts for INTC0 children and interrupts-extended for INTC1 children routed into INTC0.

- irq-ast2700-intc.c
- Drop all string decoding and human readable tables. Debugfs now dumps raw routing/protection registers only.
- Split into a separate source file and made it modular
- If the compatible not match ast2700-intc0/1, bail out return -ENODEV.

v3:
- aspeed,ast2700-intc.yaml
- Clarify the relationship between INTC0/INTC1 parent nodes, the aspeed,ast2700-intc-ic child nodes, and the GIC.
- Add a block diagram and DT examples showing the cascaded wiring

    (GIC <- INTC0 <- INTC1 children).

- Mirrors the datasheet-described topology and register map, including the separation of INTC0/INTC1 regions and their routing/protection registers.
- Lets DT unambiguously express first-level (GIC parent) and cascaded second-level (INTC0 parent) interrupt controllers via examples that use interrupts for INTC0 children and interrupts-extended for INTC1 children routed into INTC0.

- irq-aspeed-intc.c
- separate c file from irq-aspeed-intc.c
- make m

v2:
- fix dt bindingcheck

Ryan Chen (2):
dt-bindings: interrupt-controller: aspeed: Add parent compatibles and
refine documentation
Irqchip/ast2700-intc: add debugfs support and AST2700 INTC0/INTC1
routing/protection display

 .../aspeed,ast2700-intc.yaml                  | 158 +++++++++++-----
 drivers/irqchip/Kconfig                       |   6 +
 drivers/irqchip/Makefile                      |   1 +
 drivers/irqchip/irq-ast2700-intc.c            | 174 ++++++++++++++++++
 4 files changed, 296 insertions(+), 43 deletions(-)
 create mode 100644 drivers/irqchip/irq-ast2700-intc.c
Signature · 1 line
2.34.1