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

dt-bindings: interrupt-controller: Convert marvell,ap806-sei to DT schema

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

Link: https://lore.kernel.org/r/20250505144749.1290862-1-robh@kernel.org
Reviewed-by: Miquel Raynal <miquel.raynal@bootlin.com>
Signed-off-by: Rob Herring (Arm) <robh@kernel.org>

+58 -36
+58
Documentation/devicetree/bindings/interrupt-controller/marvell,ap806-sei.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/marvell,ap806-sei.yaml# 5 + $schema: http://devicetree.org/meta-schemas/core.yaml# 6 + 7 + title: Marvell SEI (System Error Interrupt) Controller 8 + 9 + maintainers: 10 + - Miquel Raynal <miquel.raynal@bootlin.com> 11 + 12 + description: > 13 + Marvell SEI (System Error Interrupt) controller is an interrupt aggregator. It 14 + receives interrupts from several sources and aggregates them to a single 15 + interrupt line (an SPI) on the parent interrupt controller. 16 + 17 + This interrupt controller can handle up to 64 SEIs, a set comes from the AP 18 + and is wired while a second set comes from the CPs by the mean of MSIs. 19 + 20 + properties: 21 + compatible: 22 + const: marvell,ap806-sei 23 + 24 + reg: 25 + maxItems: 1 26 + 27 + interrupts: 28 + maxItems: 1 29 + 30 + '#interrupt-cells': 31 + const: 1 32 + 33 + interrupt-controller: true 34 + 35 + msi-controller: true 36 + 37 + required: 38 + - compatible 39 + - reg 40 + - interrupts 41 + - '#interrupt-cells' 42 + - interrupt-controller 43 + - msi-controller 44 + 45 + additionalProperties: false 46 + 47 + examples: 48 + - | 49 + #include <dt-bindings/interrupt-controller/arm-gic.h> 50 + 51 + interrupt-controller@3f0200 { 52 + compatible = "marvell,ap806-sei"; 53 + reg = <0x3f0200 0x40>; 54 + interrupts = <GIC_SPI 0 IRQ_TYPE_LEVEL_HIGH>; 55 + #interrupt-cells = <1>; 56 + interrupt-controller; 57 + msi-controller; 58 + };
-36
Documentation/devicetree/bindings/interrupt-controller/marvell,sei.txt
··· 1 - Marvell SEI (System Error Interrupt) Controller 2 - ----------------------------------------------- 3 - 4 - Marvell SEI (System Error Interrupt) controller is an interrupt 5 - aggregator. It receives interrupts from several sources and aggregates 6 - them to a single interrupt line (an SPI) on the parent interrupt 7 - controller. 8 - 9 - This interrupt controller can handle up to 64 SEIs, a set comes from the 10 - AP and is wired while a second set comes from the CPs by the mean of 11 - MSIs. 12 - 13 - Required properties: 14 - 15 - - compatible: should be one of: 16 - * "marvell,ap806-sei" 17 - - reg: SEI registers location and length. 18 - - interrupts: identifies the parent IRQ that will be triggered. 19 - - #interrupt-cells: number of cells to define an SEI wired interrupt 20 - coming from the AP, should be 1. The cell is the IRQ 21 - number. 22 - - interrupt-controller: identifies the node as an interrupt controller 23 - for AP interrupts. 24 - - msi-controller: identifies the node as an MSI controller for the CPs 25 - interrupts. 26 - 27 - Example: 28 - 29 - sei: interrupt-controller@3f0200 { 30 - compatible = "marvell,ap806-sei"; 31 - reg = <0x3f0200 0x40>; 32 - interrupts = <GIC_SPI 0 IRQ_TYPE_LEVEL_HIGH>; 33 - #interrupt-cells = <1>; 34 - interrupt-controller; 35 - msi-controller; 36 - };