Skip to content

Commit 921fc18

Browse files
Sowjanya Komatinenibroonie
authored andcommitted
spi: tegra210-quad: Add support for Tegra210 QSPI controller
Tegra SoC has a Quad SPI controller starting from Tegra210. This patch adds support for Tegra210 QSPI controller. Signed-off-by: Sowjanya Komatineni <skomatineni@nvidia.com> Link: https://lore.kernel.org/r/1608585459-17250-5-git-send-email-skomatineni@nvidia.com Signed-off-by: Mark Brown <broonie@kernel.org>
1 parent e5c92bb commit 921fc18

File tree

3 files changed

+1392
-0
lines changed

3 files changed

+1392
-0
lines changed

drivers/spi/Kconfig

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -843,6 +843,15 @@ config SPI_MXS
843843
help
844844
SPI driver for Freescale MXS devices.
845845

846+
config SPI_TEGRA210_QUAD
847+
tristate "NVIDIA Tegra QSPI Controller"
848+
depends on ARCH_TEGRA || COMPILE_TEST
849+
depends on RESET_CONTROLLER
850+
help
851+
QSPI driver for NVIDIA Tegra QSPI Controller interface. This
852+
controller is different from the SPI controller and is available
853+
on Tegra SoCs starting from Tegra210.
854+
846855
config SPI_TEGRA114
847856
tristate "NVIDIA Tegra114 SPI Controller"
848857
depends on (ARCH_TEGRA && TEGRA20_APB_DMA) || COMPILE_TEST

drivers/spi/Makefile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -115,6 +115,7 @@ obj-$(CONFIG_SPI_ST_SSC4) += spi-st-ssc4.o
115115
obj-$(CONFIG_SPI_SUN4I) += spi-sun4i.o
116116
obj-$(CONFIG_SPI_SUN6I) += spi-sun6i.o
117117
obj-$(CONFIG_SPI_SYNQUACER) += spi-synquacer.o
118+
obj-$(CONFIG_SPI_TEGRA210_QUAD) += spi-tegra210-quad.o
118119
obj-$(CONFIG_SPI_TEGRA114) += spi-tegra114.o
119120
obj-$(CONFIG_SPI_TEGRA20_SFLASH) += spi-tegra20-sflash.o
120121
obj-$(CONFIG_SPI_TEGRA20_SLINK) += spi-tegra20-slink.o

0 commit comments

Comments
 (0)