2 # PINCTRL infrastructure and drivers
10 config GENERIC_PINCTRL_GROUPS
14 bool "Support pin multiplexing controllers" if COMPILE_TEST
16 config GENERIC_PINMUX_FUNCTIONS
21 bool "Support pin configuration controllers" if COMPILE_TEST
23 config GENERIC_PINCONF
28 bool "Debug PINCTRL calls"
29 depends on DEBUG_KERNEL
31 Say Y here to add some extra checks and diagnostics to PINCTRL calls.
33 config PINCTRL_ARTPEC6
34 bool "Axis ARTPEC-6 pin controller driver"
35 depends on MACH_ARTPEC6
37 select GENERIC_PINCONF
39 This is the driver for the Axis ARTPEC-6 pin controller. This driver
40 supports pin function multiplexing as well as pin bias and drive
41 strength configuration. Device tree integration instructions can be
42 found in Documentation/devicetree/bindings/pinctrl/axis,artpec6-pinctrl.txt
45 tristate "Pinctrl and GPIO driver for ams AS3722 PMIC"
46 depends on MFD_AS3722 && GPIOLIB
48 select GENERIC_PINCONF
50 AS3722 device supports the configuration of GPIO pins for different
51 functionality. This driver supports the pinmux, push-pull and
52 open drain configuration for the GPIO pins of AS3722 devices. It also
53 supports the GPIO functionality through gpiolib.
56 tristate "X-Powers AXP209 PMIC pinctrl and GPIO Support"
60 select GENERIC_PINCONF
63 AXP PMICs provides multiple GPIOs that can be muxed for different
64 functions. This driver bundles a pinctrl driver to select the function
65 muxing and a GPIO driver to handle the GPIO when the GPIO function is
67 Say yes to enable pinctrl and GPIO support for the AXP209 PMIC
70 bool "AT91 pinctrl driver"
77 select GPIOLIB_IRQCHIP
79 Say Y here to enable the at91 pinctrl driver
81 config PINCTRL_AT91PIO4
82 bool "AT91 PIO4 pinctrl driver"
86 select GENERIC_PINCONF
88 select GPIOLIB_IRQCHIP
91 Say Y here to enable the at91 pinctrl/gpio driver for Atmel PIO4
92 controller available on sama5d2 SoC.
95 tristate "AMD GPIO pin control"
98 select GPIOLIB_IRQCHIP
101 select GENERIC_PINCONF
103 driver for memory mapped GPIO functionality on AMD platforms
104 (x86 or arm).Most pins are usually muxed to some other
105 functionality by firmware,so only a small amount is available
108 Requires ACPI/FDT device enumeration code to set up a platform
111 config PINCTRL_DA850_PUPD
112 tristate "TI DA850/OMAP-L138/AM18XX pullup/pulldown groups"
113 depends on OF && (ARCH_DAVINCI_DA850 || COMPILE_TEST)
115 select GENERIC_PINCONF
117 Driver for TI DA850/OMAP-L138/AM18XX pinconf. Used to control
118 pullup/pulldown pin groups.
120 config PINCTRL_DIGICOLOR
122 depends on OF && (ARCH_DIGICOLOR || COMPILE_TEST)
124 select GENERIC_PINCONF
126 config PINCTRL_LANTIQ
132 config PINCTRL_LPC18XX
133 bool "NXP LPC18XX/43XX SCU pinctrl driver"
134 depends on OF && (ARCH_LPC18XX || COMPILE_TEST)
137 select GENERIC_PINCONF
139 Pinctrl driver for NXP LPC18xx/43xx System Control Unit (SCU).
141 config PINCTRL_FALCON
143 depends on SOC_FALCON
144 depends on PINCTRL_LANTIQ
146 config PINCTRL_GEMINI
148 depends on ARCH_GEMINI
151 select GENERIC_PINCONF
154 config PINCTRL_MCP23S08
155 tristate "Microchip MCP23xxx I/O expander"
156 depends on SPI_MASTER || I2C
157 depends on I2C || I2C=n
159 select GPIOLIB_IRQCHIP
160 select REGMAP_I2C if I2C
161 select REGMAP_SPI if SPI_MASTER
162 select GENERIC_PINCONF
164 SPI/I2C driver for Microchip MCP23S08 / MCP23S17 / MCP23S18 /
165 MCP23008 / MCP23017 / MCP23018 I/O expanders.
166 This provides a GPIO interface supporting inputs and outputs and a
167 corresponding interrupt-controller.
174 select GENERIC_PINCONF
177 select GPIOLIB_IRQCHIP
180 config PINCTRL_ROCKCHIP
183 select GENERIC_PINCONF
184 select GENERIC_IRQ_CHIP
188 bool "Renesas RZ/A1 gpio and pinctrl driver"
190 depends on ARCH_R7S72100 || COMPILE_TEST
192 select GENERIC_PINCTRL_GROUPS
193 select GENERIC_PINMUX_FUNCTIONS
194 select GENERIC_PINCONF
196 This selects pinctrl driver for Renesas RZ/A1 platforms.
199 bool "Renesas RZ/A2 gpio and pinctrl driver"
201 depends on ARCH_R7S9210 || COMPILE_TEST
203 select GENERIC_PINCTRL_GROUPS
204 select GENERIC_PINMUX_FUNCTIONS
205 select GENERIC_PINCONF
207 This selects GPIO and pinctrl driver for Renesas RZ/A2 platforms.
210 bool "Renesas RZ/N1 pinctrl driver"
212 depends on ARCH_RZN1 || COMPILE_TEST
213 select GENERIC_PINCTRL_GROUPS
214 select GENERIC_PINMUX_FUNCTIONS
215 select GENERIC_PINCONF
217 This selects pinctrl driver for Renesas RZ/N1 devices.
219 config PINCTRL_SINGLE
220 tristate "One-register-per-pin type device tree based pinctrl driver"
223 select GENERIC_PINCTRL_GROUPS
224 select GENERIC_PINMUX_FUNCTIONS
225 select GENERIC_PINCONF
227 This selects the device tree based generic pinctrl driver.
230 bool "CSR SiRFprimaII pin controller driver"
234 select GENERIC_PINCONF
235 select GPIOLIB_IRQCHIP
237 config PINCTRL_SX150X
238 bool "Semtech SX150x I2C GPIO expander pinctrl driver"
242 select GENERIC_PINCONF
244 select GPIOLIB_IRQCHIP
247 Say yes here to provide support for Semtech SX150x-series I2C
248 GPIO expanders as pinctrl module.
249 Compatible models include:
250 - 8 bits: sx1508q, sx1502q
251 - 16 bits: sx1509q, sx1506q
253 config PINCTRL_PISTACHIO
254 def_bool y if MACH_PISTACHIO
257 select GENERIC_PINCONF
258 select GPIOLIB_IRQCHIP
266 select GPIOLIB_IRQCHIP
269 bool "U300 pin controller driver"
272 select GENERIC_PINCONF
274 config PINCTRL_COH901
275 bool "ST-Ericsson U300 COH 901 335/571 GPIO"
276 depends on GPIOLIB && ARCH_U300 && PINCTRL_U300
277 select GPIOLIB_IRQCHIP
279 Say yes here to support GPIO interface on ST-Ericsson U300.
280 The names of the two IP block variants supported are
281 COH 901 335 and COH 901 571/3. They contain 3, 5 or 7
282 ports of 8 GPIO pins each.
284 config PINCTRL_MAX77620
285 tristate "MAX77620/MAX20024 Pincontrol support"
286 depends on MFD_MAX77620 && OF
288 select GENERIC_PINCONF
290 Say Yes here to enable Pin control support for Maxim PMIC MAX77620.
291 This PMIC has 8 GPIO pins that work as GPIO as well as special
292 function in alternate mode. This driver also configure push-pull,
293 open drain, FPS slots etc.
295 config PINCTRL_PALMAS
296 tristate "Pinctrl driver for the PALMAS Series MFD devices"
297 depends on OF && MFD_PALMAS
299 select GENERIC_PINCONF
301 Palmas device supports the configuration of pins for different
302 functionality. This driver supports the pinmux, push-pull and
303 open drain configuration for the Palmas series devices like
304 TPS65913, TPS80036 etc.
307 bool "Microchip PIC32 pin controller driver"
309 depends on MACH_PIC32
311 select GENERIC_PINCONF
312 select GPIOLIB_IRQCHIP
315 This is the pin controller and gpio driver for Microchip PIC32
316 microcontrollers. This option is selected automatically when specific
317 machine and arch are selected to build.
319 config PINCTRL_PIC32MZDA
320 def_bool y if PIC32MZDA
324 bool "Pinctrl driver for Xilinx Zynq"
327 select GENERIC_PINCONF
329 This selects the pinctrl driver for Xilinx Zynq.
331 config PINCTRL_INGENIC
332 bool "Pinctrl driver for the Ingenic JZ47xx SoCs"
335 depends on MIPS || COMPILE_TEST
336 select GENERIC_PINCONF
337 select GENERIC_PINCTRL_GROUPS
338 select GENERIC_PINMUX_FUNCTIONS
340 select GPIOLIB_IRQCHIP
344 tristate "Pinctrl and GPIO driver for RK805 PMIC"
348 select GENERIC_PINCONF
350 This selects the pinctrl driver for RK805.
352 config PINCTRL_OCELOT
353 bool "Pinctrl driver for the Microsemi Ocelot and Jaguar2 SoCs"
357 select GPIOLIB_IRQCHIP
358 select GENERIC_PINCONF
359 select GENERIC_PINCTRL_GROUPS
360 select GENERIC_PINMUX_FUNCTIONS
364 source "drivers/pinctrl/actions/Kconfig"
365 source "drivers/pinctrl/aspeed/Kconfig"
366 source "drivers/pinctrl/bcm/Kconfig"
367 source "drivers/pinctrl/berlin/Kconfig"
368 source "drivers/pinctrl/freescale/Kconfig"
369 source "drivers/pinctrl/intel/Kconfig"
370 source "drivers/pinctrl/mvebu/Kconfig"
371 source "drivers/pinctrl/nomadik/Kconfig"
372 source "drivers/pinctrl/nuvoton/Kconfig"
373 source "drivers/pinctrl/pxa/Kconfig"
374 source "drivers/pinctrl/qcom/Kconfig"
375 source "drivers/pinctrl/samsung/Kconfig"
376 source "drivers/pinctrl/sh-pfc/Kconfig"
377 source "drivers/pinctrl/spear/Kconfig"
378 source "drivers/pinctrl/sprd/Kconfig"
379 source "drivers/pinctrl/stm32/Kconfig"
380 source "drivers/pinctrl/sunxi/Kconfig"
381 source "drivers/pinctrl/tegra/Kconfig"
382 source "drivers/pinctrl/ti/Kconfig"
383 source "drivers/pinctrl/uniphier/Kconfig"
384 source "drivers/pinctrl/vt8500/Kconfig"
385 source "drivers/pinctrl/mediatek/Kconfig"
386 source "drivers/pinctrl/zte/Kconfig"
387 source "drivers/pinctrl/meson/Kconfig"
388 source "drivers/pinctrl/cirrus/Kconfig"
392 depends on SOC_TYPE_XWAY
393 depends on PINCTRL_LANTIQ
397 depends on OF && ARC_PLAT_TB10X