Skip to content

Commit 668c01b

Browse files
Stanislav Jakubekrobherring
Stanislav Jakubek
authored andcommitted
dt-bindings: interrupt-controller: Convert rda,8810pl-intc to YAML
Convert RDA Micro interrupt controller bindings to DT schema format. Signed-off-by: Stanislav Jakubek <stano.jakubek@gmail.com> Signed-off-by: Rob Herring <robh@kernel.org> Link: https://lore.kernel.org/r/20220611180703.GA24988@standask-GA-A55M-S2HP
1 parent 38a85b9 commit 668c01b

File tree

3 files changed

+44
-62
lines changed

3 files changed

+44
-62
lines changed

Documentation/devicetree/bindings/interrupt-controller/rda,8810pl-intc.txt

Lines changed: 0 additions & 61 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/rda,8810pl-intc.yaml#
5+
$schema: http://devicetree.org/meta-schemas/core.yaml#
6+
7+
title: RDA Micro RDA8810PL interrupt controller
8+
9+
maintainers:
10+
- Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org>
11+
12+
allOf:
13+
- $ref: /schemas/interrupt-controller.yaml#
14+
15+
properties:
16+
compatible:
17+
const: rda,8810pl-intc
18+
19+
reg:
20+
maxItems: 1
21+
22+
interrupt-controller: true
23+
24+
'#interrupt-cells':
25+
const: 2
26+
27+
required:
28+
- compatible
29+
- reg
30+
- interrupt-controller
31+
- '#interrupt-cells'
32+
33+
additionalProperties: false
34+
35+
examples:
36+
- |
37+
intc: interrupt-controller@0 {
38+
compatible = "rda,8810pl-intc";
39+
reg = <0x0 0x1000>;
40+
interrupt-controller;
41+
#interrupt-cells = <2>;
42+
};
43+
...

MAINTAINERS

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2587,7 +2587,7 @@ L: linux-unisoc@lists.infradead.org (moderated for non-subscribers)
25872587
S: Maintained
25882588
F: Documentation/devicetree/bindings/arm/rda.yaml
25892589
F: Documentation/devicetree/bindings/gpio/gpio-rda.yaml
2590-
F: Documentation/devicetree/bindings/interrupt-controller/rda,8810pl-intc.txt
2590+
F: Documentation/devicetree/bindings/interrupt-controller/rda,8810pl-intc.yaml
25912591
F: Documentation/devicetree/bindings/serial/rda,8810pl-uart.yaml
25922592
F: Documentation/devicetree/bindings/timer/rda,8810pl-timer.yaml
25932593
F: arch/arm/boot/dts/rda8810pl-*

0 commit comments

Comments
 (0)