Merge tag 'u-boot-amlogic-20200511' of https://gitlab.denx.de/u-boot/custodians/u...
[oweals/u-boot.git] / drivers / gpio / Kconfig
index 7d9c97f53799ca92e4cf96783e4f8d3bcde3c556..2081520f42ebd46f9032d8058ea153214bdb9299 100644 (file)
@@ -14,6 +14,28 @@ config DM_GPIO
          particular GPIOs that they provide. The uclass interface
          is defined in include/asm-generic/gpio.h.
 
+config SPL_DM_GPIO
+       bool "Enable Driver Model for GPIO drivers in SPL"
+       depends on DM_GPIO && SPL_DM && SPL_GPIO_SUPPORT
+       default y
+       help
+         Enable driver model for GPIO access in SPL. The standard GPIO
+         interface (gpio_get_value(), etc.) is then implemented by
+         the GPIO uclass. Drivers provide methods to query the
+         particular GPIOs that they provide. The uclass interface
+         is defined in include/asm-generic/gpio.h.
+
+config TPL_DM_GPIO
+       bool "Enable Driver Model for GPIO drivers in TPL"
+       depends on DM_GPIO && TPL_DM && TPL_GPIO_SUPPORT
+       default y
+       help
+         Enable driver model for GPIO access in TPL. The standard GPIO
+         interface (gpio_get_value(), etc.) is then implemented by
+         the GPIO uclass. Drivers provide methods to query the
+         particular GPIOs that they provide. The uclass interface
+         is defined in include/asm-generic/gpio.h.
+
 config GPIO_HOG
        bool "Enable GPIO hog support"
        depends on DM_GPIO
@@ -33,10 +55,19 @@ config ALTERA_PIO
 
 config BCM6345_GPIO
        bool "BCM6345 GPIO driver"
-       depends on DM_GPIO && (ARCH_BMIPS || ARCH_BCM6858 || ARCH_BCM63158)
+       depends on DM_GPIO && (ARCH_BMIPS || ARCH_BCM68360 || \
+                              ARCH_BCM6858 || ARCH_BCM63158)
        help
          This driver supports the GPIO banks on BCM6345 SoCs.
 
+config CORTINA_GPIO
+       bool "Cortina-Access GPIO driver"
+       depends on DM_GPIO && CORTINA_PLATFORM
+       help
+         Enable support for the GPIO controller in Cortina CAxxxx SoCs.
+         This driver supports all CPU ISA variants supported by Cortina
+         Access CAxxxx SoCs.
+
 config DWAPB_GPIO
        bool "DWAPB GPIO driver"
        depends on DM && DM_GPIO
@@ -82,6 +113,15 @@ config INTEL_BROADWELL_GPIO
          driver from the common Intel ICH6 driver. It supports a total of
          95 GPIOs which can be configured from the device tree.
 
+config INTEL_GPIO
+       bool "Intel generic GPIO driver"
+       depends on DM_GPIO
+       help
+         Say yes here to select Intel generic GPIO driver. This controller
+         supports recent chips (e.g. Apollo Lake). It permits basic GPIO
+         control including setting pins to input/output. It makes use of its
+         parent pinctrl driver to actually effect changes.
+
 config INTEL_ICH6_GPIO
        bool "Intel ICH6 compatible legacy GPIO driver"
        depends on DM_GPIO
@@ -139,6 +179,11 @@ config MXC_GPIO
        help
          Support GPIO controllers on various i.MX platforms
 
+config MXS_GPIO
+       bool "Freescale/NXP MXS GPIO driver"
+       help
+         Support GPIO controllers on i.MX23 and i.MX28 platforms
+
 config OMAP_GPIO
        bool "TI OMAP GPIO driver"
        depends on ARCH_OMAP2PLUS
@@ -280,6 +325,13 @@ config STM32_GPIO
          usable on many stm32 families like stm32f4/f7/h7 and stm32mp1.
          Tested on STM32F7.
 
+config SIFIVE_GPIO
+       bool "SiFive GPIO driver"
+       depends on DM_GPIO
+       help
+         Device model driver for GPIO controller present in SiFive FU540 SoC. This
+         driver enables GPIO interface on HiFive Unleashed A00 board.
+
 config MVEBU_GPIO
        bool "Marvell MVEBU GPIO driver"
        depends on DM_GPIO && ARCH_MVEBU
@@ -289,7 +341,7 @@ config MVEBU_GPIO
 
 config ZYNQ_GPIO
        bool "Zynq GPIO driver"
-       depends on DM_GPIO && (ARCH_ZYNQ || ARCH_ZYNQMP)
+       depends on DM_GPIO && (ARCH_ZYNQ || ARCH_ZYNQMP || ARCH_VERSAL)
        default y
        help
          Supports GPIO access on Zynq SoC.
@@ -371,6 +423,14 @@ config MPC8XXX_GPIO
          value setting, the open-drain feature, which can configure individual
          GPIOs to work as open-drain outputs, is supported.
 
+config MPC83XX_SPISEL_BOOT
+       bool "Freescale MPC83XX SPISEL_BOOT driver"
+       depends on DM_GPIO && ARCH_MPC830X
+       help
+         GPIO driver to set/clear dedicated SPISEL_BOOT output on MPC83XX.
+
+         This pin is typically used as spi chip select to a spi nor flash.
+
 config MT7621_GPIO
        bool "MediaTek MT7621 GPIO driver"
        depends on DM_GPIO && SOC_MT7628