[PATCH v5 3/8] dt-bindings: mfd: realtek,rtd1xxx: Add interrupt controller child node
From: Yu-Chun Lin
Date: Sun Oct 18 2026 - 12:08:12 EST
Allow an interrupt controller as a child node by referencing the
rtd1319-intc-iso schema, update additionalProperties to
unevaluatedProperties, and append a usage example.
Signed-off-by: Yu-Chun Lin <eleanor.lin@xxxxxxxxxxx>
---
.../bindings/mfd/realtek,rtd1xxx.yaml | 28 +++++++++++++++++++
1 file changed, 28 insertions(+)
diff --git a/Documentation/devicetree/bindings/mfd/realtek,rtd1xxx.yaml b/Documentation/devicetree/bindings/mfd/realtek,rtd1xxx.yaml
index 717e29c37b36..b21e14df2879 100644
--- a/Documentation/devicetree/bindings/mfd/realtek,rtd1xxx.yaml
+++ b/Documentation/devicetree/bindings/mfd/realtek,rtd1xxx.yaml
@@ -65,6 +65,10 @@ properties:
const: 1
patternProperties:
+ "^interrupt-controller":
+ $ref: /schemas/interrupt-controller/realtek,rtd1319-intc-iso.yaml
+ unevaluatedProperties: false
+
'@[0-9a-f]+$':
type: object
@@ -76,3 +80,27 @@ required:
- reg
additionalProperties: false
+
+examples:
+ - |
+ #include <dt-bindings/interrupt-controller/arm-gic.h>
+ #include <dt-bindings/interrupt-controller/irq.h>
+
+ syscon@7000 {
+ compatible = "realtek,rtd1625-iso", "syscon", "simple-mfd";
+ reg = <0x7000 0x1000>;
+ ranges = <0x0 0x7000 0x1000>;
+ #address-cells = <1>;
+ #size-cells = <1>;
+
+ interrupt-controller {
+ compatible = "realtek,rtd1625-intc-iso";
+ interrupt-controller;
+ interrupt-parent = <&gic>;
+ interrupts = <GIC_SPI 41 IRQ_TYPE_LEVEL_HIGH>,
+ <GIC_SPI 57 IRQ_TYPE_LEVEL_HIGH>,
+ <GIC_SPI 39 IRQ_TYPE_LEVEL_HIGH>;
+ #address-cells = <0>;
+ #interrupt-cells = <1>;
+ };
+ };
--
2.43.0