From: Ramon Fried <ramon.fried@gmail.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH v3 0/4] Add Cadence PCIe endpoint driver with new uclass
Date: Sat, 27 Apr 2019 11:15:20 +0300 [thread overview]
Message-ID: <20190427081524.5759-1-ramon.fried@gmail.com> (raw)
This patchset adds support for new uclass, UCLASS_PCI_EP
allowing new set of PCI endpoint drivers.
Included in the patch is also a driver for Cadence PCIe endpoint.
Changes in V2:
- Removed "pci.h: add missing maskbit" as it was already merged
by Simon.
- Added PCI endpoint sandbox driver
- Added testing for sandbox driver
- Addressed issues raised by Simon in UCLASS_PCI_EP class implementation
Changes in v3:
- Added function to read bar config
- Fixed a bug in set MSI implementation (missing -1)
- Elaborate a bit more in comments
- Added MAINTAINER entry for PCI Endpoint
- Added more description to commit message and kmsg
- Removed some unused functionality that can't be
tested.
- Removed entries from sandbox config and added implies and select
to arch/Kconfig sandbox entry.
- Added more testing of sandbox driver
Ramon Fried (4):
drivers: pci_ep: Introduce UCLASS_PCI_EP uclass
pci_ep: add Cadence PCIe endpoint driver
pci_ep: add pci endpoint sandbox driver
test: pci_ep: add basic pci_ep tests
MAINTAINERS | 6 +
arch/Kconfig | 2 +
arch/sandbox/dts/test.dts | 4 +
arch/sandbox/include/asm/test.h | 8 +
.../pci_endpoint/cdns,cdns-pcie-ep.txt | 18 +
drivers/Kconfig | 2 +
drivers/Makefile | 1 +
drivers/pci_endpoint/Kconfig | 34 ++
drivers/pci_endpoint/Makefile | 8 +
drivers/pci_endpoint/pci_ep-uclass.c | 211 +++++++++
drivers/pci_endpoint/pcie-cadence-ep.c | 177 ++++++++
drivers/pci_endpoint/pcie-cadence.h | 309 +++++++++++++
drivers/pci_endpoint/sandbox-pci_ep.c | 182 ++++++++
include/dm/uclass-id.h | 1 +
include/pci_ep.h | 414 ++++++++++++++++++
test/dm/Makefile | 1 +
test/dm/pci_ep.c | 64 +++
17 files changed, 1442 insertions(+)
create mode 100644 doc/device-tree-bindings/pci_endpoint/cdns,cdns-pcie-ep.txt
create mode 100644 drivers/pci_endpoint/Kconfig
create mode 100644 drivers/pci_endpoint/Makefile
create mode 100644 drivers/pci_endpoint/pci_ep-uclass.c
create mode 100644 drivers/pci_endpoint/pcie-cadence-ep.c
create mode 100644 drivers/pci_endpoint/pcie-cadence.h
create mode 100644 drivers/pci_endpoint/sandbox-pci_ep.c
create mode 100644 include/pci_ep.h
create mode 100644 test/dm/pci_ep.c
--
2.21.0
next reply other threads:[~2019-04-27 8:15 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-04-27 8:15 Ramon Fried [this message]
2019-04-27 8:15 ` [U-Boot] [PATCH v3 1/4] drivers: pci_ep: Introduce UCLASS_PCI_EP uclass Ramon Fried
2019-05-09 3:53 ` Simon Glass
2019-07-11 22:04 ` Tom Rini
2019-04-27 8:15 ` [U-Boot] [PATCH v3 2/4] pci_ep: add Cadence PCIe endpoint driver Ramon Fried
2019-05-09 3:53 ` Simon Glass
2019-07-11 22:04 ` Tom Rini
2019-04-27 8:15 ` [U-Boot] [PATCH v3 3/4] pci_ep: add pci endpoint sandbox driver Ramon Fried
2019-05-09 3:53 ` Simon Glass
2019-07-11 22:04 ` Tom Rini
2019-04-27 8:15 ` [U-Boot] [PATCH v3 4/4] test: pci_ep: add basic pci_ep tests Ramon Fried
2019-05-09 3:53 ` Simon Glass
2019-07-11 22:04 ` Tom Rini
2019-07-12 2:22 ` Tom Rini
2019-07-12 7:06 ` Ramon Fried
2019-05-09 0:34 ` [U-Boot] [PATCH v3 0/4] Add Cadence PCIe endpoint driver with new uclass Ramon Fried
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=20190427081524.5759-1-ramon.fried@gmail.com \
--to=ramon.fried@gmail.com \
--cc=u-boot@lists.denx.de \
/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