[PATCH v2 0/3] bsps/zynq: Add cadence-SPI driver

Jan Sommer jan.sommer at dlr.de
Sat Feb 13 14:19:10 UTC 2021


v2:
- Moved source file to bsps/shared/dev/spi
- Moved include files to bsps/include/dev/spi
- Enabled build in aarch64 BSPs

v1:

This patchset implements a driver for the cadence-spi device of the Xilinx Zynq-7000 based SoCs  using the spidev API.

Jan Sommer (3):
  bsps/xilinx_zynq: Add SPI driver for cadence-spi
  bsps/xilinx_zynq: Add SPI driver to waf
  bsps/xilinx_zynq: Add SPI driver to autotools build

 bsps/headers.am                               |   5 +
 bsps/include/dev/spi/cadence-spi-regs.h       |  84 ++++
 bsps/include/dev/spi/cadence-spi.h            |  48 ++
 bsps/shared/dev/spi/cadence-spi.c             | 437 ++++++++++++++++++
 c/src/lib/libbsp/arm/xilinx-zynq/Makefile.am  |   3 +
 .../lib/libbsp/arm/xilinx-zynqmp/Makefile.am  |   3 +
 spec/build/bsps/aarch64/xilinx-zynqmp/grp.yml |   2 +
 spec/build/bsps/arm/xilinx-zynq/grp.yml       |   2 +
 spec/build/bsps/arm/xilinx-zynq/obj.yml       |   4 +-
 .../arm/xilinx-zynqmp/bspxilinxzynqmp.yml     |   2 +
 spec/build/bsps/objdevspizynq.yml             |  18 +
 11 files changed, 606 insertions(+), 2 deletions(-)
 create mode 100644 bsps/include/dev/spi/cadence-spi-regs.h
 create mode 100644 bsps/include/dev/spi/cadence-spi.h
 create mode 100644 bsps/shared/dev/spi/cadence-spi.c
 create mode 100644 spec/build/bsps/objdevspizynq.yml

-- 
2.17.1



More information about the devel mailing list