Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

spi: rspi: Add support for new R-Car Gen2 SoCs

Add support for QSPI in:
- r8a7792 (R-Car V2H)
- r8a7793 (R-Car M2-N)
- r8a7794 (R-Car E2)

r8a7791 is now called "R-Car M2-W".

Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Signed-off-by: Mark Brown <broonie@linaro.org>

authored by

Geert Uytterhoeven and committed by
Mark Brown
6089af77 e825b8dd

+5 -2
+4 -1
Documentation/devicetree/bindings/spi/spi-rspi.txt
··· 11 11 - "renesas,rspi-sh7757" (SH) 12 12 - "renesas,rspi-r7s72100" (RZ/A1H) 13 13 - "renesas,qspi-r8a7790" (R-Car H2) 14 - - "renesas,qspi-r8a7791" (R-Car M2) 14 + - "renesas,qspi-r8a7791" (R-Car M2-W) 15 + - "renesas,qspi-r8a7792" (R-Car V2H) 16 + - "renesas,qspi-r8a7793" (R-Car M2-N) 17 + - "renesas,qspi-r8a7794" (R-Car E2) 15 18 - reg : Address start and address range size of the device 16 19 - interrupts : A list of interrupt-specifiers, one for each entry in 17 20 interrupt-names.
+1 -1
drivers/spi/spi-rspi.c
··· 87 87 /* RSPI on SH only */ 88 88 #define SPCR_TXMD 0x02 /* TX Only Mode (vs. Full Duplex) */ 89 89 #define SPCR_SPMS 0x01 /* 3-wire Mode (vs. 4-wire) */ 90 - /* QSPI on R-Car M2 only */ 90 + /* QSPI on R-Car Gen2 only */ 91 91 #define SPCR_WSWAP 0x02 /* Word Swap of read-data for DMAC */ 92 92 #define SPCR_BSWAP 0x01 /* Byte Swap of read-data for DMAC */ 93 93