]> git.proxmox.com Git - mirror_ubuntu-hirsute-kernel.git/commitdiff
PCI: Fix typos and whitespace errors
authorBjorn Helgaas <bhelgaas@google.com>
Fri, 1 Sep 2017 21:35:50 +0000 (16:35 -0500)
committerBjorn Helgaas <bhelgaas@google.com>
Fri, 1 Sep 2017 21:35:50 +0000 (16:35 -0500)
Fix various typos and whitespace errors:

  s/Synopsis/Synopsys/
  s/Designware/DesignWare/
  s/Keystine/Keystone/
  s/gpio/GPIO/
  s/pcie/PCIe/
  s/phy/PHY/
  s/confgiruation/configuration/

No functional change intended.

Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
37 files changed:
CREDITS
Documentation/devicetree/bindings/pci/83xx-512x-pci.txt
Documentation/devicetree/bindings/pci/altera-pcie.txt
Documentation/devicetree/bindings/pci/axis,artpec6-pcie.txt
Documentation/devicetree/bindings/pci/designware-pcie.txt
Documentation/devicetree/bindings/pci/fsl,imx6q-pcie.txt
Documentation/devicetree/bindings/pci/hisilicon-pcie.txt
Documentation/devicetree/bindings/pci/kirin-pcie.txt
Documentation/devicetree/bindings/pci/layerscape-pci.txt
Documentation/devicetree/bindings/pci/mvebu-pci.txt
Documentation/devicetree/bindings/pci/pci-armada8k.txt
Documentation/devicetree/bindings/pci/pci-keystone.txt
Documentation/devicetree/bindings/pci/qcom,pcie.txt
Documentation/devicetree/bindings/pci/ralink,rt3883-pci.txt
Documentation/devicetree/bindings/pci/rcar-pci.txt
Documentation/devicetree/bindings/pci/rockchip-pcie.txt
Documentation/devicetree/bindings/pci/samsung,exynos5440-pcie.txt
Documentation/devicetree/bindings/pci/spear13xx-pcie.txt
Documentation/devicetree/bindings/pci/ti-pci.txt
Documentation/devicetree/bindings/pci/versatile.txt
Documentation/devicetree/bindings/pci/xgene-pci-msi.txt
Documentation/devicetree/bindings/pci/xgene-pci.txt
Documentation/devicetree/bindings/pci/xilinx-nwl-pcie.txt
MAINTAINERS
drivers/pci/dwc/Kconfig
drivers/pci/dwc/pci-dra7xx.c
drivers/pci/dwc/pci-keystone-dw.c
drivers/pci/dwc/pcie-designware-ep.c
drivers/pci/dwc/pcie-designware-host.c
drivers/pci/dwc/pcie-designware.c
drivers/pci/dwc/pcie-designware.h
drivers/pci/host/pcie-rockchip.c
drivers/pci/host/pcie-xilinx.c
drivers/pci/pcie/aer/aerdrv_core.c
drivers/pci/quirks.c
include/linux/aer.h
include/linux/pcieport_if.h

diff --git a/CREDITS b/CREDITS
index 5d09c26d69cdc0f4709cf48f5f3ff6195d53e85d..0d2d60de5a2539cc48c21eee25a226b08b8a2040 100644 (file)
--- a/CREDITS
+++ b/CREDITS
@@ -2090,7 +2090,7 @@ S: Kuala Lumpur, Malaysia
 
 N: Mohit Kumar
 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
 E: seasons@falcon.sch.bme.hu
index 35a465362408c2916797f2cf2f107232bb92fe30..b9165b72473c10f6245bd656a6ac169d67cd3257 100644 (file)
@@ -1,11 +1,11 @@
 * 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:
 - reg: should contain two address length tuples
