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

Chris Johns chrisj at rtems.org
Wed Mar 10 17:55:41 UTC 2021


OK to push from me.

On 9/3/21 10:22 pm, Jan Sommer wrote:
> v5:
> - Add some documentation
> - Thanks for testing by Rick van der Wal
>     - Fix bug in CS logic
>     - Work-around too slow RXNEMPTY flag for some bus frequencies
> - Created issue in trac: https://devel.rtems.org/ticket/4320
> 
> v4:
> - Use copyright information without UTF-8 characters
> 
> 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            |  63 +++
>  bsps/shared/dev/spi/cadence-spi.c             | 444 ++++++++++++++++++
>  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, 626 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
> 


More information about the devel mailing list