Skip to contentSkip to conversation

dt-bindings: interrupt-controller: add Ralink SoCs interrupt controller

PATCH Applied Sergio Paracuellos 2 participants 2 messages Jun 23, 2023 – Jun 27, 2023

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH v3 1/1 dt-bindings: interrupt-controller: add Ralink SoCs interrupt controller

Add YAML doc for the interrupt controller which is present on Ralink SoCs.

---
Changes in v3:
- Drop '|' from description.
- s/unevaluatedProperties/additionalProperties
- Add Conor's Reviewed-by tag.

Changes in v2:
- Drop label from the example.

 .../ralink,rt2880-intc.yaml                   | 54 +++++++++++++++++++
 1 file changed, 54 insertions(+)
 create mode 100644 Documentation/devicetree/bindings/interrupt-controller/ralink,rt2880-intc.yaml
Documentation/devicetree/bindings/interrupt-controller/ralink,rt2880-intc.yaml new file +54 -0
new file mode 100644
index 000000000000..0fa952a9edfd
@@ -0,0 +1,54 @@
+# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
+%YAML 1.2
+---
+$id: http://devicetree.org/schemas/interrupt-controller/ralink,rt2880-intc.yaml#
+$schema: http://devicetree.org/meta-schemas/core.yaml#
+
+title: Ralink SoCs Interrupt Controller
+
+maintainers:
+  - Sergio Paracuellos <[email protected]>
+
+allOf:
+  - $ref: /schemas/interrupt-controller.yaml#
+
+description:
+  This interrupt controller support a central point for interrupt aggregation
+  for platform related blocks.
+
+properties:
+  compatible:
+    const: ralink,rt2880-intc
+
+  reg:
+    maxItems: 1
+
+  interrupts:
+    maxItems: 1
+
+  interrupt-controller: true
+
+  '#interrupt-cells':
+    const: 1
+
+required:
+  - compatible
+  - reg
+  - interrupts
+  - interrupt-controller
+  - '#interrupt-cells'
+
+additionalProperties: false
+
+examples:
+  - |
+    interrupt-controller@200 {
+      compatible = "ralink,rt2880-intc";
+      reg = <0x200 0x100>;
+      interrupt-controller;
+      #interrupt-cells = <1>;
+
+      interrupt-parent = <&cpuintc>;
+      interrupts = <2>;
+    };
+...
Signature · 1 line
2.25.1
maintainer Applied
#1 lore raw
Quoted 10 lines · Sergio Paracuellos

Add YAML doc for the interrupt controller which is present on Ralink SoCs.

---
Changes in v3:
- Drop '|' from description.
- s/unevaluatedProperties/additionalProperties
- Add Conor's Reviewed-by tag.

Quoted 7 lines

Changes in v2:
- Drop label from the example.

 .../ralink,rt2880-intc.yaml                   | 54 +++++++++++++++++++
 1 file changed, 54 insertions(+)
 create mode 100644 Documentation/devicetree/bindings/interrupt-controller/ralink,rt2880-intc.yaml

Applied, thanks!