Skip to content

Commit 3f66b5b

Browse files
committed
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. Link: https://lore.kernel.org/r/20250710180757.2970583-1-robh@kernel.org Signed-off-by: Rob Herring (Arm) <robh@kernel.org>
1 parent 7bce7ae commit 3f66b5b

3 files changed

Lines changed: 55 additions & 69 deletions

File tree

Lines changed: 54 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,54 @@
1+
# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
2+
%YAML 1.2
3+
---
4+
$id: http://devicetree.org/schemas/interrupt-controller/apm,xgene1-msi.yaml#
5+
$schema: http://devicetree.org/meta-schemas/core.yaml#
6+
7+
title: AppliedMicro X-Gene v1 PCIe MSI controller
8+
9+
maintainers:
10+
- Toan Le <toan@os.amperecomputing.com>
11+
12+
properties:
13+
compatible:
14+
const: apm,xgene1-msi
15+
16+
msi-controller: true
17+
18+
reg:
19+
maxItems: 1
20+
21+
interrupts:
22+
maxItems: 16
23+
24+
required:
25+
- compatible
26+
- msi-controller
27+
- reg
28+
- interrupts
29+
30+
additionalProperties: false
31+
32+
examples:
33+
- |
34+
msi@79000000 {
35+
compatible = "apm,xgene1-msi";
36+
msi-controller;
37+
reg = <0x79000000 0x900000>;
38+
interrupts = <0x0 0x10 0x4>,
39+
<0x0 0x11 0x4>,
40+
<0x0 0x12 0x4>,
41+
<0x0 0x13 0x4>,
42+
<0x0 0x14 0x4>,
43+
<0x0 0x15 0x4>,
44+
<0x0 0x16 0x4>,
45+
<0x0 0x17 0x4>,
46+
<0x0 0x18 0x4>,
47+
<0x0 0x19 0x4>,
48+
<0x0 0x1a 0x4>,
49+
<0x0 0x1b 0x4>,
50+
<0x0 0x1c 0x4>,
51+
<0x0 0x1d 0x4>,
52+
<0x0 0x1e 0x4>,
53+
<0x0 0x1f 0x4>;
54+
};

Documentation/devicetree/bindings/pci/xgene-pci-msi.txt

Lines changed: 0 additions & 68 deletions
This file was deleted.

MAINTAINERS

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19146,7 +19146,7 @@ M: Toan Le <toan@os.amperecomputing.com>
1914619146
L: linux-pci@vger.kernel.org
1914719147
L: linux-arm-kernel@lists.infradead.org (moderated for non-subscribers)
1914819148
S: Maintained
19149-
F: Documentation/devicetree/bindings/pci/xgene-pci-msi.txt
19149+
F: Documentation/devicetree/bindings/interrupt-controller/apm,xgene1-msi.yaml
1915019150
F: drivers/pci/controller/pci-xgene-msi.c
1915119151

1915219152
PCI NATIVE HOST BRIDGE AND ENDPOINT DRIVERS

0 commit comments

Comments
 (0)