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

Configure Feed

Select the types of activity you want to include in your feed.

dt-bindings: interrupt-controller: Convert abilis,tb10x-ictl to DT schema

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

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

+54 -37
-37
Documentation/devicetree/bindings/interrupt-controller/abilis,tb10x-ictl.txt
··· 1 - TB10x Top Level Interrupt Controller 2 - ==================================== 3 - 4 - The Abilis TB10x SOC contains a custom interrupt controller. It performs 5 - one-to-one mapping of external interrupt sources to CPU interrupts and 6 - provides support for reconfigurable trigger modes. 7 - 8 - Required properties 9 - ------------------- 10 - 11 - - compatible: Should be "abilis,tb10x-ictl" 12 - - reg: specifies physical base address and size of register range. 13 - - interrupt-congroller: Identifies the node as an interrupt controller. 14 - - #interrupt cells: Specifies the number of cells used to encode an interrupt 15 - source connected to this controller. The value shall be 2. 16 - - interrupts: Specifies the list of interrupt lines which are handled by 17 - the interrupt controller in the parent controller's notation. Interrupts 18 - are mapped one-to-one to parent interrupts. 19 - 20 - Example 21 - ------- 22 - 23 - intc: interrupt-controller { /* Parent interrupt controller */ 24 - interrupt-controller; 25 - #interrupt-cells = <1>; /* For example below */ 26 - /* ... */ 27 - }; 28 - 29 - tb10x_ictl: pic@2000 { /* TB10x interrupt controller */ 30 - compatible = "abilis,tb10x-ictl"; 31 - reg = <0x2000 0x20>; 32 - interrupt-controller; 33 - #interrupt-cells = <2>; 34 - interrupt-parent = <&intc>; 35 - interrupts = <5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 36 - 20 21 22 23 24 25 26 27 28 29 30 31>; 37 - };
+54
Documentation/devicetree/bindings/interrupt-controller/abilis,tb10x-ictl.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/abilis,tb10x-ictl.yaml# 5 + $schema: http://devicetree.org/meta-schemas/core.yaml# 6 + 7 + title: TB10x Top Level Interrupt Controller 8 + 9 + maintainers: 10 + - Christian Ruppert <christian.ruppert@abilis.com> 11 + 12 + description: 13 + The Abilis TB10x SOC contains a custom interrupt controller. It performs 14 + one-to-one mapping of external interrupt sources to CPU interrupts and 15 + provides support for reconfigurable trigger modes. 16 + 17 + properties: 18 + compatible: 19 + const: abilis,tb10x-ictl 20 + 21 + reg: 22 + maxItems: 1 23 + 24 + interrupt-controller: true 25 + 26 + '#interrupt-cells': 27 + const: 2 28 + 29 + interrupts: 30 + description: A one-to-one mapping of external interrupt sources to parent 31 + interrupts. 32 + minItems: 1 33 + maxItems: 32 34 + 35 + required: 36 + - compatible 37 + - reg 38 + - interrupt-controller 39 + - '#interrupt-cells' 40 + - interrupts 41 + 42 + additionalProperties: false 43 + 44 + examples: 45 + - | 46 + interrupt-controller@2000 { 47 + compatible = "abilis,tb10x-ictl"; 48 + reg = <0x2000 0x20>; 49 + interrupt-controller; 50 + #interrupt-cells = <2>; 51 + interrupts = <5>, <6>, <7>, <8>, <9>, <10>, <11>, <12>, <13>, <14>, 52 + <15>, <16>, <17>, <18>, <19>, <20>, <21>, <22>, <23>, 53 + <24>, <25>, <26>, <27>, <28>, <29>, <30>, <31>; 54 + };