All of lore.kernel.org
 help / color / mirror / Atom feed
* [U-Boot] [PATCH v3 0/4] Add Cadence PCIe endpoint driver with new uclass
@ 2019-04-27  8:15 Ramon Fried
  2019-04-27  8:15 ` [U-Boot] [PATCH v3 1/4] drivers: pci_ep: Introduce UCLASS_PCI_EP uclass Ramon Fried
                   ` (4 more replies)
  0 siblings, 5 replies; 16+ messages in thread
From: Ramon Fried @ 2019-04-27  8:15 UTC (permalink / raw)
  To: u-boot


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

^ permalink raw reply	[flat|nested] 16+ messages in thread

end of thread, other threads:[~2019-07-12  7:06 UTC | newest]

Thread overview: 16+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-04-27  8:15 [U-Boot] [PATCH v3 0/4] Add Cadence PCIe endpoint driver with new uclass Ramon Fried
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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.