From: Tom Joseph <tjoseph@cadence.com>
To: <linux-pci@vger.kernel.org>
Cc: Lorenzo Pieralisi <lorenzo.pieralisi@arm.com>,
Bjorn Helgaas <bhelgaas@google.com>,
<linux-kernel@vger.kernel.org>, Tom Joseph <tjoseph@cadence.com>
Subject: [PATCH v4 0/2]PCI: cadence: Convert drivers to core library
Date: Mon, 11 Nov 2019 12:30:42 +0000 [thread overview]
Message-ID: <1573475444-17903-1-git-send-email-tjoseph@cadence.com> (raw)
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
next reply other threads:[~2019-11-11 12:31 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-11-11 12:30 Tom Joseph [this message]
2019-11-11 12:30 ` [PATCH v4 1/2] PCI: cadence: Refactor driver to use as a core library Tom Joseph
2019-11-11 12:30 ` [PATCH v4 2/2] PCI: cadence: Move all files to per-device cadence directory Tom Joseph
2019-11-11 14:59 ` [PATCH v4 0/2]PCI: cadence: Convert drivers to core library Lorenzo Pieralisi
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1573475444-17903-1-git-send-email-tjoseph@cadence.com \
--to=tjoseph@cadence.com \
--cc=bhelgaas@google.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-pci@vger.kernel.org \
--cc=lorenzo.pieralisi@arm.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).