[tip: irq/drivers] dt-bindings: interrupt-controller: realtek,rtl-intc: Allow 2 interrupt cells

From: tip-bot2 for Markus Stockhausen

Date: Mon Jun 29 2026 - 11:28:30 EST


The following commit has been merged into the irq/drivers branch of tip:

Commit-ID: 9d9faab6f562b8a447b4f7aae2862d071ba1ae0d
Gitweb: https://git.kernel.org/tip/9d9faab6f562b8a447b4f7aae2862d071ba1ae0d
Author: Markus Stockhausen <markus.stockhausen@xxxxxx>
AuthorDate: Fri, 05 Jun 2026 23:16:40 +02:00
Committer: Thomas Gleixner <tglx@xxxxxxxxxx>
CommitterDate: Mon, 29 Jun 2026 17:19:05 +02:00

dt-bindings: interrupt-controller: realtek,rtl-intc: Allow 2 interrupt cells

The Realtek Otto SoC interrupt controller supports hardware interrupt
routing to multiple parent CPU interrupt lines. To utilize this
multi-domain support, peripheral devices need a way to explicitly
specify their desired parent interrupt line in the device tree.

Update the "#interrupt-cells" property to accept either 1 or 2 cells.

1 cell: Specifies the hardware interrupt index, implicitly routing it
to the first available parent (maintaining backward compatibility).

2 cells: The first cell specifies the hardware interrupt index and
the second cell specifies the targeted parent interrupt index.

Signed-off-by: Markus Stockhausen <markus.stockhausen@xxxxxx>
Signed-off-by: Thomas Gleixner <tglx@xxxxxxxxxx>
Reviewed-by: Rob Herring (Arm) <robh@xxxxxxxxxx>
Link: https://patch.msgid.link/20260605211646.2101652-2-markus.stockhausen@xxxxxx
---
Documentation/devicetree/bindings/interrupt-controller/realtek,rtl-intc.yaml | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/Documentation/devicetree/bindings/interrupt-controller/realtek,rtl-intc.yaml b/Documentation/devicetree/bindings/interrupt-controller/realtek,rtl-intc.yaml
index 833a01c..5c52e57 100644
--- a/Documentation/devicetree/bindings/interrupt-controller/realtek,rtl-intc.yaml
+++ b/Documentation/devicetree/bindings/interrupt-controller/realtek,rtl-intc.yaml
@@ -32,8 +32,9 @@ properties:

"#interrupt-cells":
description:
- SoC interrupt line index.
- const: 1
+ First cell is the SoC interrupt line index. Optional second cell
+ specifies the parent interrupt index to route to.
+ enum: [1, 2]

reg:
minItems: 1