Skip to content

Commit a911481

Browse files
committed
dt-bindings: interrupt-controller: Convert ezchip,nps400-ic to DT schema
Convert the EZchip NPS interrupt controller binding to schema format. It's a straight-forward conversion of the typical interrupt controller. Link: https://lore.kernel.org/r/20250505144649.1288786-1-robh@kernel.org Signed-off-by: Rob Herring (Arm) <robh@kernel.org>
1 parent 1e7ed4d commit a911481

2 files changed

Lines changed: 34 additions & 17 deletions

File tree

Documentation/devicetree/bindings/interrupt-controller/ezchip,nps400-ic.txt

Lines changed: 0 additions & 17 deletions
This file was deleted.
Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
2+
%YAML 1.2
3+
---
4+
$id: http://devicetree.org/schemas/ezchip,nps400-ic.yaml#
5+
$schema: http://devicetree.org/meta-schemas/core.yaml#
6+
7+
title: EZchip NPS Interrupt Controller
8+
9+
maintainers:
10+
- Noam Camus <noamc@ezchip.com>
11+
12+
properties:
13+
compatible:
14+
const: ezchip,nps400-ic
15+
16+
interrupt-controller: true
17+
18+
'#interrupt-cells':
19+
const: 1
20+
21+
required:
22+
- compatible
23+
- interrupt-controller
24+
- '#interrupt-cells'
25+
26+
additionalProperties: false
27+
28+
examples:
29+
- |
30+
interrupt-controller {
31+
compatible = "ezchip,nps400-ic";
32+
interrupt-controller;
33+
#interrupt-cells = <1>;
34+
};

0 commit comments

Comments
 (0)