pinctrl: meson: axg: Fix GPIO pin offsets
[platform/kernel/u-boot.git] / drivers / spi / Kconfig
index 21dd6e0..516188e 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"
 
 config DM_SPI
        bool "Enable Driver Model for SPI drivers"
@@ -15,6 +18,13 @@ config DM_SPI
 
 if 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
 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.
 
          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
 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"
 
 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
        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.
 
          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
 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.
 
          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"
 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
        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.
 
          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
 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.
 
          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
 config TEGRA114_SPI
        bool "nVidia Tegra114 SPI driver"
        help
@@ -189,7 +243,7 @@ config XILINX_SPI
 
 config ZYNQ_SPI
        bool "Zynq SPI driver"
 
 config ZYNQ_SPI
        bool "Zynq SPI driver"
-       depends on ARCH_ZYNQ || ARCH_ZYNQMP
+       depends on ARCH_ZYNQ || ARCH_ZYNQMP || ARCH_VERSAL
        help
          Enable the Zynq SPI driver. This driver can be used to
          access the SPI NOR flash on platforms embedding this Zynq
        help
          Enable the Zynq SPI driver. This driver can be used to
          access the SPI NOR flash on platforms embedding this Zynq
@@ -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.
 
          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 || ARCH_VERSAL
+       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
 endif # if DM_SPI
 
 config SOFT_SPI
@@ -212,6 +273,12 @@ config SOFT_SPI
         Enable Soft SPI driver. This driver is to use GPIO simulate
         the SPI protocol.
 
         Enable Soft SPI driver. This driver is to use GPIO simulate
         the SPI protocol.
 
+config CF_SPI
+       bool "ColdFire SPI driver"
+       help
+         Enable the ColdFire SPI driver. This driver can be used on
+         some m68k SoCs.
+
 config FSL_ESPI
        bool "Freescale eSPI driver"
        help
 config FSL_ESPI
        bool "Freescale eSPI driver"
        help
@@ -226,13 +293,6 @@ config FSL_QSPI
          used to access the SPI NOR flash on platforms embedding this
          Freescale IP core.
 
          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
 config DAVINCI_SPI
        bool "Davinci & Keystone SPI driver"
        depends on ARCH_DAVINCI || ARCH_KEYSTONE
@@ -270,7 +330,7 @@ config LPC32XX_SSP
 
 config MPC8XX_SPI
        bool "MPC8XX SPI Driver"
 
 config MPC8XX_SPI
        bool "MPC8XX SPI Driver"
-       depends on 8xx
+       depends on MPC8xx
        help
          Enable support for SPI on MPC8XX
 
        help
          Enable support for SPI on MPC8XX
 
@@ -298,4 +358,4 @@ config OMAP3_SPI
          (McSPI). This driver be used to access SPI chips on platforms
          embedding this OMAP3 McSPI IP core.
 
          (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"