Skip to content

Commit 3cbc6d0

Browse files
committed
dt-bindings: interrupt-controller: Convert cirrus,ep7209-intc to DT schema
Convert the Cirrus EP7209 interrupt controller binding to schema format. It's a straight-forward conversion of the typical interrupt controller. Link: https://lore.kernel.org/r/20250505144631.1288086-1-robh@kernel.org Signed-off-by: Rob Herring (Arm) <robh@kernel.org>
1 parent 928504c commit 3cbc6d0

2 files changed

Lines changed: 71 additions & 41 deletions

File tree

Documentation/devicetree/bindings/interrupt-controller/cirrus,clps711x-intc.txt

Lines changed: 0 additions & 41 deletions
This file was deleted.
Lines changed: 71 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,71 @@
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/cirrus,ep7209-intc.yaml#
5+
$schema: http://devicetree.org/meta-schemas/core.yaml#
6+
7+
title: Cirrus Logic CLPS711X Interrupt Controller
8+
9+
maintainers:
10+
- Alexander Shiyan <shc_work@mail.ru>
11+
12+
description: >
13+
Cirrus Logic CLPS711X Interrupt Controller
14+
15+
The interrupt sources are as follows:
16+
ID Name Description
17+
---------------------------
18+
1: BLINT Battery low (FIQ)
19+
3: MCINT Media changed (FIQ)
20+
4: CSINT CODEC sound
21+
5: EINT1 External 1
22+
6: EINT2 External 2
23+
7: EINT3 External 3
24+
8: TC1OI TC1 under flow
25+
9: TC2OI TC2 under flow
26+
10: RTCMI RTC compare match
27+
11: TINT 64Hz tick
28+
12: UTXINT1 UART1 transmit FIFO half empty
29+
13: URXINT1 UART1 receive FIFO half full
30+
14: UMSINT UART1 modem status changed
31+
15: SSEOTI SSI1 end of transfer
32+
16: KBDINT Keyboard
33+
17: SS2RX SSI2 receive FIFO half or greater full
34+
18: SS2TX SSI2 transmit FIFO less than half empty
35+
28: UTXINT2 UART2 transmit FIFO half empty
36+
29: URXINT2 UART2 receive FIFO half full
37+
32: DAIINT DAI interface (FIQ)
38+
39+
properties:
40+
compatible:
41+
oneOf:
42+
- items:
43+
- const: cirrus,ep7312-intc
44+
- const: cirrus,ep7209-intc
45+
- items:
46+
- const: cirrus,ep7209-intc
47+
48+
reg:
49+
maxItems: 1
50+
51+
interrupt-controller: true
52+
53+
'#interrupt-cells':
54+
const: 1
55+
56+
required:
57+
- compatible
58+
- reg
59+
- interrupt-controller
60+
- '#interrupt-cells'
61+
62+
additionalProperties: false
63+
64+
examples:
65+
- |
66+
interrupt-controller@80000000 {
67+
compatible = "cirrus,ep7312-intc", "cirrus,ep7209-intc";
68+
reg = <0x80000000 0x4000>;
69+
interrupt-controller;
70+
#interrupt-cells = <1>;
71+
};

0 commit comments

Comments
 (0)