[PATCH 0/8] Designware EP support and code clenan up

From: Gustavo Pimentel
Date: Wed Mar 28 2018 - 07:39:17 EST


The patch set was made against the Bjorn's next branch.

Adds support Designware EP support.

Increases the maximum number of interrupts allowed for Designware IP
controller.

Does a code cleanup on Designware driver:
- Replaces magic numbers without a easy meaning by a well known define
that helps the human compreension.
- Replaces a division by 2 by a simple right shift rotation of 1 bit.
- Fixes all first letter characters on comments and debug messages to
upper case to maintain coherency.

Gustavo Pimentel (8):
bindings: PCI: designware: Example update
PCI: dwc: designware: Add support for endpoint mode
bindings: PCI: designware: Add support for the EP in designware driver
misc: pci_endpoint_test: Add designware EP entry
PCI: dwc: designware: Define maximum number of vectors
PCI: dwc: Replace lower into upper case characters
PCI: dwc: Small computation improvement
PCI: dwc: Replace magic number by defines

.../devicetree/bindings/pci/designware-pcie.txt | 25 +++-
drivers/misc/pci_endpoint_test.c | 1 +
drivers/pci/dwc/Kconfig | 45 ++++--
drivers/pci/dwc/pcie-designware-ep.c | 16 +-
drivers/pci/dwc/pcie-designware-host.c | 77 +++++-----
drivers/pci/dwc/pcie-designware-plat.c | 163 +++++++++++++++++++--
drivers/pci/dwc/pcie-designware.c | 22 +--
drivers/pci/dwc/pcie-designware.h | 1 +
drivers/pci/endpoint/functions/pci-epf-test.c | 5 +
9 files changed, 276 insertions(+), 79 deletions(-)

--
2.7.4