Merge branch 'master' of git://git.denx.de/u-boot-spi
[platform/kernel/u-boot.git] / drivers / pinctrl / Kconfig
index 0c832e1..7e6fad3 100644 (file)
@@ -47,9 +47,9 @@ config PINMUX
        default y
        help
          This option enables pin multiplexing through the generic pinctrl
        default y
        help
          This option enables pin multiplexing through the generic pinctrl
-         framework. Most SoCs have their own own multiplexing arrangement
-         where a single pin can be used for several functions. An SoC pinctrl
-         driver allows the required function to be selected for each pin.
+         framework. Most SoCs have their own multiplexing arrangement where
+         a single pin can be used for several functions. An SoC pinctrl driver
+         allows the required function to be selected for each pin.
          The driver is typically controlled by the device tree.
 
 config PINCONF
          The driver is typically controlled by the device tree.
 
 config PINCONF
@@ -60,7 +60,7 @@ config PINCONF
          framework.
 
 config SPL_PINCTRL
          framework.
 
 config SPL_PINCTRL
-       bool "Support pin controlloers in SPL"
+       bool "Support pin controllers in SPL"
        depends on SPL && SPL_DM
        help
          This option is an SPL-variant of the PINCTRL option.
        depends on SPL && SPL_DM
        help
          This option is an SPL-variant of the PINCTRL option.
@@ -69,6 +69,7 @@ config SPL_PINCTRL
 config SPL_PINCTRL_FULL
        bool "Support full pin controllers in SPL"
        depends on SPL_PINCTRL && SPL_OF_CONTROL
 config SPL_PINCTRL_FULL
        bool "Support full pin controllers in SPL"
        depends on SPL_PINCTRL && SPL_OF_CONTROL
+       default n if TARGET_STM32F746_DISCO
        default y
        help
          This option is an SPL-variant of the PINCTRL_FULL option.
        default y
        help
          This option is an SPL-variant of the PINCTRL_FULL option.
@@ -105,7 +106,7 @@ config SPL_PINCONF
 
 if PINCTRL || SPL_PINCTRL
 
 
 if PINCTRL || SPL_PINCTRL
 
-config AR933X_PINCTRL
+config PINCTRL_AR933X
        bool "QCA/Athores ar933x pin control driver"
        depends on DM && SOC_AR933X
        help
        bool "QCA/Athores ar933x pin control driver"
        depends on DM && SOC_AR933X
        help
@@ -114,66 +115,158 @@ config AR933X_PINCTRL
          both the GPIO definitions and pin control functions for each
          available multiplex function.
 
          both the GPIO definitions and pin control functions for each
          available multiplex function.
 
-config QCA953X_PINCTRL
+config PINCTRL_AT91
+       bool "AT91 pinctrl driver"
+       depends on DM
+       help
+         This option is to enable the AT91 pinctrl driver for AT91 PIO
+         controller.
+
+         AT91 PIO controller is a combined gpio-controller, pin-mux and
+         pin-config module. Each I/O pin may be dedicated as a general-purpose
+         I/O or be assigned to a function of an embedded peripheral. Each I/O
+         pin has a glitch filter providing rejection of glitches lower than
+         one-half of peripheral clock cycle and a debouncing filter providing
+         rejection of unwanted pulses from key or push button operations. You
+         can also control the multi-driver capability, pull-up and pull-down
+         feature on each I/O pin.
+
+config PINCTRL_AT91PIO4
+       bool "AT91 PIO4 pinctrl driver"
+       depends on DM
+       help
+         This option is to enable the AT91 pinctrl driver for AT91 PIO4
+         controller which is available on SAMA5D2 SoC.
+
+config PINCTRL_PIC32
+       bool "Microchip PIC32 pin-control and pin-mux driver"
+       depends on DM && MACH_PIC32
+       default y
+       help
+         Supports individual pin selection and configuration for each
+         remappable peripheral available on Microchip PIC32
+         SoCs. This driver is controlled by a device tree node which
+         contains both GPIO defintion and pin control functions.
+
+config PINCTRL_QCA953X
        bool "QCA/Athores qca953x pin control driver"
        depends on DM && SOC_QCA953X
        help
          Support pin multiplexing control on QCA/Athores qca953x SoCs.
        bool "QCA/Athores qca953x pin control driver"
        depends on DM && SOC_QCA953X
        help
          Support pin multiplexing control on QCA/Athores qca953x SoCs.
