2 # PINCTRL infrastructure and drivers
10 menu "Pin controllers"
14 bool "Support pin multiplexing controllers" if COMPILE_TEST
17 bool "Support pin configuration controllers" if COMPILE_TEST
19 config GENERIC_PINCONF
24 bool "Debug PINCTRL calls"
25 depends on DEBUG_KERNEL
27 Say Y here to add some extra checks and diagnostics to PINCTRL calls.
30 bool "ADI pin controller driver"
35 This is the pin controller and gpio driver for ADI BF54x, BF60x and
36 future processors. This option is selected automatically when specific
37 machine and arch are selected to build.
40 bool "Pinctrl and GPIO driver for ams AS3722 PMIC"
41 depends on MFD_AS3722 && GPIOLIB
43 select GENERIC_PINCONF
45 AS3722 device supports the configuration of GPIO pins for different
46 functionality. This driver supports the pinmux, push-pull and
47 open drain configuration for the GPIO pins of AS3722 devices. It also
48 supports the GPIO functionality through gpiolib.
59 bool "AT91 pinctrl driver"
66 select GPIOLIB_IRQCHIP
68 Say Y here to enable the at91 pinctrl driver
70 config PINCTRL_BAYTRAIL
71 bool "Intel Baytrail GPIO pin control"
72 depends on GPIOLIB && ACPI && X86
73 select GPIOLIB_IRQCHIP
75 driver for memory mapped GPIO functionality on Intel Baytrail
76 platforms. Supports 3 banks with 102, 28 and 44 gpios.
77 Most pins are usually muxed to some other functionality by firmware,
78 so only a small amount is available for gpio use.
80 Requires ACPI device enumeration code to set up a platform device.
82 config PINCTRL_BCM2835
87 config PINCTRL_BCM281XX
88 bool "Broadcom BCM281xx pinctrl driver"
89 depends on OF && (ARCH_BCM_MOBILE || COMPILE_TEST)
92 select GENERIC_PINCONF
95 Say Y here to support Broadcom BCM281xx pinctrl driver, which is used
96 for the BCM281xx SoC family, including BCM11130, BCM11140, BCM11351,
97 BCM28145, and BCM28155 SoCs. This driver requires the pinctrl
98 framework. GPIO is provided by a separate GPIO driver.
100 config PINCTRL_LANTIQ
106 config PINCTRL_FALCON
108 depends on SOC_FALCON
109 depends on PINCTRL_LANTIQ
111 config PINCTRL_ROCKCHIP
114 select GENERIC_PINCONF
115 select GENERIC_IRQ_CHIP
118 config PINCTRL_SINGLE
119 tristate "One-register-per-pin type device tree based pinctrl driver"
123 select GENERIC_PINCONF
125 This selects the device tree based generic pinctrl driver.
128 bool "CSR SiRFprimaII/SiRFmarco pin controller driver"
131 select GPIOLIB_IRQCHIP
138 select GPIOLIB_IRQCHIP
145 config PINCTRL_TEGRA20
149 config PINCTRL_TEGRA30
153 config PINCTRL_TEGRA114
157 config PINCTRL_TEGRA124
161 config PINCTRL_TEGRA_XUSB
162 def_bool y if ARCH_TEGRA
167 config PINCTRL_TZ1090
168 bool "Toumaz Xenif TZ1090 pin control driver"
169 depends on SOC_TZ1090
171 select GENERIC_PINCONF
173 config PINCTRL_TZ1090_PDC
174 bool "Toumaz Xenif TZ1090 PDC pin control driver"
175 depends on SOC_TZ1090
180 bool "U300 pin controller driver"
183 select GENERIC_PINCONF
185 config PINCTRL_COH901
186 bool "ST-Ericsson U300 COH 901 335/571 GPIO"
187 depends on GPIOLIB && ARCH_U300 && PINCTRL_U300
188 select GPIOLIB_IRQCHIP
190 Say yes here to support GPIO interface on ST-Ericsson U300.
191 The names of the two IP block variants supported are
192 COH 901 335 and COH 901 571/3. They contain 3, 5 or 7
193 ports of 8 GPIO pins each.
195 config PINCTRL_PALMAS
196 bool "Pinctrl driver for the PALMAS Series MFD devices"
197 depends on OF && MFD_PALMAS
199 select GENERIC_PINCONF
201 Palmas device supports the configuration of pins for different
202 functionality. This driver supports the pinmux, push-pull and
203 open drain configuration for the Palmas series devices like
204 TPS65913, TPS80036 etc.
206 source "drivers/pinctrl/berlin/Kconfig"
207 source "drivers/pinctrl/freescale/Kconfig"
208 source "drivers/pinctrl/mvebu/Kconfig"
209 source "drivers/pinctrl/nomadik/Kconfig"
210 source "drivers/pinctrl/qcom/Kconfig"
211 source "drivers/pinctrl/samsung/Kconfig"
212 source "drivers/pinctrl/sh-pfc/Kconfig"
213 source "drivers/pinctrl/spear/Kconfig"
214 source "drivers/pinctrl/sunxi/Kconfig"
215 source "drivers/pinctrl/vt8500/Kconfig"
219 depends on SOC_TYPE_XWAY
220 depends on PINCTRL_LANTIQ
224 depends on ARC_PLAT_TB10X