Skip to content

Commit dd0cea0

Browse files
committed
dt-bindings: interrupt-controller: Convert technologic,ts4800-irqc to DT schema
Convert the TS-4800 FPGA interrupt controller binding to schema format. It's a straight-forward conversion of the typical interrupt controller. Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Rob Herring (Arm) <[email protected]>
1 parent c67d52f commit dd0cea0

File tree

2 files changed

+49
-14
lines changed

2 files changed

+49
-14
lines changed
Lines changed: 49 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,49 @@
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/technologic,ts4800-irqc.yaml#
5+
$schema: http://devicetree.org/meta-schemas/core.yaml#
6+
7+
title: TS-4800 FPGA Interrupt Controller
8+
9+
maintainers:
10+
- Damien Riegel <[email protected]>
11+
12+
description:
13+
TS-4800 FPGA has an internal interrupt controller. When one of the interrupts
14+
is triggered, the SoC is notified, usually using a GPIO as parent interrupt
15+
source.
16+
17+
properties:
18+
compatible:
19+
const: technologic,ts4800-irqc
20+
21+
reg:
22+
maxItems: 1
23+
24+
'#interrupt-cells':
25+
const: 1
26+
27+
interrupt-controller: true
28+
29+
interrupts:
30+
maxItems: 1
31+
32+
required:
33+
- compatible
34+
- reg
35+
- interrupt-controller
36+
- '#interrupt-cells'
37+
- interrupts
38+
39+
additionalProperties: false
40+
41+
examples:
42+
- |
43+
interrupt-controller@1000 {
44+
compatible = "technologic,ts4800-irqc";
45+
reg = <0x1000 0x80>;
46+
interrupt-controller;
47+
#interrupt-cells = <1>;
48+
interrupts = <10>;
49+
};

Documentation/devicetree/bindings/interrupt-controller/technologic,ts4800.txt

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

0 commit comments

Comments
 (0)