diff options
author | Sebastian Reichel <sebastian.reichel@collabora.com> | 2023-07-31 19:57:19 +0300 |
---|---|---|
committer | Rob Herring <robh@kernel.org> | 2023-08-16 19:09:19 +0300 |
commit | 84a7d0e5a293b0d4f51e14c09896734a52e03543 (patch) | |
tree | 1d3f85aa74ca5d2b31686e192e8a08ce0707cfb6 /Documentation/devicetree/bindings/pci/snps,dw-pcie.yaml | |
parent | 0268e1ae25949277da209ece770f9edf577db0ce (diff) | |
download | linux-84a7d0e5a293b0d4f51e14c09896734a52e03543.tar.xz |
dt-bindings: PCI: dwc: improve msi handling
Allow missing "msi" interrupt, iff the node has a "msi-map" property.
Signed-off-by: Sebastian Reichel <sebastian.reichel@collabora.com>
Link: https://lore.kernel.org/r/20230731165723.53069-2-sebastian.reichel@collabora.com
Signed-off-by: Rob Herring <robh@kernel.org>
Diffstat (limited to 'Documentation/devicetree/bindings/pci/snps,dw-pcie.yaml')
-rw-r--r-- | Documentation/devicetree/bindings/pci/snps,dw-pcie.yaml | 12 |
1 files changed, 9 insertions, 3 deletions
diff --git a/Documentation/devicetree/bindings/pci/snps,dw-pcie.yaml b/Documentation/devicetree/bindings/pci/snps,dw-pcie.yaml index 1a83f0f65f19..d2b4fb8f6dcd 100644 --- a/Documentation/devicetree/bindings/pci/snps,dw-pcie.yaml +++ b/Documentation/devicetree/bindings/pci/snps,dw-pcie.yaml @@ -25,6 +25,15 @@ select: allOf: - $ref: /schemas/pci/pci-bus.yaml# - $ref: /schemas/pci/snps,dw-pcie-common.yaml# + - if: + not: + required: + - msi-map + then: + properties: + interrupt-names: + contains: + const: msi properties: reg: @@ -193,9 +202,6 @@ properties: oneOf: - description: See native "app" IRQ for details enum: [ intr ] - allOf: - - contains: - const: msi additionalProperties: true |