Skip to content

Commit 7227142

Browse files
parakarobherring
authored andcommitted
dt-bindings: interrupt-controller: migrate MIPS CPU interrupt controller text bindings to YAML
MIPS CPU interrupt controller bindings used text format, so migrate them to YAML. Signed-off-by: Sergio Paracuellos <sergio.paracuellos@gmail.com> Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> Link: https://lore.kernel.org/r/20220921072405.610739-1-sergio.paracuellos@gmail.com Signed-off-by: Rob Herring <robh@kernel.org>
1 parent e7c2194 commit 7227142

2 files changed

Lines changed: 46 additions & 47 deletions

File tree

Lines changed: 46 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,46 @@
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/mti,cpu-interrupt-controller.yaml#
5+
$schema: http://devicetree.org/meta-schemas/core.yaml#
6+
7+
title: MIPS CPU Interrupt Controller
8+
9+
description: >
10+
On MIPS the mips_cpu_irq_of_init() helper can be used to initialize the 8 CPU
11+
IRQs from a devicetree file and create a irq_domain for IRQ controller.
12+
13+
With the irq_domain in place we can describe how the 8 IRQs are wired to the
14+
platforms internal interrupt controller cascade.
15+
16+
maintainers:
17+
- Thomas Bogendoerfer <tsbogend@alpha.franken.de>
18+
19+
properties:
20+
compatible:
21+
const: mti,cpu-interrupt-controller
22+
23+
'#interrupt-cells':
24+
const: 1
25+
26+
'#address-cells':
27+
const: 0
28+
29+
interrupt-controller: true
30+
31+
additionalProperties: false
32+
33+
required:
34+
- compatible
35+
- '#interrupt-cells'
36+
- '#address-cells'
37+
- interrupt-controller
38+
39+
examples:
40+
- |
41+
interrupt-controller {
42+
compatible = "mti,cpu-interrupt-controller";
43+
#address-cells = <0>;
44+
#interrupt-cells = <1>;
45+
interrupt-controller;
46+
};

Documentation/devicetree/bindings/mips/cpu_irq.txt

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

0 commit comments

Comments
 (0)