Re: [U-Boot] [PATCH v3 0/4] Add Cadence PCIe endpoint driver with new uclass

2019-05-08 Thread Ramon Fried
Hi Simon,
Kind reminder, just touching base.

Thanks,
Ramon.

On Sat, Apr 27, 2019 at 11:15 AM Ramon Fried  wrote:
>
>
> 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
>
___
U-Boot mailing list
U-Boot@lists.denx.de
https://lists.denx.de/listinfo/u-boot


[U-Boot] [PATCH v3 0/4] Add Cadence PCIe endpoint driver with new uclass

2019-04-27 Thread Ramon Fried

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

___
U-Boot mailing list
U-Boot@lists.denx.de
https://lists.denx.de/listinfo/u-boot