Skip to content

Commit

Permalink
PCI: Add missing DT binding for "linux,pci-domain" property
Browse files Browse the repository at this point in the history
41e5c0f ("of/pci: Add pci_get_new_domain_nr() and
of_get_pci_domain_nr()") added parsing of the "linux,pci-domain" property,
but didn't add the binding documentation.

Since this property will be supported by a number of host bridge drivers,
add it to the common PCI binding doc.

Fixes: 41e5c0f ("of/pci: Add pci_get_new_domain_nr() and of_get_pci_domain_nr()")
Signed-off-by: Lucas Stach <[email protected]>
Signed-off-by: Bjorn Helgaas <[email protected]>
Acked-by: Liviu Dudau <[email protected]>
Acked-by: Rob Herring <[email protected]>
  • Loading branch information
lynxeye-dev authored and bjorn-helgaas committed Nov 13, 2014
1 parent 336b5be commit 2801f72
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions Documentation/devicetree/bindings/pci/pci.txt
Original file line number Diff line number Diff line change
Expand Up @@ -7,3 +7,14 @@ And for the interrupt mapping part:

Open Firmware Recommended Practice: Interrupt Mapping
http://www.openfirmware.org/1275/practice/imap/imap0_9d.pdf

Additionally to the properties specified in the above standards a host bridge
driver implementation may support the following properties:

- linux,pci-domain:
If present this property assigns a fixed PCI domain number to a host bridge,
otherwise an unstable (across boots) unique number will be assigned.
It is required to either not set this property at all or set it for all
host bridges in the system, otherwise potentially conflicting domain numbers
may be assigned to root buses behind different host bridges. The domain
number for each host bridge in the system must be unique.

0 comments on commit 2801f72

Please sign in to comment.