Skip to content

Commit 76f7521

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

2 files changed

Lines changed: 48 additions & 46 deletions

File tree

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

Lines changed: 0 additions & 46 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/snps,archs-idu-intc.yaml#
5+
$schema: http://devicetree.org/meta-schemas/core.yaml#
6+
7+
title: ARC-HS Interrupt Distribution Unit
8+
9+
maintainers:
10+
- Vineet Gupta <vgupta@kernel.org>
11+
12+
description: >
13+
ARC-HS Interrupt Distribution Unit is an optional 2nd level interrupt
14+
controller which can be used in SMP configurations for dynamic IRQ routing,
15+
load balancing of common/external IRQs towards core intc.
16+
17+
The interrupt controller is accessed via the special ARC AUX register
18+
interface, hence "reg" property is not specified.
19+
20+
properties:
21+
compatible:
22+
const: snps,archs-idu-intc
23+
24+
interrupt-controller: true
25+
26+
'#interrupt-cells':
27+
description: |
28+
Number of interrupt specifier cells:
29+
- 1: only a common IRQ is specified.
30+
- 2: a second cell encodes trigger type and level flags:
31+
1 = low-to-high edge triggered
32+
4 = active high level-sensitive (default)
33+
enum: [1, 2]
34+
35+
required:
36+
- compatible
37+
- interrupt-controller
38+
- '#interrupt-cells'
39+
40+
additionalProperties: false
41+
42+
examples:
43+
- |
44+
interrupt-controller {
45+
compatible = "snps,archs-idu-intc";
46+
interrupt-controller;
47+
#interrupt-cells = <1>;
48+
};

0 commit comments

Comments
 (0)