diff options
Diffstat (limited to 'Documentation')
-rw-r--r-- | Documentation/PCI/pci.txt | 8 | ||||
-rw-r--r-- | Documentation/devicetree/bindings/pci/designware-pcie.txt | 7 |
2 files changed, 11 insertions, 4 deletions
diff --git a/Documentation/PCI/pci.txt b/Documentation/PCI/pci.txt index bccf602a87f5..6f458564d625 100644 --- a/Documentation/PCI/pci.txt +++ b/Documentation/PCI/pci.txt | |||
@@ -525,8 +525,9 @@ corresponding register block for you. | |||
525 | 6. Other interesting functions | 525 | 6. Other interesting functions |
526 | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | 526 | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ |
527 | 527 | ||
528 | pci_find_slot() Find pci_dev corresponding to given bus and | 528 | pci_get_domain_bus_and_slot() Find pci_dev corresponding to given domain, |
529 | slot numbers. | 529 | bus and slot and number. If the device is |
530 | found, its reference count is increased. | ||
530 | pci_set_power_state() Set PCI Power Management state (0=D0 ... 3=D3) | 531 | pci_set_power_state() Set PCI Power Management state (0=D0 ... 3=D3) |
531 | pci_find_capability() Find specified capability in device's capability | 532 | pci_find_capability() Find specified capability in device's capability |
532 | list. | 533 | list. |
@@ -582,7 +583,8 @@ having sane locking. | |||
582 | 583 | ||
583 | pci_find_device() Superseded by pci_get_device() | 584 | pci_find_device() Superseded by pci_get_device() |
584 | pci_find_subsys() Superseded by pci_get_subsys() | 585 | pci_find_subsys() Superseded by pci_get_subsys() |
585 | pci_find_slot() Superseded by pci_get_slot() | 586 | pci_find_slot() Superseded by pci_get_domain_bus_and_slot() |
587 | pci_get_slot() Superseded by pci_get_domain_bus_and_slot() | ||
586 | 588 | ||
587 | 589 | ||
588 | The alternative is the traditional PCI device driver that walks PCI | 590 | The alternative is the traditional PCI device driver that walks PCI |
diff --git a/Documentation/devicetree/bindings/pci/designware-pcie.txt b/Documentation/devicetree/bindings/pci/designware-pcie.txt index e216af356847..d5d26d443693 100644 --- a/Documentation/devicetree/bindings/pci/designware-pcie.txt +++ b/Documentation/devicetree/bindings/pci/designware-pcie.txt | |||
@@ -3,7 +3,7 @@ | |||
3 | Required properties: | 3 | Required properties: |
4 | - compatible: should contain "snps,dw-pcie" to identify the | 4 | - compatible: should contain "snps,dw-pcie" to identify the |
5 | core, plus an identifier for the specific instance, such | 5 | core, plus an identifier for the specific instance, such |
6 | as "samsung,exynos5440-pcie". | 6 | as "samsung,exynos5440-pcie" or "fsl,imx6q-pcie". |
7 | - reg: base addresses and lengths of the pcie controller, | 7 | - reg: base addresses and lengths of the pcie controller, |
8 | the phy controller, additional register for the phy controller. | 8 | the phy controller, additional register for the phy controller. |
9 | - interrupts: interrupt values for level interrupt, | 9 | - interrupts: interrupt values for level interrupt, |
@@ -21,6 +21,11 @@ Required properties: | |||
21 | - num-lanes: number of lanes to use | 21 | - num-lanes: number of lanes to use |
22 | - reset-gpio: gpio pin number of power good signal | 22 | - reset-gpio: gpio pin number of power good signal |
23 | 23 | ||
24 | Optional properties for fsl,imx6q-pcie | ||
25 | - power-on-gpio: gpio pin number of power-enable signal | ||
26 | - wake-up-gpio: gpio pin number of incoming wakeup signal | ||
27 | - disable-gpio: gpio pin number of outgoing rfkill/endpoint disable signal | ||
28 | |||
24 | Example: | 29 | Example: |
25 | 30 | ||
26 | SoC specific DT Entry: | 31 | SoC specific DT Entry: |