Skip to contentSkip to conversation

dt-bindings: interrupt-controller: Convert apm,xgene1-msi to DT schema

PATCH Applied Rob Herring (Arm) 1 participant 2 messages Jul 10, 2025 – Jul 15, 2025

Subsystems (5)
lore
Share & tools
lore

Rob Herring (Arm)

author maintainer
#0 lore raw

PATCH 1/1 dt-bindings: interrupt-controller: Convert apm,xgene1-msi to DT schema

Convert the Applied Micro X-Gene MSI controller binding to DT schema format. MSI controllers go in interrupt-controller directory so move the schema there.

---
 .../interrupt-controller/apm,xgene1-msi.yaml  | 54 +++++++++++++++
 .../devicetree/bindings/pci/xgene-pci-msi.txt | 68 -------------------
 MAINTAINERS                                   |  2 +-
 3 files changed, 55 insertions(+), 69 deletions(-)
 create mode 100644 Documentation/devicetree/bindings/interrupt-controller/apm,xgene1-msi.yaml
 delete mode 100644 Documentation/devicetree/bindings/pci/xgene-pci-msi.txt
Documentation/devicetree/bindings/interrupt-controller/apm,xgene1-msi.yaml new file +54 -0
new file mode 100644
index 000000000000..49db952697f3
@@ -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/apm,xgene1-msi.yaml#
+$schema: http://devicetree.org/meta-schemas/core.yaml#
+
+title: AppliedMicro X-Gene v1 PCIe MSI controller
+
+maintainers:
+  - Toan Le <[email protected]>
+
+properties:
+  compatible:
+    const: apm,xgene1-msi
+
+  msi-controller: true
+
+  reg:
+    maxItems: 1
+
+  interrupts:
+    maxItems: 16
+
+required:
+  - compatible
+  - msi-controller
+  - reg
+  - interrupts
+
+additionalProperties: false
+
+examples:
+  - |
+    msi@79000000 {
+        compatible = "apm,xgene1-msi";
+        msi-controller;
+        reg = <0x79000000 0x900000>;
+        interrupts = <0x0 0x10 0x4>,
+                     <0x0 0x11 0x4>,
+                     <0x0 0x12 0x4>,
+                     <0x0 0x13 0x4>,
+                     <0x0 0x14 0x4>,
+                     <0x0 0x15 0x4>,
+                     <0x0 0x16 0x4>,
+                     <0x0 0x17 0x4>,
+                     <0x0 0x18 0x4>,
+                     <0x0 0x19 0x4>,
+                     <0x0 0x1a 0x4>,
+                     <0x0 0x1b 0x4>,
+                     <0x0 0x1c 0x4>,
+                     <0x0 0x1d 0x4>,
+                     <0x0 0x1e 0x4>,
+                     <0x0 0x1f 0x4>;
+    };
Documentation/devicetree/bindings/pci/xgene-pci-msi.txt deleted +0 -68

68 lines not on this page · raw message

MAINTAINERS +1 -1
index d0df1130d5ff..3699fe4be6b6 100644
@@ -19146,7 +19146,7 @@ M:	Toan Le <[email protected]>
 L:	[email protected]
 L:	[email protected] (moderated for non-subscribers)
 S:	Maintained
-F:	Documentation/devicetree/bindings/pci/xgene-pci-msi.txt
+F:	Documentation/devicetree/bindings/interrupt-controller/apm,xgene1-msi.yaml
 F:	drivers/pci/controller/pci-xgene-msi.c
 
 PCI NATIVE HOST BRIDGE AND ENDPOINT DRIVERS
Signature · 1 line
2.47.2
author maintainer Applied
#1 lore raw
Quoted 4 lines · Rob Herring (Arm)

Convert the Applied Micro X-Gene MSI controller binding to DT schema format. MSI controllers go in interrupt-controller directory so move the schema there.

Quoted 9 lines
---
 .../interrupt-controller/apm,xgene1-msi.yaml  | 54 +++++++++++++++
 .../devicetree/bindings/pci/xgene-pci-msi.txt | 68 -------------------
 MAINTAINERS                                   |  2 +-
 3 files changed, 55 insertions(+), 69 deletions(-)
 create mode 100644 Documentation/devicetree/bindings/interrupt-controller/apm,xgene1-msi.yaml
 delete mode 100644 Documentation/devicetree/bindings/pci/xgene-pci-msi.txt

Applied, thanks!