Skip to content

Commit 6248d8c

Browse files
committed
dt-bindings: interrupt-controller: Convert ti,omap4-wugen-mpu to DT schema
Convert the TI Wakeup Generator 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 9455570 commit 6248d8c

File tree

2 files changed

+55
-31
lines changed

2 files changed

+55
-31
lines changed

Documentation/devicetree/bindings/interrupt-controller/ti,omap4-wugen-mpu.txt

Lines changed: 0 additions & 31 deletions
This file was deleted.
Lines changed: 55 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,55 @@
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,omap4-wugen-mpu.yaml#
5+
$schema: http://devicetree.org/meta-schemas/core.yaml#
6+
7+
title: TI OMAP4 Wake-up Generator
8+
9+
maintainers:
10+
- Krzysztof Kozlowski <[email protected]>
11+
12+
description: >
13+
All TI OMAP4/5 (and their derivatives) are interrupt controllers that route
14+
interrupts to the GIC, and also serve as wakeup sources. They are also
15+
referred to as "WUGEN-MPU", hence the name of the binding.
16+
17+
Notes:
18+
19+
- Because this HW ultimately routes interrupts to the GIC, the interrupt
20+
specifier must be that of the GIC.
21+
- Only SPIs can use the WUGEN as an interrupt parent. SGIs and PPIs are
22+
explicitly forbidden.
23+
24+
properties:
25+
compatible:
26+
oneOf:
27+
- items:
28+
- const: ti,omap5-wugen-mpu
29+
- const: ti,omap4-wugen-mpu
30+
- const: ti,omap4-wugen-mpu
31+
32+
reg:
33+
maxItems: 1
34+
35+
interrupt-controller: true
36+
37+
'#interrupt-cells':
38+
const: 3
39+
40+
required:
41+
- compatible
42+
- reg
43+
- interrupt-controller
44+
- '#interrupt-cells'
45+
46+
additionalProperties: false
47+
48+
examples:
49+
- |
50+
interrupt-controller@48281000 {
51+
compatible = "ti,omap5-wugen-mpu", "ti,omap4-wugen-mpu";
52+
reg = <0x48281000 0x1000>;
53+
interrupt-controller;
54+
#interrupt-cells = <3>;
55+
};

0 commit comments

Comments
 (0)