-         The driver is controlled by a device tree node which contains
-         both the GPIO definitions and pin control functions for each
-         available multiplex function.
 
 
-config ROCKCHIP_RK3036_PINCTRL
+         The driver is controlled by a device tree node which contains both
+         the GPIO definitions and pin control functions for each available
+         multiplex function.
+
+config PINCTRL_ROCKCHIP_RK3036
        bool "Rockchip rk3036 pin control driver"
        depends on DM
        help
        bool "Rockchip rk3036 pin control driver"
        depends on DM
        help
-         Support pin multiplexing control on Rockchip rk3036 SoCs. The driver is
-         controlled by a device tree node which contains both the GPIO
-         definitions and pin control functions for each available multiplex
-         function.
+         Support pin multiplexing control on Rockchip rk3036 SoCs.
 
 
-config ROCKCHIP_RK3288_PINCTRL
-       bool "Rockchip pin control driver"
+         The driver is controlled by a device tree node which contains both
+         the GPIO definitions and pin control functions for each available
+         multiplex function.
+
+config PINCTRL_ROCKCHIP_RK3128
+       bool "Rockchip rk3128 pin control driver"
        depends on DM
        help
        depends on DM
        help
-         Support pin multiplexing control on Rockchip rk3288 SoCs. The driver
-         is controlled by a device tree node which contains both the GPIO
-         definitions and pin control functions for each available multiplex
-         function.
+         Support pin multiplexing control on Rockchip rk3128 SoCs.
 
 
-config PINCTRL_AT91PIO4
-       bool "AT91 PIO4 pinctrl driver"
+         The driver is controlled by a device tree node which contains both
+         the GPIO definitions and pin control functions for each available
+         multiplex function.
+
+config PINCTRL_ROCKCHIP_RK3188
+       bool "Rockchip rk3188 pin control driver"
        depends on DM
        help
        depends on DM
        help
-         This option is to enable the AT91 pinctrl driver for AT91 PIO4
-         controller which is available on SAMA5D2 SoC.
+         Support pin multiplexing control on Rockchip rk3188 SoCs.
+
+         The driver is controlled by a device tree node which contains both
+         the GPIO definitions and pin control functions for each available
+         multiplex function.
 
 
-config ROCKCHIP_RK3399_PINCTRL
-       bool "Rockchip pin control driver"
+config PINCTRL_ROCKCHIP_RK322X
+       bool "Rockchip rk322x pin control driver"
        depends on DM
        help
        depends on DM
        help
-         Support pin multiplexing control on Rockchip rk3399 SoCs. The driver
-         is controlled by a device tree node which contains both the GPIO
-         definitions and pin control functions for each available multiplex
-         function.
+         Support pin multiplexing control on Rockchip rk322x SoCs.
+
+         The driver is controlled by a device tree node which contains both
+         the GPIO definitions and pin control functions for each available
+         multiplex function.
+
+config PINCTRL_ROCKCHIP_RK3288
+       bool "Rockchip rk3288 pin control driver"
+       depends on DM
+       help
+         Support pin multiplexing control on Rockchip rk3288 SoCs.
+
+         The driver is controlled by a device tree node which contains both
+         the GPIO definitions and pin control functions for each available
+         multiplex function.
+
+config PINCTRL_ROCKCHIP_RK3328
+       bool "Rockchip rk3328 pin control driver"
+       depends on DM
+       help
+         Support pin multiplexing control on Rockchip rk3328 SoCs.
+
+         The driver is controlled by a device tree node which contains both
+         the GPIO definitions and pin control functions for each available
+         multiplex function.
+
+config PINCTRL_ROCKCHIP_RK3368
+       bool "Rockchip RK3368 pin control driver"
+       depends on DM
+       help
+         Support pin multiplexing control on Rockchip rk3368 SoCs.
+
+         The driver is controlled by a device tree node which contains both
+         the GPIO definitions and pin control functions for each available
+         multiplex function.
+
+config PINCTRL_ROCKCHIP_RK3399
+       bool "Rockchip rk3399 pin control driver"
+       depends on DM
+       help
+         Support pin multiplexing control on Rockchip rk3399 SoCs.
+
+         The driver is controlled by a device tree node which contains both
+         the GPIO definitions and pin control functions for each available
+         multiplex function.
+
+config PINCTRL_ROCKCHIP_RV1108
+       bool "Rockchip rv1108 pin control driver"
+       depends on DM
+       help
+         Support pin multiplexing control on Rockchip rv1108 SoC.
+
+         The driver is controlled by a device tree node which contains
+         both the GPIO definitions and pin control functions for each
+         available multiplex function.
 
 config PINCTRL_SANDBOX
        bool "Sandbox pinctrl driver"
        depends on SANDBOX
        help
 
 config PINCTRL_SANDBOX
        bool "Sandbox pinctrl driver"
        depends on SANDBOX
        help
