spi: synquacer: Add HSSPI SPI controller driver for SynQuacer
authorJassi Brar <jaswinder.singh@linaro.org>
Fri, 4 Jun 2021 09:44:27 +0000 (18:44 +0900)
committerTom Rini <trini@konsulko.com>
Tue, 6 Jul 2021 18:07:36 +0000 (14:07 -0400)
commit971a344285731b7bb076fe59c4ecbd68d8c9bb66
tree96e99f37474feef1a36d32486e176045e30238bc
parentdadd43c143685a6ed7d9a14575e14dba34d77160
spi: synquacer: Add HSSPI SPI controller driver for SynQuacer

This is a driver for the HSSPI SPI controller on SynQuacer SoC.
The HSSPI has command sequence mode (memory mapped) and
direct mode (FIFO access). The driver will operate it under
the direct mode. And before booting OS, it switch back to the
command sequence mode since that is compatible with default
EDK2 behavior.

Signed-off-by: Jassi Brar <jaswinder.singh@linaro.org>
Signed-off-by: Masami Hiramatsu <masami.hiramatsu@linaro.org>
drivers/spi/Kconfig
drivers/spi/Makefile
drivers/spi/spi-synquacer.c [new file with mode: 0644]