[PATCH v3 0/3] Add cadence-SPI driver

Jan Sommer jan.sommer at dlr.de
Sun Feb 14 11:30:18 UTC 2021


v3:
- Fix wrong changes to spec/build/bsps/arm/xilinx-zynq/obj.yml

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 +
 .../arm/xilinx-zynqmp/bspxilinxzynqmp.yml     |   2 +
 spec/build/bsps/objdevspizynq.yml             |  18 +
 10 files changed, 604 insertions(+)
 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