Skip to content

Commit 1e7ed4d

Browse files
committed
dt-bindings: interrupt-controller: Convert csky,mpintc to DT schema
Convert the C-SKY Multi-processor interrupt controller binding to schema format. It's a straight-forward conversion of the typical interrupt controller. Link: https://lore.kernel.org/r/20250505144640.1288458-1-robh@kernel.org Signed-off-by: Rob Herring (Arm) <robh@kernel.org>
1 parent 9a4d392 commit 1e7ed4d

2 files changed

Lines changed: 43 additions & 52 deletions

File tree

Documentation/devicetree/bindings/interrupt-controller/csky,mpintc.txt

Lines changed: 0 additions & 52 deletions
This file was deleted.
Lines changed: 43 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,43 @@
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/csky,mpintc.yaml#
5+
$schema: http://devicetree.org/meta-schemas/core.yaml#
6+
7+
title: C-SKY Multi-processors Interrupt Controller
8+
9+
maintainers:
10+
- Guo Ren <guoren@kernel.org>
11+
12+
description: >
13+
C-SKY Multi-processors Interrupt Controller is designed for ck807/ck810/ck860
14+
SMP soc, and it also could be used in non-SMP system.
15+
16+
Interrupt number definition:
17+
0-15 : software irq, and we use 15 as our IPI_IRQ.
18+
16-31 : private irq, and we use 16 as the co-processor timer.
19+
31-1024: common irq for soc ip.
20+
21+
properties:
22+
compatible:
23+
const: csky,mpintc
24+
25+
'#interrupt-cells':
26+
const: 2
27+
28+
interrupt-controller: true
29+
30+
required:
31+
- compatible
32+
- "#interrupt-cells"
33+
- interrupt-controller
34+
35+
additionalProperties: false
36+
37+
examples:
38+
- |
39+
interrupt-controller {
40+
compatible = "csky,mpintc";
41+
#interrupt-cells = <2>;
42+
interrupt-controller;
43+
};

0 commit comments

Comments
 (0)