-    The first is for the internal pci bridge registers
-    The second is for the pci config space access registers
+    The first is for the internal PCI bridge registers
+    The second is for the PCI config space access registers
 
 Example (MPC8313ERDB)
        pci0: pci@e0008500 {
index 2951a6a50704bf3234782be2e64abcfaf2496684..495880193adc8c9e9403b5fda893df580718630c 100644 (file)
@@ -7,21 +7,21 @@ Required properties:
                "Txs": TX slave port region
                "Cra": Control register access region
 - interrupt-parent:    interrupt source phandle.
-- interrupts:  specifies the interrupt source of the parent interrupt controller.
-               The format of the interrupt specifier depends on the parent interrupt
-               controller.
+- interrupts:  specifies the interrupt source of the parent interrupt
+               controller.  The format of the interrupt specifier depends
+               on the parent interrupt controller.
 - device_type: must be "pci"
 - #address-cells:      set to <3>
-- #size-cells: set to <2>
+- #size-cells:         set to <2>
 - #interrupt-cells:    set to <1>
-- ranges:              describes the translation of addresses for root ports and standard
-               PCI regions.
+- ranges:      describes the translation of addresses for root ports and
+               standard PCI regions.
 - interrupt-map-mask and interrupt-map: standard PCI properties to define the
                mapping of the PCIe interface to interrupt numbers.
 
 Optional properties:
-- msi-parent:  Link to the hardware entity that serves as the MSI controller for this PCIe
-               controller.
+- msi-parent:  Link to the hardware entity that serves as the MSI controller
+               for this PCIe controller.
 - bus-range:   PCI bus numbers covered
 
 Example
@@ -45,5 +45,5 @@ Example
                                    <0 0 0 3 &pcie_0 3>,
                                    <0 0 0 4 &pcie_0 4>;
                ranges = <0x82000000 0x00000000 0x00000000 0xc0000000 0x00000000 0x10000000
-                           0x82000000 0x00000000 0x10000000 0xd0000000 0x00000000 0x10000000>;
+                         0x82000000 0x00000000 0x10000000 0xd0000000 0x00000000 0x10000000>;
        };
index 5ecaea1e6eee8bdbd533f45d1afe371820b72b8d..4e4aee4439ea12acc6eb43a24587e7d67a8acd2e 100644 (file)
@@ -6,7 +6,7 @@ and thus inherits all the common properties defined in designware-pcie.txt.
 Required properties:
 - compatible: "axis,artpec6-pcie", "snps,dw-pcie"
 - 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:
        - "dbi"
        - "phy"
index b2480dd38c1135747c6bcceb5153df94a6a36326..1da7ade3183c8f7e0b88a7315036bdd16fcaa09c 100644 (file)
@@ -1,4 +1,4 @@
-* Synopsys Designware PCIe interface
+* Synopsys DesignWare PCIe interface
 
 Required properties:
 - 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
        numbers.
 EP mode:
-- num-ib-windows: number of inbound address translation
-        windows
-- num-ob-windows: number of outbound address translation
-        windows
+- num-ib-windows: number of inbound address translation windows
+- num-ob-windows: number of outbound address translation windows
 
 Optional properties:
 - num-lanes: number of lanes to use (this property should be specified unless
   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.
        See ../clocks/clock-bindings.txt for details.
 - clock-names: Must include the following entries:
        - "pcie"
        - "pcie_bus"
 RC mode:
-- num-viewport: number of view ports configured in
-  hardware. If a platform does not specify it, the driver assumes 2.
-- bus-range: PCI bus numbers covered (it is recommended
-  for new devicetrees to specify this property, to keep backwards
-  compatibility a range of 0x00-0xff is assumed if not present)
+- num-viewport: number of view ports configured in hardware. If a platform
+  does not specify it, the driver assumes 2.
+- bus-range: PCI bus numbers covered (it is recommended for new devicetrees
+  to specify this property, to keep backwards compatibility a range of
+  0x00-0xff is assumed if not present)
+
 EP mode:
-- max-functions: maximum number of functions that can be
-  configured
+- max-functions: maximum number of functions that can be configured
 
 Example configuration:
 
index cf92d3ba5a269fc10de4eef2057b33fd4fcd6928..7b1e48bf172b74ba51755409cf8510dc0a15fb6d 100644 (file)
@@ -1,6 +1,6 @@
 * Freescale i.MX6 PCIe interface
 
-This PCIe host controller is based on the Synopsis Designware PCIe IP
+This PCIe host controller is based on the Synopsys DesignWare PCIe IP
 and thus inherits all the common properties defined in designware-pcie.txt.
 
 Required properties:
index a339dbb154933282ee06aaeec0571e0d95a72b42..b0fd3ba66ec9281273bfe7e4a3a843055fb842e7 100644 (file)
@@ -1,7 +1,7 @@
 HiSilicon Hip05 and Hip06 PCIe host bridge DT description
 
-HiSilicon PCIe host controller is based on Designware PCI core.
-It shares common functions with PCIe Designware core driver and inherits
+HiSilicon PCIe host controller is based on the Synopsys DesignWare PCI core.
+It shares common functions with the PCIe DesignWare core driver and inherits
 common properties defined in
 Documentation/devicetree/bindings/pci/designware-pci.txt.
 
index 68ffa0fbcd73361b61807d2eef5975846439cadb..6e217c63123db6c1021dba04d09ec419be05fd67 100644 (file)
@@ -1,8 +1,8 @@
 HiSilicon Kirin SoCs PCIe host DT description
 
-Kirin PCIe host controller is based on Designware PCI core.
-It shares common functions with PCIe Designware core driver
-and inherits common properties defined in
+Kirin PCIe host controller is based on the Synopsys DesignWare PCI core.
+It shares common functions with the PCIe DesignWare core driver and
+inherits common properties defined in
 Documentation/devicetree/bindings/pci/designware-pci.txt.
 
 Additional properties are described here:
@@ -16,7 +16,7 @@ Required properties
   "apb": apb Ctrl register defined by Kirin;
   "phy": apb PHY register defined by Kirin;
   "config": PCIe configuration space registers.
-- reset-gpios: The gpio to generate PCIe perst assert and deassert signal.
+- reset-gpios: The GPIO to generate PCIe PERST# assert and deassert signal.
 
 Optional properties:
 
index ee1c72d5162ea191ca9a83fd8dcd7baac21312fa..e00c706f85d9c8ad5c908764901ea609073ed6be 100644 (file)
@@ -16,7 +16,7 @@ Required properties:
         "fsl,ls1021a-pcie", "snps,dw-pcie"
         "fsl,ls2080a-pcie", "fsl,ls2085a-pcie", "snps,dw-pcie"
         "fsl,ls1046a-pcie"
-- reg: base addresses and lengths of the PCIe controller
+- reg: base addresses and lengths of the PCIe controller register blocks.
 - interrupts: A list of interrupt outputs of the controller. Must contain an
   entry for each entry in the interrupt-names property.
 - interrupt-names: Must include the following entries:
index 2de6f65ecfb11017e31a3313cdc07fce0c9dbb00..196e034f687906916330c014ed9928fb092c2251 100644 (file)
@@ -77,7 +77,7 @@ and the following optional properties:
 - marvell,pcie-lane: the physical PCIe lane number, for ports having
   multiple lanes. If this property is not found, we assume that the
   value is 0.
-- reset-gpios: optional gpio to PERST#
+- reset-gpios: optional GPIO to PERST#
 - reset-delay-us: delay in us to wait after reset de-assertion, if not
   specified will default to 100ms, as required by the PCIe specification.
 
index 598533a57d79bc0155e456fdd3bac0a715b661c6..c54a84350ec859ea9b4277f4207f5ac343ad29e1 100644 (file)
@@ -1,6 +1,6 @@
 * Marvell Armada 7K/8K PCIe interface
 
-This PCIe host controller is based on the Synopsis Designware PCIe IP
+This PCIe host controller is based on the Synopsys DesignWare PCIe IP
 and thus inherits all the common properties defined in designware-pcie.txt.
 
 Required properties:
index d08a4d51108f7419e2ec547dbed4d9b9620ccc09..7e05487544edffae025e1071406fe711cf220773 100644 (file)
@@ -1,12 +1,12 @@
 TI Keystone PCIe interface
 
-Keystone PCI host Controller is based on Designware PCI h/w version 3.65.
-It shares common functions with PCIe Designware core driver and inherit
-common properties defined in
+Keystone PCI host Controller is based on the Synopsys DesignWare PCI
+hardware version 3.65.  It shares common functions with the PCIe DesignWare
+core driver and inherits common properties defined in
 Documentation/devicetree/bindings/pci/designware-pci.txt
 
 Please refer to Documentation/devicetree/bindings/pci/designware-pci.txt
-for the details of Designware DT bindings.  Additional properties are
+for the details of DesignWare DT bindings.  Additional properties are
 described here as well as properties that are not applicable.
 
 Required Properties:-
@@ -52,13 +52,12 @@ pcie_intc: Interrupt controller device node for Legacy IRQ chip
        };
 
 Optional properties:-
