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 marvell,armada-8k-pic to DT schema

Convert the Marvell 7K/8K PIC interrupt controller binding to schema
format. It's a straight-forward conversion of the typical interrupt
controller.

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

+52 -25
-25
Documentation/devicetree/bindings/interrupt-controller/marvell,armada-8k-pic.txt
··· 1 - Marvell Armada 7K/8K PIC Interrupt controller 2 - --------------------------------------------- 3 - 4 - This is the Device Tree binding for the PIC, a secondary interrupt 5 - controller available on the Marvell Armada 7K/8K ARM64 SoCs, and 6 - typically connected to the GIC as the primary interrupt controller. 7 - 8 - Required properties: 9 - - compatible: should be "marvell,armada-8k-pic" 10 - - interrupt-controller: identifies the node as an interrupt controller 11 - - #interrupt-cells: the number of cells to define interrupts on this 12 - controller. Should be 1 13 - - reg: the register area for the PIC interrupt controller 14 - - interrupts: the interrupt to the primary interrupt controller, 15 - typically the GIC 16 - 17 - Example: 18 - 19 - pic: interrupt-controller@3f0100 { 20 - compatible = "marvell,armada-8k-pic"; 21 - reg = <0x3f0100 0x10>; 22 - #interrupt-cells = <1>; 23 - interrupt-controller; 24 - interrupts = <GIC_PPI 15 IRQ_TYPE_LEVEL_HIGH>; 25 - };
+52
Documentation/devicetree/bindings/interrupt-controller/marvell,armada-8k-pic.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,armada-8k-pic.yaml# 5 + $schema: http://devicetree.org/meta-schemas/core.yaml# 6 + 7 + title: Marvell Armada 7K/8K PIC Interrupt controller 8 + 9 + maintainers: 10 + - Thomas Petazzoni <thomas.petazzoni@bootlin.com> 11 + 12 + description: 13 + The Marvell Armada 7K/8K PIC is a secondary interrupt controller available on 14 + the Marvell Armada 7K/8K ARM64 SoCs, and typically connected to the GIC as the 15 + primary interrupt controller. 16 + 17 + properties: 18 + compatible: 19 + const: marvell,armada-8k-pic 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 + description: Interrupt to the primary interrupt controller (GIC). 32 + 33 + required: 34 + - compatible 35 + - reg 36 + - "#interrupt-cells" 37 + - interrupt-controller 38 + - interrupts 39 + 40 + additionalProperties: false 41 + 42 + examples: 43 + - | 44 + #include <dt-bindings/interrupt-controller/arm-gic.h> 45 + 46 + interrupt-controller@3f0100 { 47 + compatible = "marvell,armada-8k-pic"; 48 + reg = <0x3f0100 0x10>; 49 + #interrupt-cells = <1>; 50 + interrupt-controller; 51 + interrupts = <GIC_PPI 15 IRQ_TYPE_LEVEL_HIGH>; 52 + };