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

dt-bindings: interrupt-controller: Convert amazon,al-fic to DT schema

Convert the Amazon FIC interrupt controller binding to schema format.
It's a straight-forward conversion of the typical interrupt controller.

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

+47 -28
-27
Documentation/devicetree/bindings/interrupt-controller/amazon,al-fic.txt
··· 1 - Amazon's Annapurna Labs Fabric Interrupt Controller 2 - 3 - Required properties: 4 - 5 - - compatible: should be "amazon,al-fic" 6 - - reg: physical base address and size of the registers 7 - - interrupt-controller: identifies the node as an interrupt controller 8 - - #interrupt-cells : must be 2. Specifies the number of cells needed to encode 9 - an interrupt source. Supported trigger types are low-to-high edge 10 - triggered and active high level-sensitive. 11 - - interrupts: describes which input line in the interrupt parent, this 12 - fic's output is connected to. This field property depends on the parent's 13 - binding 14 - 15 - Please refer to interrupts.txt in this directory for details of the common 16 - Interrupt Controllers bindings used by client devices. 17 - 18 - Example: 19 - 20 - amazon_fic: interrupt-controller@fd8a8500 { 21 - compatible = "amazon,al-fic"; 22 - interrupt-controller; 23 - #interrupt-cells = <2>; 24 - reg = <0x0 0xfd8a8500 0x0 0x1000>; 25 - interrupt-parent = <&gic>; 26 - interrupts = <GIC_SPI 0x0 IRQ_TYPE_LEVEL_HIGH>; 27 - };
+46
Documentation/devicetree/bindings/interrupt-controller/amazon,al-fic.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/amazon,al-fic.yaml# 5 + $schema: http://devicetree.org/meta-schemas/core.yaml# 6 + 7 + title: Amazon Annapurna Labs Fabric Interrupt Controller 8 + 9 + maintainers: 10 + - Talel Shenhar <talel@amazon.com> 11 + 12 + properties: 13 + compatible: 14 + const: amazon,al-fic 15 + 16 + reg: 17 + maxItems: 1 18 + 19 + interrupt-controller: true 20 + 21 + '#interrupt-cells': 22 + const: 2 23 + 24 + interrupts: 25 + maxItems: 1 26 + 27 + required: 28 + - compatible 29 + - reg 30 + - interrupt-controller 31 + - '#interrupt-cells' 32 + - interrupts 33 + 34 + additionalProperties: false 35 + 36 + examples: 37 + - | 38 + #include <dt-bindings/interrupt-controller/arm-gic.h> 39 + 40 + interrupt-controller@fd8a8500 { 41 + compatible = "amazon,al-fic"; 42 + reg = <0xfd8a8500 0x1000>; 43 + interrupt-controller; 44 + #interrupt-cells = <2>; 45 + interrupts = <GIC_SPI 0x0 IRQ_TYPE_LEVEL_HIGH>; 46 + };
+1 -1
MAINTAINERS
··· 940 940 AMAZON ANNAPURNA LABS FIC DRIVER 941 941 M: Talel Shenhar <talel@amazon.com> 942 942 S: Maintained 943 - F: Documentation/devicetree/bindings/interrupt-controller/amazon,al-fic.txt 943 + F: Documentation/devicetree/bindings/interrupt-controller/amazon,al-fic.yaml 944 944 F: drivers/irqchip/irq-al-fic.c 945 945 946 946 AMAZON ANNAPURNA LABS MEMORY CONTROLLER EDAC