summaryrefslogtreecommitdiff
path: root/drivers/spi/Kconfig
diff options
context:
space:
mode:
authorMark Brown <broonie@kernel.org>2020-03-11 19:58:20 +0000
committerMark Brown <broonie@kernel.org>2020-03-11 19:58:20 +0000
commitb562b304efc0922d1ef9e7d5b9d333db7497f81a (patch)
treef3b3cb81c07442555c67b371b45bbb64d9301331 /drivers/spi/Kconfig
parentcaef2df1137adcea48b0902f310f4639b846e3a1 (diff)
parente11e8473bcec748c3820636f11b986f611c9309b (diff)
Merge tag 'mtk-mtd-spi-move' of https://git.kernel.org/pub/scm/linux/kernel/git/broonie/spi into spi-5.7
spi: Rewrite mtk-quadspi spi-nor driver with spi-mem This patchset from Chuanhong Guo <gch981213@gmail.com> adds a spi-mem driver for Mediatek SPI-NOR controller, which already has limited support by mtk-quadspi. This new driver can make use of full quadspi capability of this controller.
Diffstat (limited to 'drivers/spi/Kconfig')
-rw-r--r--drivers/spi/Kconfig10
1 files changed, 10 insertions, 0 deletions
diff --git a/drivers/spi/Kconfig b/drivers/spi/Kconfig
index ad79454d8584..c33ca96b44de 100644
--- a/drivers/spi/Kconfig
+++ b/drivers/spi/Kconfig
@@ -456,6 +456,16 @@ config SPI_MT7621
help
This selects a driver for the MediaTek MT7621 SPI Controller.
+config SPI_MTK_NOR
+ tristate "MediaTek SPI NOR controller"
+ depends on ARCH_MEDIATEK || COMPILE_TEST
+ help
+ This enables support for SPI NOR controller found on MediaTek
+ ARM SoCs. This is a controller specifically for SPI-NOR flash.
+ It can perform generic SPI transfers up to 6 bytes via generic
+ SPI interface as well as several SPI-NOR specific instructions
+ via SPI MEM interface.
+
config SPI_NPCM_FIU
tristate "Nuvoton NPCM FLASH Interface Unit"
depends on ARCH_NPCM || COMPILE_TEST