lkml.org 
[lkml]   [2019]   [Nov]   [11]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Subject[PATCH v4 0/2]PCI: cadence: Convert drivers to core library
Date
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%)

--
2.2.2

\
 
 \ /
  Last update: 2019-11-11 13:32    [W:0.087 / U:0.096 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site