-       phys: phandle to Generic Keystone SerDes phy for PCI
-       phy-names: name of the Generic Keystine SerDes phy for PCI
+       phys: phandle to generic Keystone SerDes PHY for PCI
+       phy-names: name of the generic Keystone SerDes PHY for PCI
          - If boot loader already does PCI link establishment, then phys and
            phy-names shouldn't be present.
        interrupts: platform interrupt for error interrupts.
 
-Designware DT Properties not applicable for Keystone PCI
+DesignWare DT Properties not applicable for Keystone PCI
 
 1. pcie_bus clock-names not used.  Instead, a phandle to phys is used.
-
index 9d418b71774f356c22c640c72943a836fdb5fe14..1425bb639300111963d95d08d709554efad5adc0 100644 (file)
@@ -20,7 +20,7 @@
        Value type: <stringlist>
        Definition: Must include the following entries
                        - "parf"   Qualcomm specific registers
-                       - "dbi"    Designware PCIe registers
+                       - "dbi"    DesignWare PCIe registers
                        - "elbi"   External local bus interface registers
                        - "config" PCIe configuration space
 
 - <name>-gpios:
        Usage: optional
        Value type: <prop-encoded-array>
-       Definition: List of phandle and gpio specifier pairs. Should contain
+       Definition: List of phandle and GPIO specifier pairs. Should contain
                        - "perst-gpios" PCIe endpoint reset signal line
                        - "wake-gpios"  PCIe endpoint wake signal line
 
index 8e0a1eb0acbbd73938e9a22cba8e96f497e9ef59..a04ab1b762110fc3f63441e5aa771c04334a6a44 100644 (file)
@@ -71,7 +71,7 @@
    - interrupt-map: standard PCI properties to define the mapping of the
      PCI interface to interrupt numbers.
 
-   The PCI host bridge node migh have additional sub-nodes representing
+   The PCI host bridge node might have additional sub-nodes representing
    the onboard PCI devices/PCI slots. Each such sub-node must have the
    following mandatory properties:
 
index bd27428dda619d613a1af05dbd583b743c0e6c22..6b5b388fbc99a757e6e3b0a623c13f1154a9fc3c 100644 (file)
@@ -14,7 +14,7 @@ compatible: "renesas,pcie-r8a7779" for the R8A7779 SoC;
            SoC-specific version corresponding to the platform first
            followed by the generic version.
 
-- reg: base address and length of the pcie controller registers.
+- reg: base address and length of the PCIe controller registers.
 - #address-cells: set to <3>
 - #size-cells: set to <2>
 - bus-range: PCI bus numbers covered
@@ -25,15 +25,14 @@ compatible: "renesas,pcie-r8a7779" for the R8A7779 SoC;
        source for hardware related interrupts (e.g. link speed change).
 - #interrupt-cells: set to <1>
 - interrupt-map-mask and interrupt-map: standard PCI properties
-       to define the mapping of the PCIe interface to interrupt
-       numbers.
+       to define the mapping of the PCIe interface to interrupt numbers.
 - clocks: from common clock binding: clock specifiers for the PCIe controller
        and PCIe bus clocks.
 - clock-names: from common clock binding: should be "pcie" and "pcie_bus".
 
 Example:
 
