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

dt-bindings: interrupt-controller: Convert snps,archs-intc to DT schema

Convert the ARC-HS incore interrupt controller binding to schema format.
It's a straight-forward conversion of the typical interrupt controller.

Link: https://lore.kernel.org/r/20250505144834.1292666-1-robh@kernel.org
Signed-off-by: Rob Herring (Arm) <robh@kernel.org>

+48 -22
-22
Documentation/devicetree/bindings/interrupt-controller/snps,archs-intc.txt
··· 1 - * ARC-HS incore Interrupt Controller (Provided by cores implementing ARCv2 ISA) 2 - 3 - Properties: 4 - 5 - - compatible: "snps,archs-intc" 6 - - interrupt-controller: This is an interrupt controller. 7 - - #interrupt-cells: Must be <1>. 8 - 9 - Single Cell "interrupts" property of a device specifies the IRQ number 10 - between 16 to 256 11 - 12 - intc accessed via the special ARC AUX register interface, hence "reg" property 13 - is not specified. 14 - 15 - Example: 16 - 17 - intc: interrupt-controller { 18 - compatible = "snps,archs-intc"; 19 - interrupt-controller; 20 - #interrupt-cells = <1>; 21 - interrupts = <16 17 18 19 20 21 22 23 24 25>; 22 - };
+48
Documentation/devicetree/bindings/interrupt-controller/snps,archs-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/snps,archs-intc.yaml# 5 + $schema: http://devicetree.org/meta-schemas/core.yaml# 6 + 7 + title: ARC-HS incore Interrupt Controller 8 + 9 + maintainers: 10 + - Vineet Gupta <vgupta@kernel.org> 11 + 12 + description: 13 + ARC-HS incore Interrupt Controller provided by cores implementing ARCv2 ISA. 14 + intc accessed via the special ARC AUX register interface, hence "reg" property 15 + is not specified. 16 + 17 + properties: 18 + compatible: 19 + const: snps,archs-intc 20 + 21 + interrupt-controller: true 22 + 23 + '#interrupt-cells': 24 + const: 1 25 + 26 + interrupts: 27 + description: List of IRQ numbers between 16 and 256 28 + items: 29 + items: 30 + - minimum: 16 31 + maximum: 256 32 + 33 + required: 34 + - compatible 35 + - interrupt-controller 36 + - '#interrupt-cells' 37 + - interrupts 38 + 39 + additionalProperties: false 40 + 41 + examples: 42 + - | 43 + interrupt-controller { 44 + compatible = "snps,archs-intc"; 45 + interrupt-controller; 46 + #interrupt-cells = <1>; 47 + interrupts = <16>, <17>, <18>, <19>, <20>, <21>, <22>, <23>, <24>, <25>; 48 + };