Skip to content

Commit ada94d0

Browse files
Mani-Sadhasivamkwilczynski
authored andcommitted
dt-bindings: PCI: pci-ep: Document 'linux,pci-domain' property
'linux,pci-domain' property provides the PCI domain number for the PCI endpoint controllers in a SoC. If this property is not present, then an unstable (across boots) unique number will be assigned. Devicetrees can specify the domain number based on the actual hardware instance of the PCI endpoint controllers in the SoC. Link: https://lore.kernel.org/linux-pci/[email protected] Signed-off-by: Manivannan Sadhasivam <[email protected]> Signed-off-by: Krzysztof Wilczyński <[email protected]> Reviewed-by: Rob Herring (Arm) <[email protected]>
1 parent 99244b9 commit ada94d0

File tree

2 files changed

+12
-0
lines changed

2 files changed

+12
-0
lines changed

Documentation/devicetree/bindings/pci/pci-ep.yaml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,17 @@ properties:
4242
default: 1
4343
maximum: 16
4444

45+
linux,pci-domain:
46+
description:
47+
If present this property assigns a fixed PCI domain number to a PCI
48+
Endpoint Controller, otherwise an unstable (across boots) unique number
49+
will be assigned. It is required to either not set this property at all
50+
or set it for all PCI endpoint controllers in the system, otherwise
51+
potentially conflicting domain numbers may be assigned to endpoint
52+
controllers. The domain number for each endpoint controller in the system
53+
must be unique.
54+
$ref: /schemas/types.yaml#/definitions/uint32
55+
4556
required:
4657
- compatible
4758

Documentation/devicetree/bindings/pci/qcom,pcie-ep.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -280,4 +280,5 @@ examples:
280280
phy-names = "pciephy";
281281
max-link-speed = <3>;
282282
num-lanes = <2>;
283+
linux,pci-domain = <0>;
283284
};

0 commit comments

Comments
 (0)