[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <1572349512-7776-1-git-send-email-tjoseph@cadence.com>
Date: Tue, 29 Oct 2019 11:45:10 +0000
From: Tom Joseph <tjoseph@...ence.com>
To: <linux-pci@...r.kernel.org>
CC: Lorenzo Pieralisi <lorenzo.pieralisi@....com>,
Bjorn Helgaas <bhelgaas@...gle.com>,
<linux-kernel@...r.kernel.org>, Tom Joseph <tjoseph@...ence.com>
Subject: [PATCH v3 0/2]PCI: cadence: Convert drivers to core library
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 folder 'cadence' is created to group all the cadence
derivatives.
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: Create new folder 'cadence' and move all cadence files
to it
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
Powered by blists - more mailing lists