-SoC specific DT Entry:
+SoC-specific DT Entry:
 
        pcie: pcie@fe000000 {
                compatible = "renesas,pcie-r8a7791", "renesas,pcie-rcar-gen2";
index 1453a734c2f5b53bf606807e99871619ca132b12..1136e928210813e99e01396adfb7b5639970462c 100644 (file)
@@ -45,7 +45,7 @@ Required properties:
 Optional Property:
 - aspm-no-l0s: RC won't support ASPM L0s. This property is needed if
        using 24MHz OSC for RC's PHY.
-- ep-gpios: contain the entry for pre-reset gpio
+- ep-gpios: contain the entry for pre-reset GPIO
 - num-lanes: number of lanes to use
 - vpcie3v3-supply: The phandle to the 3.3v regulator to use for PCIe.
 - vpcie1v8-supply: The phandle to the 1.8v regulator to use for PCIe.
index 7d3b09474657b81b7574932786e856475ead2f10..34a11bfbfb600ea38ceaabfea145811b4f40f946 100644 (file)
@@ -1,29 +1,29 @@
 * Samsung Exynos 5440 PCIe interface
 
-This PCIe host controller is based on the Synopsis Designware PCIe IP
+This PCIe host controller is based on the Synopsys DesignWare PCIe IP
 and thus inherits all the common properties defined in designware-pcie.txt.
 
 Required properties:
 - compatible: "samsung,exynos5440-pcie"
-- reg: base addresses and lengths of the pcie controller,
-       the phy controller, additional register for the phy controller.
-       (Registers for the phy controller are DEPRECATED.
+- reg: base addresses and lengths of the PCIe controller,
+       the PHY controller, additional register for the PHY controller.
+       (Registers for the PHY controller are DEPRECATED.
         Use the PHY framework.)
 - reg-names : First name should be set to "elbi".
-       And use the "config" instead of getting the confgiruation address space
+       And use the "config" instead of getting the configuration address space
        from "ranges".
-       NOTE: When use the "config" property, reg-names must be set.
+       NOTE: When using the "config" property, reg-names must be set.
 - interrupts: A list of interrupt outputs for level interrupt,
        pulse interrupt, special interrupt.
-- phys: From PHY binding. Phandle for the Generic PHY.
+- phys: From PHY binding. Phandle for the generic PHY.
        Refer to Documentation/devicetree/bindings/phy/samsung-phy.txt
 
-Other common properties refer to
-       Documentation/devicetree/binding/pci/designware-pcie.txt
+For other common properties, refer to
+       Documentation/devicetree/bindings/pci/designware-pcie.txt
 
 Example:
 
-SoC specific DT Entry:
+SoC-specific DT Entry:
 
        pcie@290000 {
                compatible = "samsung,exynos5440-pcie", "snps,dw-pcie";
@@ -83,7 +83,7 @@ With using PHY framework:
                ...
        };
 
-Board specific DT Entry:
+Board-specific DT Entry:
 
        pcie@290000 {
                reset-gpio = <&pin_ctrl 5 0>;
index 49ea76da77183cf89a15a1cfff13ed4a7ac1b3c5..d5a14f5dad46cc5937031045cc0bd698610130f4 100644 (file)
@@ -1,12 +1,12 @@
 SPEAr13XX PCIe DT detail:
 ================================
 
-SPEAr13XX uses synopsis designware PCIe controller and ST MiPHY as phy
+SPEAr13XX uses the Synopsys DesignWare PCIe controller and ST MiPHY as PHY
 controller.
 
 Required properties:
-- compatible : should be "st,spear1340-pcie", "snps,dw-pcie".
-- phys             : phandle to phy node associated with pcie controller
+- compatible       : should be "st,spear1340-pcie", "snps,dw-pcie".
+- phys             : phandle to PHY node associated with PCIe controller
 - phy-names        : must be "pcie-phy"
 - All other definitions as per generic PCI bindings
 
index 6a07c96227e0a0a9bd96530c2833df195657e7dc..7f7af3044016a6b4578cb4df6e8ff90e2a7ed45c 100644 (file)
@@ -1,6 +1,6 @@
 TI PCI Controllers
 
-PCIe Designware Controller
+PCIe DesignWare Controller
  - compatible: Should be "ti,dra7-pcie" for RC
               Should be "ti,dra7-pcie-ep" for EP
  - phys : list of PHY specifiers (used by generic PHY framework)
@@ -13,7 +13,7 @@ PCIe Designware Controller
 HOST MODE
 =========
  - reg : Two register ranges as listed in the reg-names property
- - reg-names : The first entry must be "ti-conf" for the TI specific registers
+ - reg-names : The first entry must be "ti-conf" for the TI-specific registers
               The second entry must be "rc-dbics" for the DesignWare PCIe
               registers
               The third entry must be "config" for the PCIe configuration space
@@ -30,7 +30,7 @@ HOST MODE
 DEVICE MODE
 ===========
  - reg : Four register ranges as listed in the reg-names property
- - reg-names : "ti-conf" for the TI specific registers
+ - reg-names : "ti-conf" for the TI-specific registers
               "ep_dbics" for the standard configuration registers as
                they are locally accessed within the DIF CS space
               "ep_dbics2" for the standard configuration registers as
@@ -46,7 +46,7 @@ DEVICE MODE
                               access.
 
 Optional Property:
- - gpios : Should be added if a gpio line is required to drive PERST# line
+ - gpios : Should be added if a GPIO line is required to drive PERST# line
 
 NOTE: Two DT nodes may be added for each PCI controller; one for host
 mode and another for device mode. So in order for PCI to
index ebd1e7d0403ed1406a846f0cf08f173cb3a8eab7..0a702b13d2acc28a5e460f033384e2d4f57dbc25 100644 (file)
@@ -5,7 +5,7 @@ PCI host controller found on the ARM Versatile PB board's FPGA.
 Required properties:
 - compatible: should contain "arm,versatile-pci" to identify the Versatile PCI
   controller.
-- reg: base addresses and lengths of the pci controller. There must be 3
+- reg: base addresses and lengths of the PCI controller. There must be 3
   entries:
        - Versatile-specific registers
        - Self Config space
index 36d881c8e6d448e835430bfe227bdad85ed54b1a..09ac2dc3afc1e5099b0ed5b5a42c13e8f41a1a9c 100644 (file)
@@ -4,7 +4,7 @@ Required properties:
 
 - compatible: should be "apm,xgene1-msi" to identify
              X-Gene v1 PCIe MSI controller block.
-- msi-controller: indicates that this is X-Gene v1 PCIe MSI controller node
+- msi-controller: indicates that this is an X-Gene v1 PCIe MSI controller node
 - reg: physical base address (0x79000000) and length (0x900000) for controller
        registers. These registers include the MSI termination address and data
        registers as well as the MSI interrupt status registers.
@@ -13,7 +13,8 @@ Required properties:
              interrupt number 0x10 to 0x1f.
 - interrupt-names: not required
 
-Each PCIe node needs to have property msi-parent that points to msi controller node
+Each PCIe node needs to have property msi-parent that points to an MSI
+controller node
 
 Examples:
 
index 1070b068c7c6496e917eadeff79083b41328077a..6fd2decfa66c4b30d0de6d77f57ceef77eadd28a 100644 (file)
@@ -8,7 +8,7 @@ Required properties:
        property.
 - reg-names: Must include the following entries:
   "csr": controller configuration registers.
-  "cfg": pcie configuration space registers.
+  "cfg": PCIe configuration space registers.
 - #address-cells: set to <3>
 - #size-cells: set to <2>
 - ranges: ranges for the outbound memory, I/O regions.
@@ -21,11 +21,11 @@ Required properties:
 
 Optional properties:
 - status: Either "ok" or "disabled".
-- dma-coherent: Present if dma operations are coherent
+- dma-coherent: Present if DMA operations are coherent
 
 Example:
 
-SoC specific DT Entry:
+SoC-specific DT Entry:
 
        pcie0: pcie@1f2b0000 {
                status = "disabled";
@@ -51,7 +51,7 @@ SoC specific DT Entry:
        };
 
 
-Board specific DT Entry:
+Board-specific DT Entry:
        &pcie0 {
                status = "ok";
        };
index 3259798a1192b051520b3cad2412a6f59fb6dfa5..01bf7fdf4c19208f38dba304909e432a45b90560 100644 (file)
@@ -15,9 +15,9 @@ Required properties:
 - device_type: must be "pci"
 - interrupts: Should contain NWL PCIe interrupt
 - interrupt-names: Must include the following entries:
-       "msi1, msi0": interrupt asserted when MSI is received
+       "msi1, msi0": interrupt asserted when an MSI is received
        "intx": interrupt asserted when a legacy interrupt is received
-       "misc": interrupt asserted when miscellaneous is received
+       "misc": interrupt asserted when miscellaneous interrupt is received
 - interrupt-map-mask and interrupt-map: standard PCI properties to define the
        mapping of the PCI interface to interrupt numbers.
 - ranges: ranges for the PCI memory regions (I/O space region is not
@@ -26,7 +26,8 @@ Required properties:
        detailed explanation
 - msi-controller: indicates that this is MSI controller node
 - msi-parent:  MSI parent of the root complex itself
-- legacy-interrupt-controller: Interrupt controller device node for Legacy interrupts
+- legacy-interrupt-controller: Interrupt controller device node for Legacy
+       interrupts
        - interrupt-controller: identifies the node as an interrupt controller
        - #interrupt-cells: should be set to 1
        - #address-cells: specifies the number of cells needed to encode an
index f66488dfdbc9cc59fc744ce9f8349b9b69bd945c..4c003c9be23777602f235bf1fe87001bcad9cd64 100644 (file)
@@ -10136,7 +10136,7 @@ L:      linux-samsung-soc@vger.kernel.org (moderated for non-subscribers)
 S:     Maintained
 F:     drivers/pci/dwc/pci-exynos.c
 
-PCI DRIVER FOR SYNOPSIS DESIGNWARE
+PCI DRIVER FOR SYNOPSYS DESIGNWARE
 M:     Jingoo Han <jingoohan1@gmail.com>
 M:     Joao Pinto <Joao.Pinto@synopsys.com>
 L:     linux-pci@vger.kernel.org
index d275aadc47ee6949d46be2db08e7e178254ae1f7..22ec82fcdea24c7a76ceb97bf4f11ebf1408a0a2 100644 (file)
@@ -25,7 +25,7 @@ config PCI_DRA7XX
         work either as EP or RC. In order to enable host-specific features
         PCI_DRA7XX_HOST must be selected and in order to enable device-
         specific features PCI_DRA7XX_EP must be selected. This uses
-        the Designware core.
+        the DesignWare core.
 
 if PCI_DRA7XX
 
@@ -97,8 +97,8 @@ config PCI_KEYSTONE
        select PCIE_DW_HOST
        help
          Say Y here if you want to enable PCI controller support on Keystone
-         SoCs. The PCI controller on Keystone is based on Designware hardware
-         and therefore the driver re-uses the Designware core functions to
+         SoCs. The PCI controller on Keystone is based on DesignWare hardware
+         and therefore the driver re-uses the DesignWare core functions to
          implement the driver.
 
 config PCI_LAYERSCAPE
@@ -132,7 +132,7 @@ config PCIE_QCOM
        select PCIE_DW_HOST
        help
          Say Y here to enable PCIe controller support on Qualcomm SoCs. The
-         PCIe controller uses the Designware core plus Qualcomm-specific
+         PCIe controller uses the DesignWare core plus Qualcomm-specific
          hardware wrappers.
 
 config PCIE_ARMADA_8K
@@ -145,8 +145,8 @@ config PCIE_ARMADA_8K
        help
          Say Y here if you want to enable PCIe controller support on
          Armada-8K SoCs. The PCIe controller on Armada-8K is based on
-         Designware hardware and therefore the driver re-uses the
-         Designware core functions to implement the driver.
+         DesignWare hardware and therefore the driver re-uses the
+         DesignWare core functions to implement the driver.
 
 config PCIE_ARTPEC6
        bool "Axis ARTPEC-6 PCIe controller"
index f2fc5f47064ec5cf16cc163551c4305af35fcfdf..a6f972e2e6f296b33d66c8812c07c42621a1bb4c 100644 (file)
@@ -275,7 +275,6 @@ static irqreturn_t dra7xx_pcie_msi_irq_handler(int irq, void *arg)
        return IRQ_HANDLED;
 }
 
-
 static irqreturn_t dra7xx_pcie_irq_handler(int irq, void *arg)
 {
        struct dra7xx_pcie *dra7xx = arg;
index 8bc626e640c8b2f87b50b1ba664555e875ccb507..6eb21aa1a99f6090294fa1ed55d833711a9358b1 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Designware application register space functions for Keystone PCI controller
+ * DesignWare application register space functions for Keystone PCI controller
  *
  * Copyright (C) 2013-2014 Texas Instruments., Ltd.
  *             http://www.ti.com
index 398406393f37076398e0ed33a407fc5944e16ccd..e38747c6718c6b5acc116e0e57ccf10dd15e4966 100644 (file)
@@ -1,5 +1,5 @@
 /**
- * Synopsys Designware PCIe Endpoint controller driver
+ * Synopsys DesignWare PCIe Endpoint controller driver
  *
  * Copyright (C) 2017 Texas Instruments
  * Author: Kishon Vijay Abraham I <kishon@ti.com>
index d29c020da08269caa2381d37c1f47c6dff82db58..e71450b9aabe6143351c1163df27b2b55c6bc0f2 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Synopsys Designware PCIe host controller driver
+ * Synopsys DesignWare PCIe host controller driver
  *
  * Copyright (C) 2013 Samsung Electronics Co., Ltd.
  *             http://www.samsung.com
index 0e03af279259b735ade878bf96be3963270c1b15..daae8dd62d39dd9cffb9296a044c0c5297686b41 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Synopsys Designware PCIe host controller driver
+ * Synopsys DesignWare PCIe host controller driver
  *
  * Copyright (C) 2013 Samsung Electronics Co., Ltd.
  *             http://www.samsung.com
index b4d2a89f8e58591c6a08ea4e5204d56ddfc00466..cca0b93c97ac9cf620e7e143fb2842bf4bd2790a 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Synopsys Designware PCIe host controller driver
+ * Synopsys DesignWare PCIe host controller driver
  *
  * Copyright (C) 2013 Samsung Electronics Co., Ltd.
  *             http://www.samsung.com
index 7bb9870f6d8ce0bd001529ef4c8dba1659e624a1..5fbdc38f94ddc5251caf948876d2b2b879280014 100644 (file)
@@ -6,7 +6,7 @@
  * Author: Shawn Lin <shawn.lin@rock-chips.com>
  *         Wenrui Li <wenrui.li@rock-chips.com>
  *
- * Bits taken from Synopsys Designware Host controller driver and
+ * Bits taken from Synopsys DesignWare Host controller driver and
  * ARM PCI Host generic driver.
  *
  * This program is free software: you can redistribute it and/or modify
index f63fa5e0278c94e1fd5e682bdada9743fe6c9d8b..168db04776717bab079c2f8ca906f95b9c4bea07 100644 (file)
@@ -5,7 +5,7 @@
  *
  * Based on the Tegra PCIe driver
  *
- * Bits taken from Synopsys Designware Host controller driver and
+ * Bits taken from Synopsys DesignWare Host controller driver and
  * ARM PCI Host generic driver.
  *
  * This program is free software: you can redistribute it and/or modify
index b1303b32053fe62b0d41fe5a468b975583c7eff0..890efcc574cbb98599d24cc400cc5323c6bcafeb 100644 (file)
@@ -5,10 +5,10 @@
  * License.  See the file "COPYING" in the main directory of this archive
  * for more details.
  *
- * This file implements the core part of PCI-Express AER. When an pci-express
+ * This file implements the core part of PCIe AER. When a PCIe
  * error is delivered, an error message will be collected and printed to
  * console, then, an error recovery procedure will be executed by following
- * the pci error recovery rules.
+ * the PCI error recovery rules.
  *
  * Copyright (C) 2006 Intel Corp.
  *     Tom Long Nguyen (tom.l.nguyen@intel.com)
index 6967c6b4cf6b017170619c285ee58feaa5975a5a..8ae7ee75952b81f4d74325cfa95c2821572dac5e 100644 (file)
@@ -2061,7 +2061,7 @@ DECLARE_PCI_FIXUP_CLASS_FINAL(PCI_VENDOR_ID_INTEL, PCI_ANY_ID,
 
 /*
  * The 82575 and 82598 may experience data corruption issues when transitioning
- * out of L0S.  To prevent this we need to disable L0S on the pci-e link
+ * out of L0S.  To prevent this we need to disable L0S on the PCIe link.
  */
 static void quirk_disable_aspm_l0s(struct pci_dev *dev)
 {
index 04602cbe85dcf324bd433a7b93a1e8c6e1f91cbe..43799bd17a0257dce95d79287e3a30ecbf525399 100644 (file)
@@ -39,7 +39,7 @@ struct aer_capability_regs {
 };
 
 #if defined(CONFIG_PCIEAER)
-/* pci-e port driver needs this function to enable aer */
+/* PCIe port driver needs this function to enable AER */
 int pci_enable_pcie_error_reporting(struct pci_dev *dev);
 int pci_disable_pcie_error_reporting(struct pci_dev *dev);
 int pci_cleanup_aer_uncorrect_error_status(struct pci_dev *dev);
@@ -67,7 +67,6 @@ void cper_print_aer(struct pci_dev *dev, int aer_severity,
                    struct aer_capability_regs *aer);
 int cper_severity_to_aer(int cper_severity);
 void aer_recover_queue(int domain, unsigned int bus, unsigned int devfn,
-                      int severity,
-                      struct aer_capability_regs *aer_regs);
+                      int severity, struct aer_capability_regs *aer_regs);
 #endif //_AER_H_
 
index afcd130ab3a914c6a8af4736ae8cdc6cac11b703..12542f5ac83d2d9f9e355b3b474cad65bdbf4df3 100644 (file)
@@ -38,7 +38,7 @@ static inline void set_service_data(struct pcie_device *dev, void *data)
        dev->priv_data = data;
 }
 
-static inline voidget_service_data(struct pcie_device *dev)
+static inline void *get_service_data(struct pcie_device *dev)
 {
        return dev->priv_data;
 }