mbox series

[v4,0/2] PCI: cadence: Convert drivers to core library

Message ID 1573475444-17903-1-git-send-email-tjoseph@cadence.com (mailing list archive)
Headers show
Series PCI: cadence: Convert drivers to core library | expand

Message

Tom Joseph Nov. 11, 2019, 12:30 p.m. UTC
This patch series intend to refactor the cadence pcie host and endpoint
driver files as a library, such that this can be used by other platform
drivers. A new directory 'cadence' is created to group all the cadence
derivatives.

v4:
- Updated commit title for [PATCH 2/2] as adviced by Andrew

v3:
- Commit logs rephrased and corrected as suggested by Andrew and Kishon
- Created a new folder 'cadence', as suggested by Kishon.
- Removed few unwanted codes, as pointed out by review comments

Tom Joseph (2):
  PCI: cadence: Refactor driver to use as a core library
  PCI: cadence: Move all files to per-device cadence directory

 drivers/pci/controller/Kconfig                     |  29 +---
 drivers/pci/controller/Makefile                    |   4 +-
 drivers/pci/controller/cadence/Kconfig             |  45 ++++++
 drivers/pci/controller/cadence/Makefile            |   5 +
 .../pci/controller/{ => cadence}/pcie-cadence-ep.c |  96 +-----------
 .../controller/{ => cadence}/pcie-cadence-host.c   |  95 +----------
 drivers/pci/controller/cadence/pcie-cadence-plat.c | 174 +++++++++++++++++++++
 .../pci/controller/{ => cadence}/pcie-cadence.c    |   0
 .../pci/controller/{ => cadence}/pcie-cadence.h    |  77 +++++++++
 9 files changed, 315 insertions(+), 210 deletions(-)
 create mode 100644 drivers/pci/controller/cadence/Kconfig
 create mode 100644 drivers/pci/controller/cadence/Makefile
 rename drivers/pci/controller/{ => cadence}/pcie-cadence-ep.c (83%)
 rename drivers/pci/controller/{ => cadence}/pcie-cadence-host.c (76%)
 create mode 100644 drivers/pci/controller/cadence/pcie-cadence-plat.c
 rename drivers/pci/controller/{ => cadence}/pcie-cadence.c (100%)
 rename drivers/pci/controller/{ => cadence}/pcie-cadence.h (82%)

Comments

Lorenzo Pieralisi Nov. 11, 2019, 2:59 p.m. UTC | #1
On Mon, Nov 11, 2019 at 12:30:42PM +0000, Tom Joseph wrote:
> This patch series intend to refactor the cadence pcie host and endpoint
> driver files as a library, such that this can be used by other platform
> drivers. A new directory 'cadence' is created to group all the cadence
> derivatives.
> 
> v4:
> - Updated commit title for [PATCH 2/2] as adviced by Andrew
> 
> v3:
> - Commit logs rephrased and corrected as suggested by Andrew and Kishon
> - Created a new folder 'cadence', as suggested by Kishon.
> - Removed few unwanted codes, as pointed out by review comments
> 
> Tom Joseph (2):
>   PCI: cadence: Refactor driver to use as a core library
>   PCI: cadence: Move all files to per-device cadence directory
> 
>  drivers/pci/controller/Kconfig                     |  29 +---
>  drivers/pci/controller/Makefile                    |   4 +-
>  drivers/pci/controller/cadence/Kconfig             |  45 ++++++
>  drivers/pci/controller/cadence/Makefile            |   5 +
>  .../pci/controller/{ => cadence}/pcie-cadence-ep.c |  96 +-----------
>  .../controller/{ => cadence}/pcie-cadence-host.c   |  95 +----------
>  drivers/pci/controller/cadence/pcie-cadence-plat.c | 174 +++++++++++++++++++++
>  .../pci/controller/{ => cadence}/pcie-cadence.c    |   0
>  .../pci/controller/{ => cadence}/pcie-cadence.h    |  77 +++++++++
>  9 files changed, 315 insertions(+), 210 deletions(-)
>  create mode 100644 drivers/pci/controller/cadence/Kconfig
>  create mode 100644 drivers/pci/controller/cadence/Makefile
>  rename drivers/pci/controller/{ => cadence}/pcie-cadence-ep.c (83%)
>  rename drivers/pci/controller/{ => cadence}/pcie-cadence-host.c (76%)
>  create mode 100644 drivers/pci/controller/cadence/pcie-cadence-plat.c
>  rename drivers/pci/controller/{ => cadence}/pcie-cadence.c (100%)
>  rename drivers/pci/controller/{ => cadence}/pcie-cadence.h (82%)
> 

Applied to pci/cadence, thanks.

Lorenzo