Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 27e87395 authored by Bjorn Helgaas's avatar Bjorn Helgaas
Browse files

Merge branch 'pci/trivial' into next

* pci/trivial:
  PCI: Fix typos and whitespace errors
  PCI: Remove unused "res" variable from pci_resource_io()
  PCI: Correct kernel-doc of pci_vpd_srdt_size(), pci_vpd_srdt_tag()
parents 9198407e 96291d56
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -2090,7 +2090,7 @@ S: Kuala Lumpur, Malaysia


N: Mohit Kumar
N: Mohit Kumar
D: ST Microelectronics SPEAr13xx PCI host bridge driver
D: ST Microelectronics SPEAr13xx PCI host bridge driver
D: Synopsys Designware PCI host bridge driver
D: Synopsys DesignWare PCI host bridge driver


N: Gabor Kuti
N: Gabor Kuti
E: seasons@falcon.sch.bme.hu
E: seasons@falcon.sch.bme.hu
+3 −3
Original line number Original line Diff line number Diff line
* Freescale 83xx and 512x PCI bridges
* Freescale 83xx and 512x PCI bridges


Freescale 83xx and 512x SOCs include the same pci bridge core.
Freescale 83xx and 512x SOCs include the same PCI bridge core.


83xx/512x specific notes:
83xx/512x specific notes:
- reg: should contain two address length tuples
- reg: should contain two address length tuples
    The first is for the internal pci bridge registers
    The first is for the internal PCI bridge registers
    The second is for the pci config space access registers
    The second is for the PCI config space access registers


Example (MPC8313ERDB)
Example (MPC8313ERDB)
	pci0: pci@e0008500 {
	pci0: pci@e0008500 {
+9 −9
Original line number Original line Diff line number Diff line
@@ -7,21 +7,21 @@ Required properties:
		"Txs": TX slave port region
		"Txs": TX slave port region
		"Cra": Control register access region
		"Cra": Control register access region
- interrupt-parent:	interrupt source phandle.
- interrupt-parent:	interrupt source phandle.
- interrupts:	specifies the interrupt source of the parent interrupt controller.
- interrupts:	specifies the interrupt source of the parent interrupt
		The format of the interrupt specifier depends on the parent interrupt
		controller.  The format of the interrupt specifier depends
		controller.
		on the parent interrupt controller.
- device_type:	must be "pci"
- device_type:	must be "pci"
- #address-cells:	set to <3>
- #address-cells:	set to <3>
- #size-cells:		set to <2>
- #size-cells:		set to <2>
- #interrupt-cells:	set to <1>
- #interrupt-cells:	set to <1>
- ranges:		describes the translation of addresses for root ports and standard
- ranges:	describes the translation of addresses for root ports and
		PCI regions.
		standard PCI regions.
- interrupt-map-mask and interrupt-map: standard PCI properties to define the
- interrupt-map-mask and interrupt-map: standard PCI properties to define the
		mapping of the PCIe interface to interrupt numbers.
		mapping of the PCIe interface to interrupt numbers.


Optional properties:
Optional properties:
- msi-parent:	Link to the hardware entity that serves as the MSI controller for this PCIe
- msi-parent:	Link to the hardware entity that serves as the MSI controller
		controller.
		for this PCIe controller.
- bus-range:	PCI bus numbers covered
- bus-range:	PCI bus numbers covered


Example
Example
+1 −1
Original line number Original line Diff line number Diff line
@@ -6,7 +6,7 @@ and thus inherits all the common properties defined in designware-pcie.txt.
Required properties:
Required properties:
- compatible: "axis,artpec6-pcie", "snps,dw-pcie"
- compatible: "axis,artpec6-pcie", "snps,dw-pcie"
- reg: base addresses and lengths of the PCIe controller (DBI),
- reg: base addresses and lengths of the PCIe controller (DBI),
	the phy controller, and configuration address space.
	the PHY controller, and configuration address space.
- reg-names: Must include the following entries:
- reg-names: Must include the following entries:
	- "dbi"
	- "dbi"
	- "phy"
	- "phy"
+11 −13
Original line number Original line Diff line number Diff line
* Synopsys Designware PCIe interface
* Synopsys DesignWare PCIe interface


Required properties:
Required properties:
- compatible: should contain "snps,dw-pcie" to identify the core.
- compatible: should contain "snps,dw-pcie" to identify the core.
@@ -17,29 +17,27 @@ RC mode:
	properties to define the mapping of the PCIe interface to interrupt
	properties to define the mapping of the PCIe interface to interrupt
	numbers.
	numbers.
EP mode:
EP mode:
- num-ib-windows: number of inbound address translation
- num-ib-windows: number of inbound address translation windows
        windows
- num-ob-windows: number of outbound address translation windows
- num-ob-windows: number of outbound address translation
        windows


Optional properties:
Optional properties:
- num-lanes: number of lanes to use (this property should be specified unless
- num-lanes: number of lanes to use (this property should be specified unless
  the link is brought already up in BIOS)
  the link is brought already up in BIOS)
- reset-gpio: gpio pin number of power good signal
- reset-gpio: GPIO pin number of power good signal
- clocks: Must contain an entry for each entry in clock-names.
- clocks: Must contain an entry for each entry in clock-names.
	See ../clocks/clock-bindings.txt for details.
	See ../clocks/clock-bindings.txt for details.
- clock-names: Must include the following entries:
- clock-names: Must include the following entries:
	- "pcie"
	- "pcie"
	- "pcie_bus"
	- "pcie_bus"
RC mode:
RC mode:
- num-viewport: number of view ports configured in
- num-viewport: number of view ports configured in hardware. If a platform
  hardware. If a platform does not specify it, the driver assumes 2.
  does not specify it, the driver assumes 2.
- bus-range: PCI bus numbers covered (it is recommended
- bus-range: PCI bus numbers covered (it is recommended for new devicetrees
  for new devicetrees to specify this property, to keep backwards
  to specify this property, to keep backwards compatibility a range of
  compatibility a range of 0x00-0xff is assumed if not present)
  0x00-0xff is assumed if not present)

EP mode:
EP mode:
- max-functions: maximum number of functions that can be
- max-functions: maximum number of functions that can be configured
  configured


Example configuration:
Example configuration:


Loading