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 Synquacer EXIU to DT schema

Convert the Socionext Synquacer EXIU interrupt controller to DT schema
format.

Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Link: https://lore.kernel.org/r/20221209171636.3351602-1-robh@kernel.org
Signed-off-by: Rob Herring <robh@kernel.org>

+53 -31
-31
Documentation/devicetree/bindings/interrupt-controller/socionext,synquacer-exiu.txt
··· 1 - Socionext SynQuacer External Interrupt Unit (EXIU) 2 - 3 - The Socionext Synquacer SoC has an external interrupt unit (EXIU) 4 - that forwards a block of 32 configurable input lines to 32 adjacent 5 - level-high type GICv3 SPIs. 6 - 7 - Required properties: 8 - 9 - - compatible : Should be "socionext,synquacer-exiu". 10 - - reg : Specifies base physical address and size of the 11 - control registers. 12 - - interrupt-controller : Identifies the node as an interrupt controller. 13 - - #interrupt-cells : Specifies the number of cells needed to encode an 14 - interrupt source. The value must be 3. 15 - - socionext,spi-base : The SPI number of the first SPI of the 32 adjacent 16 - ones the EXIU forwards its interrups to. 17 - 18 - Notes: 19 - 20 - - Only SPIs can use the EXIU as an interrupt parent. 21 - 22 - Example: 23 - 24 - exiu: interrupt-controller@510c0000 { 25 - compatible = "socionext,synquacer-exiu"; 26 - reg = <0x0 0x510c0000 0x0 0x20>; 27 - interrupt-controller; 28 - interrupt-parent = <&gic>; 29 - #interrupt-cells = <3>; 30 - socionext,spi-base = <112>; 31 - };
+53
Documentation/devicetree/bindings/interrupt-controller/socionext,synquacer-exiu.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/socionext,synquacer-exiu.yaml# 5 + $schema: http://devicetree.org/meta-schemas/core.yaml# 6 + 7 + title: Socionext SynQuacer External Interrupt Unit (EXIU) 8 + 9 + maintainers: 10 + - Ard Biesheuvel <ardb@kernel.org> 11 + 12 + description: |+ 13 + The Socionext SynQuacer SoC has an external interrupt unit (EXIU) 14 + that forwards a block of 32 configurable input lines to 32 adjacent 15 + level-high type GICv3 SPIs. 16 + 17 + properties: 18 + compatible: 19 + const: socionext,synquacer-exiu 20 + 21 + reg: 22 + maxItems: 1 23 + 24 + '#interrupt-cells': 25 + const: 3 26 + 27 + interrupt-controller: true 28 + 29 + socionext,spi-base: 30 + $ref: /schemas/types.yaml#/definitions/uint32 31 + description: The SPI number of the first SPI of the 32 adjacent ones the 32 + EXIU forwards its interrupts to. 33 + 34 + required: 35 + - compatible 36 + - reg 37 + - '#interrupt-cells' 38 + - interrupt-controller 39 + - socionext,spi-base 40 + 41 + unevaluatedProperties: false 42 + 43 + examples: 44 + - | 45 + interrupt-controller@510c0000 { 46 + compatible = "socionext,synquacer-exiu"; 47 + reg = <0x510c0000 0x20>; 48 + interrupt-controller; 49 + interrupt-parent = <&gic>; 50 + #interrupt-cells = <3>; 51 + socionext,spi-base = <112>; 52 + }; 53 + ...