Skip to content

Commit f7c3cf5

Browse files
committed
dt-bindings: interrupt-controller: Convert snps,archs-intc to DT schema
Convert the ARC-HS incore interrupt controller binding to schema format. It's a straight-forward conversion of the typical interrupt controller. Link: https://lore.kernel.org/r/20250505144834.1292666-1-robh@kernel.org Signed-off-by: Rob Herring (Arm) <robh@kernel.org>
1 parent 76f7521 commit f7c3cf5

2 files changed

Lines changed: 48 additions & 22 deletions

File tree

Documentation/devicetree/bindings/interrupt-controller/snps,archs-intc.txt

Lines changed: 0 additions & 22 deletions
This file was deleted.
Lines changed: 48 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,48 @@
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/snps,archs-intc.yaml#
5+
$schema: http://devicetree.org/meta-schemas/core.yaml#
6+
7+
title: ARC-HS incore Interrupt Controller
8+
9+
maintainers:
10+
- Vineet Gupta <vgupta@kernel.org>
11+
12+
description:
13+
ARC-HS incore Interrupt Controller provided by cores implementing ARCv2 ISA.
14+
intc accessed via the special ARC AUX register interface, hence "reg" property
15+
is not specified.
16+
17+
properties:
18+
compatible:
19+
const: snps,archs-intc
20+
21+
interrupt-controller: true
22+
23+
'#interrupt-cells':
24+
const: 1
25+
26+
interrupts:
27+
description: List of IRQ numbers between 16 and 256
28+
items:
29+
items:
30+
- minimum: 16
31+
maximum: 256
32+
33+
required:
34+
- compatible
35+
- interrupt-controller
36+
- '#interrupt-cells'
37+
- interrupts
38+
39+
additionalProperties: false
40+
41+
examples:
42+
- |
43+
interrupt-controller {
44+
compatible = "snps,archs-intc";
45+
interrupt-controller;
46+
#interrupt-cells = <1>;
47+
interrupts = <16>, <17>, <18>, <19>, <20>, <21>, <22>, <23>, <24>, <25>;
48+
};

0 commit comments

Comments
 (0)