[PATCH v1 0/8] riscv: Add SPI support for Kendryte K210

Sean Anderson
2020-03-05T19:19:17Z

This patch adds support for SPI on the Kendryte K210. This includes the MMC slot
and SPI flash on the Sipeed Maix Bit.

This patch series was previously part of
https://patchwork.ozlabs.org/project/uboot/list/?series=161576

This patch series depends on
https://patchwork.ozlabs.org/project/uboot/list/?series=162646

Known bugs:
- The MMC cannot be accessed with the dw_spi driver

Sean Anderson (8):
doc: Fix typo in FIT documentation
spi: dw: Add device tree properties for fields in CTRL0
spi: dw: Rename "cs-gpio" to "cs-gpios"
spi: dw: Use generic function to read reg address
spi: dw: Speed up transfer loops
spi: dw: Add mem_ops
riscv: Add device tree bindings for SPI
riscv: Add support for SPI on Kendryte K210

arch/arc/dts/axs10x_mb.dtsi | 3 +-
arch/arc/dts/hsdk.dts | 3 +-
arch/riscv/dts/k210-maix-bit.dts | 90 ++++++++
arch/riscv/dts/k210.dtsi | 12 +
board/sipeed/maix/Kconfig | 10 +
configs/sipeed_maix_bitm_defconfig | 8 +
doc/board/sipeed/maix.rst | 94 +++++---
.../spi/snps,dw-apb-ssi.txt | 43 ++++
doc/uImage.FIT/source_file_format.txt | 2 +-
drivers/spi/designware_spi.c | 211 ++++++++++++++----
10 files changed, 395 insertions(+), 81 deletions(-)
create mode 100644 doc/device-tree-bindings/spi/snps,dw-apb-ssi.txt

--
2.25.0