Skip to content

Commit 4f87995

Browse files
committed
dt-bindings: interrupt-controller: Convert lsi,zevio-intc to DT schema
Convert the TI-NSPIRE interrupt controller binding to schema format. It's a straight-forward conversion of the typical interrupt controller. '#interrupt-cells' was missing from the property list, but used in the example, so add it. Link: https://lore.kernel.org/r/20250505144711.1289677-1-robh@kernel.org Signed-off-by: Rob Herring (Arm) <robh@kernel.org>
1 parent 5017553 commit 4f87995

2 files changed

Lines changed: 43 additions & 18 deletions

File tree

Documentation/devicetree/bindings/interrupt-controller/lsi,zevio-intc.txt

Lines changed: 0 additions & 18 deletions
This file was deleted.
Lines changed: 43 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,43 @@
1+
# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
2+
# Copyright 2025 Daniel Tang <dt.tangr@gmail.com>
3+
%YAML 1.2
4+
---
5+
$id: http://devicetree.org/schemas/interrupt-controller/lsi,zevio-intc.yaml#
6+
$schema: http://devicetree.org/meta-schemas/core.yaml#
7+
8+
title: TI-NSPIRE Interrupt Controller
9+
10+
maintainers:
11+
- Daniel Tang <dt.tangr@gmail.com>
12+
13+
description: |
14+
TI-NSPIRE interrupt controller
15+
16+
properties:
17+
compatible:
18+
const: lsi,zevio-intc
19+
20+
reg:
21+
maxItems: 1
22+
23+
interrupt-controller: true
24+
25+
'#interrupt-cells':
26+
const: 1
27+
28+
required:
29+
- compatible
30+
- reg
31+
- interrupt-controller
32+
- '#interrupt-cells'
33+
34+
additionalProperties: false
35+
36+
examples:
37+
- |
38+
interrupt-controller@dc000000 {
39+
compatible = "lsi,zevio-intc";
40+
interrupt-controller;
41+
reg = <0xdc000000 0x1000>;
42+
#interrupt-cells = <1>;
43+
};

0 commit comments

Comments
 (0)