From mboxrd@z Thu Jan 1 00:00:00 1970 From: Sean Anderson Date: Thu, 5 Mar 2020 14:19:17 -0500 Subject: [PATCH v1 0/8] riscv: Add SPI support for Kendryte K210 Message-ID: <20200305191925.959494-1-seanga2@gmail.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de 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