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

dt-bindings: interrupt-controller: Convert technologic,ts4800-irqc to DT schema

Convert the TS-4800 FPGA interrupt controller binding to schema format.
It's a straight-forward conversion of the typical interrupt controller.

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

+49 -14
+49
Documentation/devicetree/bindings/interrupt-controller/technologic,ts4800-irqc.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/technologic,ts4800-irqc.yaml# 5 + $schema: http://devicetree.org/meta-schemas/core.yaml# 6 + 7 + title: TS-4800 FPGA Interrupt Controller 8 + 9 + maintainers: 10 + - Damien Riegel <damien.riegel@savoirfairelinux.com> 11 + 12 + description: 13 + TS-4800 FPGA has an internal interrupt controller. When one of the interrupts 14 + is triggered, the SoC is notified, usually using a GPIO as parent interrupt 15 + source. 16 + 17 + properties: 18 + compatible: 19 + const: technologic,ts4800-irqc 20 + 21 + reg: 22 + maxItems: 1 23 + 24 + '#interrupt-cells': 25 + const: 1 26 + 27 + interrupt-controller: true 28 + 29 + interrupts: 30 + maxItems: 1 31 + 32 + required: 33 + - compatible 34 + - reg 35 + - interrupt-controller 36 + - '#interrupt-cells' 37 + - interrupts 38 + 39 + additionalProperties: false 40 + 41 + examples: 42 + - | 43 + interrupt-controller@1000 { 44 + compatible = "technologic,ts4800-irqc"; 45 + reg = <0x1000 0x80>; 46 + interrupt-controller; 47 + #interrupt-cells = <1>; 48 + interrupts = <10>; 49 + };
-14
Documentation/devicetree/bindings/interrupt-controller/technologic,ts4800.txt
··· 1 - TS-4800 FPGA interrupt controller 2 - 3 - TS-4800 FPGA has an internal interrupt controller. When one of the 4 - interrupts is triggered, the SoC is notified, usually using a GPIO as 5 - parent interrupt source. 6 - 7 - Required properties: 8 - - compatible: should be "technologic,ts4800-irqc" 9 - - interrupt-controller: identifies the node as an interrupt controller 10 - - reg: physical base address of the controller and length of memory mapped 11 - region 12 - - #interrupt-cells: specifies the number of cells needed to encode an interrupt 13 - source, should be 1. 14 - - interrupts: specifies the interrupt line in the interrupt-parent controller