public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [U-Boot] [PATCH v2 0/4] Add Cadence PCIe endpoint driver with new uclass
@ 2019-04-24 18:53 Ramon Fried
  2019-04-24 18:53 ` [U-Boot] [PATCH v2 1/4] drivers: pci_ep: Introduce UCLASS_PCI_EP uclass Ramon Fried
                   ` (3 more replies)
  0 siblings, 4 replies; 10+ messages in thread
From: Ramon Fried @ 2019-04-24 18:53 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

Ramon Fried (4):
  drivers: pci_ep: Introduce UCLASS_PCI_EP uclass
  pci_ep: add Cadence PCIe endpoint driver
  pci_ep: add pci_ep sandbox driver
  test: pci_ep: add basic pci_ep tests

 arch/sandbox/dts/test.dts                     |   4 +
 configs/sandbox64_defconfig                   |   2 +
 configs/sandbox_defconfig                     |   2 +
 .../pci_endpoint/cdns,cdns-pcie-ep.txt        |  18 +
 drivers/Kconfig                               |   2 +
 drivers/Makefile                              |   1 +
 drivers/pci_endpoint/Kconfig                  |  32 ++
 drivers/pci_endpoint/Makefile                 |   8 +
 drivers/pci_endpoint/pci_ep-uclass.c          | 189 +++++++++
 drivers/pci_endpoint/pcie-cadence-ep.c        | 177 ++++++++
 drivers/pci_endpoint/pcie-cadence.h           | 309 ++++++++++++++
 drivers/pci_endpoint/sandbox-pci_ep.c         | 176 ++++++++
 include/dm/uclass-id.h                        |   1 +
 include/pci_ep.h                              | 388 ++++++++++++++++++
 test/dm/Makefile                              |   1 +
 test/dm/pci_ep.c                              |  45 ++
 16 files changed, 1355 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] 10+ messages in thread

end of thread, other threads:[~2019-04-26  1:11 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-04-24 18:53 [U-Boot] [PATCH v2 0/4] Add Cadence PCIe endpoint driver with new uclass Ramon Fried
2019-04-24 18:53 ` [U-Boot] [PATCH v2 1/4] drivers: pci_ep: Introduce UCLASS_PCI_EP uclass Ramon Fried
2019-04-24 23:33   ` Simon Glass
2019-04-24 18:53 ` [U-Boot] [PATCH v2 2/4] pci_ep: add Cadence PCIe endpoint driver Ramon Fried
2019-04-24 23:35   ` Simon Glass
2019-04-24 18:53 ` [U-Boot] [PATCH v2 3/4] pci_ep: add pci_ep sandbox driver Ramon Fried
2019-04-24 23:29   ` Simon Glass
2019-04-25 11:35     ` Ramon Fried
2019-04-26  1:11       ` Simon Glass
2019-04-24 18:53 ` [U-Boot] [PATCH v2 4/4] test: pci_ep: add basic pci_ep tests Ramon Fried

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox