mirror of
https://github.com/NixOS/nixos-hardware.git
synced 2026-12-06 16:03:29 +01:00
45 lines
1.5 KiB
Diff
45 lines
1.5 KiB
Diff
From git@z Thu Jan 1 00:00:00 1970
|
|
Subject: [PATCH v4 4/6] dt-bindings: PCI: snps,dw-pcie: Add msi-parent for
|
|
MSI handle check
|
|
From: Inochi Amaoto <inochiama@gmail.com>
|
|
Date: Thu, 09 Jul 2026 12:00:24 +0800
|
|
Message-Id: <20260709040027.958400-5-inochiama@gmail.com>
|
|
MIME-Version: 1.0
|
|
Content-Type: text/plain; charset="utf-8"
|
|
Content-Transfer-Encoding: 7bit
|
|
|
|
The IMSIC device on RISC-V based system does not require ID
|
|
remapping for MSI. So this device only needs "msi-parent"
|
|
property for IMSIC-based SoC, and the "msi-map" is not a
|
|
necessary property.
|
|
|
|
Add new condition for MSI handling on IMSIC based SoC.
|
|
|
|
Signed-off-by: Inochi Amaoto <inochiama@gmail.com>
|
|
Acked-by: Rob Herring (Arm) <robh@kernel.org>
|
|
Tested-by: Aurelien Jarno <aurelien@aurel32.net>
|
|
---
|
|
Documentation/devicetree/bindings/pci/snps,dw-pcie.yaml | 7 +++++--
|
|
1 file changed, 5 insertions(+), 2 deletions(-)
|
|
|
|
diff --git a/Documentation/devicetree/bindings/pci/snps,dw-pcie.yaml b/Documentation/devicetree/bindings/pci/snps,dw-pcie.yaml
|
|
index b3216141881c..91bbbc8924f6 100644
|
|
--- a/Documentation/devicetree/bindings/pci/snps,dw-pcie.yaml
|
|
+++ b/Documentation/devicetree/bindings/pci/snps,dw-pcie.yaml
|
|
@@ -27,8 +27,11 @@ allOf:
|
|
- $ref: /schemas/pci/snps,dw-pcie-common.yaml#
|
|
- if:
|
|
not:
|
|
- required:
|
|
- - msi-map
|
|
+ anyOf:
|
|
+ - required:
|
|
+ - msi-map
|
|
+ - required:
|
|
+ - msi-parent
|
|
then:
|
|
properties:
|
|
interrupt-names:
|
|
--
|
|
2.55.0
|