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

dt-bindings: interrupt-controller: convert bcm2836-l1-intc to yaml

Convert the DT binding document for BCM2836 per-CPU interrupt
controller from .txt to YAML.

Signed-off-by: Stefan Wahren <wahrenst@gmx.net>
Reviewed-by: Conor Dooley <conor.dooley@microchip.com>
Link: https://lore.kernel.org/r/20240812200358.4061-3-wahrenst@gmx.net
Signed-off-by: Florian Fainelli <florian.fainelli@broadcom.com>

authored by

Stefan Wahren and committed by
Florian Fainelli
2192ef5e 364ae876

+51 -37
-37
Documentation/devicetree/bindings/interrupt-controller/brcm,bcm2836-l1-intc.txt
··· 1 - BCM2836 per-CPU interrupt controller 2 - 3 - The BCM2836 has a per-cpu interrupt controller for the timer, PMU 4 - events, and SMP IPIs. One of the CPUs may receive interrupts for the 5 - peripheral (GPU) events, which chain to the BCM2835-style interrupt 6 - controller. 7 - 8 - Required properties: 9 - 10 - - compatible: Should be "brcm,bcm2836-l1-intc" 11 - - reg: Specifies base physical address and size of the 12 - registers 13 - - interrupt-controller: Identifies the node as an interrupt controller 14 - - #interrupt-cells: Specifies the number of cells needed to encode an 15 - interrupt source. The value shall be 2 16 - 17 - Please refer to interrupts.txt in this directory for details of the common 18 - Interrupt Controllers bindings used by client devices. 19 - 20 - The interrupt sources are as follows: 21 - 22 - 0: CNTPSIRQ 23 - 1: CNTPNSIRQ 24 - 2: CNTHPIRQ 25 - 3: CNTVIRQ 26 - 8: GPU_FAST 27 - 9: PMU_FAST 28 - 29 - Example: 30 - 31 - local_intc: local_intc { 32 - compatible = "brcm,bcm2836-l1-intc"; 33 - reg = <0x40000000 0x100>; 34 - interrupt-controller; 35 - #interrupt-cells = <2>; 36 - interrupt-parent = <&local_intc>; 37 - };
+51
Documentation/devicetree/bindings/interrupt-controller/brcm,bcm2836-l1-intc.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/brcm,bcm2836-l1-intc.yaml# 5 + $schema: http://devicetree.org/meta-schemas/core.yaml# 6 + 7 + title: BCM2836 per-CPU interrupt controller 8 + 9 + maintainers: 10 + - Stefan Wahren <wahrenst@gmx.net> 11 + - Raspberry Pi Kernel Maintenance <kernel-list@raspberrypi.com> 12 + 13 + description: 14 + The BCM2836 has a per-cpu interrupt controller for the timer, PMU 15 + events, and SMP IPIs. One of the CPUs may receive interrupts for the 16 + peripheral (GPU) events, which chain to the BCM2835-style interrupt 17 + controller. 18 + 19 + allOf: 20 + - $ref: /schemas/interrupt-controller.yaml# 21 + 22 + properties: 23 + compatible: 24 + const: brcm,bcm2836-l1-intc 25 + 26 + reg: 27 + maxItems: 1 28 + 29 + interrupt-controller: true 30 + 31 + '#interrupt-cells': 32 + const: 2 33 + 34 + required: 35 + - compatible 36 + - reg 37 + - interrupt-controller 38 + - '#interrupt-cells' 39 + 40 + additionalProperties: false 41 + 42 + examples: 43 + - | 44 + local_intc: interrupt-controller@40000000 { 45 + compatible = "brcm,bcm2836-l1-intc"; 46 + reg = <0x40000000 0x100>; 47 + interrupt-controller; 48 + #interrupt-cells = <2>; 49 + interrupt-parent = <&local_intc>; 50 + }; 51 + ...