spi: Add SPI driver for MT76xx SoCs
[oweals/u-boot.git] / drivers / spi / Kconfig
index 235a8c7d73a1a7dd53b7b400fc9bd8f9b737e520..1df6876e9bdad08a47060483ae29198ba2d416ae 100644 (file)
@@ -1,4 +1,7 @@
-menu "SPI Support"
+menuconfig SPI
+       bool "SPI Support"
+
+if SPI
 
 config DM_SPI
        bool "Enable Driver Model for SPI drivers"
@@ -15,6 +18,13 @@ config DM_SPI
 
 if DM_SPI
 
+config SPI_MEM
+       bool "SPI memory extension"
+       help
+         Enable this option if you want to enable the SPI memory extension.
+         This extension is meant to simplify interaction with SPI memories
+         by providing an high-level interface to send memory-like commands.
+
 config ALTERA_SPI
        bool "Altera SPI driver"
        help
@@ -23,6 +33,13 @@ config ALTERA_SPI
          IP core. Please find details on the "Embedded Peripherals IP
          User Guide" of Altera.
 
+config ATCSPI200_SPI
+       bool "Andestech ATCSPI200 SPI driver"
+       help
+         Enable the Andestech ATCSPI200 SPI driver. This driver can be
+         used to access the SPI flash on AE3XX and AE250 platforms embedding
+         this Andestech IP core.
+
 config ATH79_SPI
        bool "Atheros SPI driver"
        depends on ARCH_ATH79
@@ -34,7 +51,7 @@ config ATH79_SPI
 
 config ATMEL_SPI
        bool "Atmel SPI driver"
-       depends on ARCH_AT91
+       default y if ARCH_AT91
        help
          This enables driver for the Atmel SPI Controller, present on
          many AT91 (ARM) chips. This driver can be used to access
@@ -56,6 +73,13 @@ config BCM63XX_SPI
          access the SPI NOR flash on platforms embedding these Broadcom
          SPI cores.
 
+config BCMSTB_SPI
+       bool "BCMSTB SPI driver"
+       help
+         Enable the Broadcom set-top box SPI driver. This driver can
+         be used to access the SPI flash on platforms embedding this
+         Broadcom SPI core.
+
 config CADENCE_QSPI
        bool "Cadence QSPI driver"
        help
@@ -92,8 +116,17 @@ config ICH_SPI
          access the SPI NOR flash on platforms embedding this Intel
          ICH IP core.
 
+config MT7621_SPI
+       bool "MediaTek MT7621 SPI driver"
+       depends on ARCH_MT7620
+       help
+         Enable the MT7621 SPI driver. This driver can be used to access
+         the SPI NOR flash on platforms embedding this Ralink / MediaTek
+         SPI core, like MT7621/7628/7688.
+
 config MVEBU_A3700_SPI
        bool "Marvell Armada 3700 SPI driver"
+       select CLK_ARMADA_3720
        help
          Enable the Marvell Armada 3700 SPI driver. This driver can be
          used to access the SPI NOR flash on platforms embedding this
@@ -107,6 +140,22 @@ config PIC32_SPI
          to access the SPI NOR flash, MMC-over-SPI on platforms based on
          Microchip PIC32 family devices.
 
+config PL022_SPI
+       bool "ARM AMBA PL022 SSP controller driver"
+       depends on ARM
+       help
+         This selects the ARM(R) AMBA(R) PrimeCell PL022 SSP
+         controller. If you have an embedded system with an AMBA(R)
+         bus and a PL022 controller, say Y or M here.
+
+config RENESAS_RPC_SPI
+       bool "Renesas RPC SPI driver"
+       depends on RCAR_GEN3
+       help
+         Enable the Renesas RPC SPI driver, used to access SPI NOR flash
+         on Renesas RCar Gen3 SoCs. This uses driver model and requires a
+         device tree binding to operate.
+
 config ROCKCHIP_SPI
        bool "Rockchip SPI driver"
        help
@@ -148,6 +197,11 @@ config STM32_QSPI
          used to access the SPI NOR flash chips on platforms embedding
          this ST IP core.
 
+config SUN4I_SPI
+       bool "Allwinner A10 SoCs SPI controller"
+       help
+         SPI driver for Allwinner sun4i, sun5i and sun7i SoCs
+
 config TEGRA114_SPI
        bool "nVidia Tegra114 SPI driver"
        help
@@ -204,6 +258,13 @@ config ZYNQ_QSPI
          Zynq QSPI IP core. This IP is used to connect the flash in
          4-bit qspi, 8-bit dual stacked and shared 4-bit dual parallel.
 
+config ZYNQMP_GQSPI
+       bool "Configure ZynqMP Generic QSPI"
+       depends on ARCH_ZYNQMP
+       help
+         This option is used to enable ZynqMP QSPI controller driver which
+         is used to communicate with qspi flash devices.
+
 endif # if DM_SPI
 
 config SOFT_SPI
@@ -232,13 +293,6 @@ config FSL_QSPI
          used to access the SPI NOR flash on platforms embedding this
          Freescale IP core.
 
-config ATCSPI200_SPI
-       bool "Andestech ATCSPI200 SPI driver"
-       help
-         Enable the Andestech ATCSPI200 SPI driver. This driver can be
-         used to access the SPI flash on AE3XX and AE250 platforms embedding
-         this Andestech IP core.
-
 config DAVINCI_SPI
        bool "Davinci & Keystone SPI driver"
        depends on ARCH_DAVINCI || ARCH_KEYSTONE
@@ -276,7 +330,7 @@ config LPC32XX_SSP
 
 config MPC8XX_SPI
        bool "MPC8XX SPI Driver"
-       depends on 8xx
+       depends on MPC8xx
        help
          Enable support for SPI on MPC8XX
 
@@ -304,4 +358,4 @@ config OMAP3_SPI
          (McSPI). This driver be used to access SPI chips on platforms
          embedding this OMAP3 McSPI IP core.
 
-endmenu # menu "SPI Support"
+endif # menu "SPI Support"