Skip to content

Commit 8966334

Browse files
committed
dt-bindings: interrupt-controller: Convert ti,omap-intc-irq to DT schema
Convert the TI OMAP2/3 interrupt controller binding to schema format. It's a straight-forward conversion of the typical interrupt controller. "ti,intc-size" property isn't actually used with "ti,omap2-intc", so the 2 bindings can be combined. Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Rob Herring (Arm) <[email protected]>
1 parent 6248d8c commit 8966334

File tree

3 files changed

+52
-55
lines changed

3 files changed

+52
-55
lines changed

Documentation/devicetree/bindings/interrupt-controller/ti,omap-intc-irq.txt

Lines changed: 0 additions & 28 deletions
This file was deleted.
Lines changed: 52 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,52 @@
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/ti,omap-intc-irq.yaml#
5+
$schema: http://devicetree.org/meta-schemas/core.yaml#
6+
7+
title: TI OMAP Interrupt Controller
8+
9+
maintainers:
10+
- Tony Lindgren <[email protected]>
11+
12+
description:
13+
On TI omap2 and 3 the intc interrupt controller can provide 96 or 128 IRQ
14+
signals to the ARM host depending on the SoC.
15+
16+
properties:
17+
compatible:
18+
enum:
19+
- ti,omap2-intc
20+
- ti,omap3-intc
21+
- ti,dm814-intc
22+
- ti,dm816-intc
23+
- ti,am33xx-intc
24+
25+
reg:
26+
maxItems: 1
27+
28+
interrupts:
29+
maxItems: 1
30+
31+
interrupt-controller: true
32+
33+
'#interrupt-cells':
34+
const: 1
35+
36+
required:
37+
- compatible
38+
- reg
39+
- interrupt-controller
40+
- '#interrupt-cells'
41+
42+
additionalProperties: false
43+
44+
examples:
45+
- |
46+
interrupt-controller@48200000 {
47+
compatible = "ti,omap3-intc";
48+
reg = <0x48200000 0x1000>;
49+
interrupts = <32>;
50+
interrupt-controller;
51+
#interrupt-cells = <1>;
52+
};

Documentation/devicetree/bindings/interrupt-controller/ti,omap2-intc.txt

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

0 commit comments

Comments
 (0)