config PINCTRL
	bool "Pin controller core support"
	default y if OFDEVICE
	help
	  Pincontrollers allow to setup the iomux unit of SoCs. The pin
	  controller core is needed when pin muxing shall be configured
	  from the devicetree. Legacy drivers here may not need this core
	  support but instead provide their own SoC specific APIs

# The following drivers are needed even without PINCTRL because
# the either have a legacy iomux interface or also register a gpio
# chip.
config PINCTRL_AT91
	bool
	help
	    The pinmux controller found on AT91 SoCs.

config PINCTRL_IMX_IOMUX_V1
	bool
	help
	  This iomux controller is found on i.MX1,21,27.

config PINCTRL_IMX_IOMUX_V2
	bool
	help
	  This iomux controller is found on i.MX31.

config PINCTRL_IMX_IOMUX_V3
	bool
	help
	  This iomux controller is found on i.MX25,35,51,53,6.

if PINCTRL

if !OFDEVICE
comment "OFDEVICE is not enabled."
comment "Without device tree support PINCTRL won't do anything"
endif

config PINCTRL_MXS
	bool "MXS pinctrl"
	depends on ARCH_MXS
	default ARCH_MXS
	help
	  This pinmux controller is found on i.MX23,28

config PINCTRL_ROCKCHIP
	select GPIO_GENERIC
	select MFD_SYSCON
	bool
	help
	  The pinmux controller found on Rockchip SoCs.

config PINCTRL_SINGLE
	bool "pinctrl single"

config PINCTRL_TEGRA20
	bool
	default y if ARCH_TEGRA_2x_SOC
	help
	  The pinmux controller found on the Tegra 20 line of SoCs.

config PINCTRL_TEGRA30
	bool
	default y if ARCH_TEGRA_3x_SOC
	default y if ARCH_TEGRA_124_SOC
	help
	  The pinmux controller found on the Tegra 30+ line of SoCs.

config PINCTRL_TEGRA_XUSB
	bool
	default y if ARCH_TEGRA_124_SOC
	select GENERIC_PHY
	help
	  The pinmux controller found on the Tegra 124 line of SoCs used for
	  the SerDes lanes.

source drivers/pinctrl/mvebu/Kconfig

endif
