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

dt-bindings: interrupt-controller: Convert jcore,aic to DT schema

Convert the J-Core advanced interrupt controller binding to schema
format. It's a straight-forward conversion of the typical interrupt
controller.

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

+43 -26
-26
Documentation/devicetree/bindings/interrupt-controller/jcore,aic.txt
··· 1 - J-Core Advanced Interrupt Controller 2 - 3 - Required properties: 4 - 5 - - compatible: Should be "jcore,aic1" for the (obsolete) first-generation aic 6 - with 8 interrupt lines with programmable priorities, or "jcore,aic2" for 7 - the "aic2" core with 64 interrupts. 8 - 9 - - reg: Memory region(s) for configuration. For SMP, there should be one 10 - region per cpu, indexed by the sequential, zero-based hardware cpu 11 - number. 12 - 13 - - interrupt-controller: Identifies the node as an interrupt controller 14 - 15 - - #interrupt-cells: Specifies the number of cells needed to encode an 16 - interrupt source. The value shall be 1. 17 - 18 - 19 - Example: 20 - 21 - aic: interrupt-controller@200 { 22 - compatible = "jcore,aic2"; 23 - reg = < 0x200 0x30 0x500 0x30 >; 24 - interrupt-controller; 25 - #interrupt-cells = <1>; 26 - };
+43
Documentation/devicetree/bindings/interrupt-controller/jcore,aic.yaml
··· 1 + # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 2 + # Copyright 2018 Linaro Ltd. 3 + %YAML 1.2 4 + --- 5 + $id: http://devicetree.org/schemas/interrupt-controller/jcore,aic.yaml# 6 + $schema: http://devicetree.org/meta-schemas/core.yaml# 7 + 8 + title: J-Core Advanced Interrupt Controller 9 + 10 + maintainers: 11 + - Rich Felker <dalias@libc.org> 12 + 13 + properties: 14 + compatible: 15 + enum: 16 + - jcore,aic1 17 + - jcore,aic2 18 + 19 + reg: 20 + description: Memory region(s) for configuration. For SMP, there should be one 21 + region per CPU, indexed by the sequential, zero-based hardware CPU number. 22 + 23 + interrupt-controller: true 24 + 25 + '#interrupt-cells': 26 + const: 1 27 + 28 + required: 29 + - compatible 30 + - reg 31 + - interrupt-controller 32 + - '#interrupt-cells' 33 + 34 + additionalProperties: false 35 + 36 + examples: 37 + - | 38 + aic: interrupt-controller@200 { 39 + compatible = "jcore,aic2"; 40 + reg = <0x200 0x30>, <0x500 0x30>; 41 + interrupt-controller; 42 + #interrupt-cells = <1>; 43 + };