Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

+52 -45
+52
Documentation/devicetree/bindings/interrupt-controller/qca,ar7100-misc-intc.yaml
··· 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 + };
-45
Documentation/devicetree/bindings/interrupt-controller/qca,ath79-misc-intc.txt
··· 1 - Binding for Qualcomm Atheros AR7xxx/AR9XXX MISC interrupt controller 2 - 3 - The MISC interrupt controller is a secondary controller for lower priority 4 - interrupt. 5 - 6 - Required Properties: 7 - - compatible: has to be "qca,<soctype>-cpu-intc", "qca,ar7100-misc-intc" or 8 - "qca,<soctype>-cpu-intc", "qca,ar7240-misc-intc" 9 - - reg: Base address and size of the controllers memory area 10 - - interrupts: Interrupt specifier for the controllers interrupt. 11 - - interrupt-controller : Identifies the node as an interrupt controller 12 - - #interrupt-cells : Specifies the number of cells needed to encode interrupt 13 - source, should be 1 14 - 15 - Compatible fallback depends on the SoC. Use ar7100 for ar71xx and ar913x, 16 - use ar7240 for all other SoCs. 17 - 18 - Please refer to interrupts.txt in this directory for details of the common 19 - Interrupt Controllers bindings used by client devices. 20 - 21 - Example: 22 - 23 - interrupt-controller@18060010 { 24 - compatible = "qca,ar9132-misc-intc", "qca,ar7100-misc-intc"; 25 - reg = <0x18060010 0x4>; 26 - 27 - interrupt-parent = <&cpuintc>; 28 - interrupts = <6>; 29 - 30 - interrupt-controller; 31 - #interrupt-cells = <1>; 32 - }; 33 - 34 - Another example: 35 - 36 - interrupt-controller@18060010 { 37 - compatible = "qca,ar9331-misc-intc", qca,ar7240-misc-intc"; 38 - reg = <0x18060010 0x4>; 39 - 40 - interrupt-parent = <&cpuintc>; 41 - interrupts = <6>; 42 - 43 - interrupt-controller; 44 - #interrupt-cells = <1>; 45 - };