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

dt-bindings: interrupt-controller: Convert al,alpine-msix to DT schema

Convert the Amazaon Alpine MSIX controller binding to schema format.

Drop the interrupt-controller property as the MSIX controller doesn't
provide interrupts. The interrupt-parent property is required in this
case for custom MSI mapping properties.

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

+49 -25
-25
Documentation/devicetree/bindings/interrupt-controller/al,alpine-msix.txt
··· 1 - Alpine MSIX controller 2 - 3 - See arm,gic-v3.txt for SPI and MSI definitions. 4 - 5 - Required properties: 6 - 7 - - compatible: should be "al,alpine-msix" 8 - - reg: physical base address and size of the registers 9 - - interrupt-controller: identifies the node as an interrupt controller 10 - - msi-controller: identifies the node as an PCI Message Signaled Interrupt 11 - controller 12 - - al,msi-base-spi: SPI base of the MSI frame 13 - - al,msi-num-spis: number of SPIs assigned to the MSI frame, relative to SPI0 14 - 15 - Example: 16 - 17 - msix: msix { 18 - compatible = "al,alpine-msix"; 19 - reg = <0x0 0xfbe00000 0x0 0x100000>; 20 - interrupt-parent = <&gic>; 21 - interrupt-controller; 22 - msi-controller; 23 - al,msi-base-spi = <160>; 24 - al,msi-num-spis = <160>; 25 - };
+49
Documentation/devicetree/bindings/interrupt-controller/al,alpine-msix.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/al,alpine-msix.yaml# 5 + $schema: http://devicetree.org/meta-schemas/core.yaml# 6 + 7 + title: Alpine MSIX controller 8 + 9 + maintainers: 10 + - Antoine Tenart <atenart@kernel.org> 11 + 12 + properties: 13 + compatible: 14 + const: al,alpine-msix 15 + 16 + reg: 17 + maxItems: 1 18 + 19 + interrupt-parent: true 20 + 21 + msi-controller: true 22 + 23 + al,msi-base-spi: 24 + description: SPI base of the MSI frame 25 + $ref: /schemas/types.yaml#/definitions/uint32 26 + 27 + al,msi-num-spis: 28 + description: number of SPIs assigned to the MSI frame, relative to SPI0 29 + $ref: /schemas/types.yaml#/definitions/uint32 30 + 31 + required: 32 + - compatible 33 + - reg 34 + - msi-controller 35 + - al,msi-base-spi 36 + - al,msi-num-spis 37 + 38 + additionalProperties: false 39 + 40 + examples: 41 + - | 42 + msi-controller@fbe00000 { 43 + compatible = "al,alpine-msix"; 44 + reg = <0xfbe00000 0x100000>; 45 + interrupt-parent = <&gic>; 46 + msi-controller; 47 + al,msi-base-spi = <160>; 48 + al,msi-num-spis = <160>; 49 + };