Skip to content

Commit

Permalink
SPI: Add SPI driver for Sunplus SP7021
Browse files Browse the repository at this point in the history
Add SPI driver for Sunplus SP7021.

Signed-off-by: Li-hao Kuo <lhjeff911@gmail.com>
  • Loading branch information
Li-hao Kuo authored and intel-lab-lkp committed Jan 10, 2022
1 parent 44ea628 commit 53da1ed
Show file tree
Hide file tree
Showing 4 changed files with 621 additions and 0 deletions.
6 changes: 6 additions & 0 deletions MAINTAINERS
Expand Up @@ -18216,6 +18216,12 @@ L: netdev@vger.kernel.org
S: Maintained
F: drivers/net/ethernet/dlink/sundance.c

SUNPLUS SPI CONTROLLER INTERFACE DRIVER
M: Li-hao Kuo <lhjeff911@gmail.com>
L: linux-spi@vger.kernel.org
S: Maintained
F: drivers/spi/spi-sunplus-sp7021.c

SUPERH
M: Yoshinori Sato <ysato@users.sourceforge.jp>
M: Rich Felker <dalias@libc.org>
Expand Down
11 changes: 11 additions & 0 deletions drivers/spi/Kconfig
Expand Up @@ -866,6 +866,17 @@ config SPI_SUN6I
help
This enables using the SPI controller on the Allwinner A31 SoCs.

config SPI_SUNPLUS_SP7021
tristate "Sunplus SP7021 SPI controller"
depends on SOC_SP7021 || COMPILE_TEST
help
This enables Sunplus SP7021 SPI controller driver on the SP7021 SoCs.
This driver can also be built as a module. If so, the module will be
called as spi-sunplus-sp7021.

If you have a Sunplus SP7021 platform say Y here.
If unsure, say N.

config SPI_SYNQUACER
tristate "Socionext's SynQuacer HighSpeed SPI controller"
depends on ARCH_SYNQUACER || COMPILE_TEST
Expand Down
1 change: 1 addition & 0 deletions drivers/spi/Makefile
Expand Up @@ -119,6 +119,7 @@ obj-$(CONFIG_SPI_STM32_QSPI) += spi-stm32-qspi.o
obj-$(CONFIG_SPI_ST_SSC4) += spi-st-ssc4.o
obj-$(CONFIG_SPI_SUN4I) += spi-sun4i.o
obj-$(CONFIG_SPI_SUN6I) += spi-sun6i.o
obj-$(CONFIG_SPI_SUNPLUS_SP7021) += spi-sunplus-sp7021.o
obj-$(CONFIG_SPI_SYNQUACER) += spi-synquacer.o
obj-$(CONFIG_SPI_TEGRA210_QUAD) += spi-tegra210-quad.o
obj-$(CONFIG_SPI_TEGRA114) += spi-tegra114.o
Expand Down

0 comments on commit 53da1ed

Please sign in to comment.