-         This enables pinctrl driver for sandbox.  Currently, this driver
-         actually does nothing but print debug messages when pinctrl
-         operations are invoked.
+         This enables pinctrl driver for sandbox.
 
 
-config PIC32_PINCTRL
-       bool "Microchip PIC32 pin-control and pin-mux driver"
-       depends on DM && MACH_PIC32
-       default y
+         Currently, this driver actually does nothing but print debug
+         messages when pinctrl operations are invoked.
+
+config PINCTRL_SINGLE
+       bool "Single register pin-control and pin-multiplex driver"
+       depends on DM
        help
        help
-         Supports individual pin selection and configuration for each remappable
-         peripheral available on Microchip PIC32 SoCs. This driver is controlled
-         by a device tree node which contains both GPIO defintion and pin control
-         functions.
+         This enables pinctrl driver for systems using a single register for
+         pin configuration and multiplexing. TI's AM335X SoCs are examples of
+         such systems.
+
+         Depending on the platform make sure to also enable OF_TRANSLATE and
+         eventually SPL_OF_TRANSLATE to get correct address translations.
 
 config PINCTRL_STI
        bool "STMicroelectronics STi pin-control and pin-mux driver"
 
 config PINCTRL_STI
        bool "STMicroelectronics STi pin-control and pin-mux driver"
@@ -181,16 +274,39 @@ config PINCTRL_STI
        default y
        help
          Support pin multiplexing control on STMicrolectronics STi SoCs.
        default y
        help
          Support pin multiplexing control on STMicrolectronics STi SoCs.
+
          The driver is controlled by a device tree node which contains both
          The driver is controlled by a device tree node which contains both
-         the GPIO definitions and pin control functions for each available multiplex
-         function.
+         the GPIO definitions and pin control functions for each available
+         multiplex function.
+
+config PINCTRL_STM32
+       bool "ST STM32 pin control driver"
+       depends on DM
+       help
+         Supports pin multiplexing control on stm32 SoCs.
+
+         The driver is controlled by a device tree node which contains both
+         the GPIO definitions and pin control functions for each available
+         multiplex function.
+
+config ASPEED_AST2500_PINCTRL
+  bool "Aspeed AST2500 pin control driver"
+  depends on DM && PINCTRL_GENERIC && ASPEED_AST2500
+  default y
+  help
+    Support pin multiplexing control on Aspeed ast2500 SoC. The driver uses
+       Generic Pinctrl framework and is compatible with the Linux driver,
+       i.e. it uses the same device tree configuration.
 
 endif
 
 source "drivers/pinctrl/meson/Kconfig"
 
 endif
 
 source "drivers/pinctrl/meson/Kconfig"
+source "drivers/pinctrl/mediatek/Kconfig"
 source "drivers/pinctrl/nxp/Kconfig"
 source "drivers/pinctrl/nxp/Kconfig"
+source "drivers/pinctrl/renesas/Kconfig"
 source "drivers/pinctrl/uniphier/Kconfig"
 source "drivers/pinctrl/exynos/Kconfig"
 source "drivers/pinctrl/mvebu/Kconfig"
 source "drivers/pinctrl/uniphier/Kconfig"
 source "drivers/pinctrl/exynos/Kconfig"
 source "drivers/pinctrl/mvebu/Kconfig"
+source "drivers/pinctrl/broadcom/Kconfig"
 
 endmenu
 
 endmenu