The Renesas SPI Bus Space Controller (SPIBSC) HW was specifically designed for accessing SPI flash devices. In the hardware manuals, it is almost always labeled as the "Renesas SPI Multi I/O Bus Controller". However, the HW IP is usually referred to within Renesas as the "SPIBSC" block. This driver has been tested on an RZ/A1H RSK and RZ/A2M EVB. The testing mostly consisted of formatting an area as JFFS2 and doing copying of files and such. While the HW changed a little between the RZ/A1 and RZ/A2 generations, the IP block in the RZ/A2M was taken from the R-Car H3 design, so in theory this driver should work for R-Car Gen3 as well. Chris Brandt (6): clk: renesas: mstp: Add critical clock from device tree support ARM: dts: r7s72100: Add SPIBSC clocks clk: renesas: r7s9210: Add SPIBSC clock spi: Add SPIBSC driver ARM: dts: r7s9210: Add SPIBSC Device support dt-bindings: spi: Document Renesas SPIBSC bindings .../bindings/spi/spi-renesas-spibsc.txt | 48 ++ arch/arm/boot/dts/r7s72100.dtsi | 26 +- arch/arm/boot/dts/r7s9210.dtsi | 10 + drivers/clk/renesas/clk-mstp.c | 16 +- drivers/clk/renesas/r7s9210-cpg-mssr.c | 9 + drivers/spi/Kconfig | 8 + drivers/spi/Makefile | 1 + drivers/spi/spi-spibsc.c | 609 ++++++++++++++++++ 8 files changed, 719 insertions(+), 8 deletions(-) create mode 100644 Documentation/devicetree/bindings/spi/spi-renesas-spibsc.txt create mode 100644 drivers/spi/spi-spibsc.c -- 2.23.0