Skip to content

Commit fcec00d

Browse files
committed
dt-bindings: interrupt-controller: Convert qca,ar7100-misc-intc to DT schema
Convert the Qualcomm Atheros ath79 Misc interrupt controller binding to schema format. Adjust the compatible values to match what's actually in use. Link: https://lore.kernel.org/r/20250505144821.1292151-1-robh@kernel.org Signed-off-by: Rob Herring (Arm) <robh@kernel.org>
1 parent f3ce2e1 commit fcec00d

2 files changed

Lines changed: 52 additions & 45 deletions

File tree

Lines changed: 52 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,52 @@
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/qca,ar7100-misc-intc.yaml#
5+
$schema: http://devicetree.org/meta-schemas/core.yaml#
6+
7+
title: Qualcomm Atheros AR7xxx/AR9XXX MISC interrupt controller
8+
9+
maintainers:
10+
- Alban Bedel <albeu@free.fr>
11+
- Alexander Couzens <lynxis@fe80.eu>
12+
13+
description:
14+
The Qualcomm Atheros AR7xxx/AR9XXX MISC interrupt controller is a secondary
15+
controller for lower priority interrupts.
16+
17+
properties:
18+
compatible:
19+
oneOf:
20+
- items:
21+
- const: qca,ar9132-misc-intc
22+
- const: qca,ar7100-misc-intc
23+
- const: qca,ar7240-misc-intc
24+
reg:
25+
maxItems: 1
26+
27+
interrupts:
28+
maxItems: 1
29+
30+
interrupt-controller: true
31+
32+
'#interrupt-cells':
33+
const: 1
34+
35+
additionalProperties: false
36+
37+
required:
38+
- compatible
39+
- reg
40+
- interrupts
41+
- interrupt-controller
42+
- "#interrupt-cells"
43+
44+
examples:
45+
- |
46+
interrupt-controller@18060010 {
47+
compatible = "qca,ar9132-misc-intc", "qca,ar7100-misc-intc";
48+
reg = <0x18060010 0x4>;
49+
interrupts = <6>;
50+
interrupt-controller;
51+
#interrupt-cells = <1>;
52+
};

Documentation/devicetree/bindings/interrupt-controller/qca,ath79-misc-intc.txt

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

0 commit comments

Comments
 (0)