xref: /linux/drivers/pinctrl/Kconfig (revision ce8dc0943357a5d10b05dcf0556b537c1d7b8b1f)
12744e8afSLinus Walleij#
22744e8afSLinus Walleij# PINCTRL infrastructure and drivers
32744e8afSLinus Walleij#
42744e8afSLinus Walleij
5d219b924SPhil Reidmenuconfig PINCTRL
6d219b924SPhil Reid	bool "Pin controllers"
72744e8afSLinus Walleij
8d219b924SPhil Reidif PINCTRL
945f034efSLinus Walleij
10c033a718SLinus Walleijconfig GENERIC_PINCTRL_GROUPS
11c7059c5aSTony Lindgren	bool
12c7059c5aSTony Lindgren
132744e8afSLinus Walleijconfig PINMUX
14244e95a7SUwe Kleine-König	bool "Support pin multiplexing controllers" if COMPILE_TEST
15ae6b4d85SLinus Walleij
16a76edc89STony Lindgrenconfig GENERIC_PINMUX_FUNCTIONS
17a76edc89STony Lindgren	bool
18a76edc89STony Lindgren	select PINMUX
19a76edc89STony Lindgren
20ae6b4d85SLinus Walleijconfig PINCONF
21244e95a7SUwe Kleine-König	bool "Support pin configuration controllers" if COMPILE_TEST
222744e8afSLinus Walleij
23394349f7SLinus Walleijconfig GENERIC_PINCONF
24394349f7SLinus Walleij	bool
25394349f7SLinus Walleij	select PINCONF
26394349f7SLinus Walleij
272744e8afSLinus Walleijconfig DEBUG_PINCTRL
282744e8afSLinus Walleij	bool "Debug PINCTRL calls"
292744e8afSLinus Walleij	depends on DEBUG_KERNEL
302744e8afSLinus Walleij	help
312744e8afSLinus Walleij	  Say Y here to add some extra checks and diagnostics to PINCTRL calls.
322744e8afSLinus Walleij
33e9a03addSSonic Zhangconfig PINCTRL_ADI2
34e9a03addSSonic Zhang	bool "ADI pin controller driver"
351c363531SLinus Walleij	depends on (BF54x || BF60x)
361c363531SLinus Walleij	depends on !GPIO_ADI
37e9a03addSSonic Zhang	select PINMUX
38e9a03addSSonic Zhang	select IRQ_DOMAIN
39e9a03addSSonic Zhang	help
40e9a03addSSonic Zhang	  This is the pin controller and gpio driver for ADI BF54x, BF60x and
41e9a03addSSonic Zhang	  future processors. This option is selected automatically when specific
42e9a03addSSonic Zhang	  machine and arch are selected to build.
43e9a03addSSonic Zhang
4400df0582SJesper Nilssonconfig PINCTRL_ARTPEC6
4500df0582SJesper Nilsson        bool "Axis ARTPEC-6 pin controller driver"
4600df0582SJesper Nilsson        depends on MACH_ARTPEC6
4700df0582SJesper Nilsson        select PINMUX
4800df0582SJesper Nilsson        select GENERIC_PINCONF
4900df0582SJesper Nilsson        help
5000df0582SJesper Nilsson          This is the driver for the Axis ARTPEC-6 pin controller. This driver
5100df0582SJesper Nilsson          supports pin function multiplexing as well as pin bias and drive
5200df0582SJesper Nilsson          strength configuration. Device tree integration instructions can be
5300df0582SJesper Nilsson          found in Documentation/devicetree/bindings/pinctrl/axis,artpec6-pinctrl.txt
5400df0582SJesper Nilsson
55c8ce8782SLaxman Dewanganconfig PINCTRL_AS3722
569385f35dSPaul Gortmaker	tristate "Pinctrl and GPIO driver for ams AS3722 PMIC"
57c8ce8782SLaxman Dewangan	depends on MFD_AS3722 && GPIOLIB
58c8ce8782SLaxman Dewangan	select PINMUX
59c8ce8782SLaxman Dewangan	select GENERIC_PINCONF
60c8ce8782SLaxman Dewangan	help
61c8ce8782SLaxman Dewangan	  AS3722 device supports the configuration of GPIO pins for different
62c8ce8782SLaxman Dewangan	  functionality. This driver supports the pinmux, push-pull and
63c8ce8782SLaxman Dewangan	  open drain configuration for the GPIO pins of AS3722 devices. It also
64c8ce8782SLaxman Dewangan	  supports the GPIO functionality through gpiolib.
65c8ce8782SLaxman Dewangan
66449317a8SQuentin Schulzconfig PINCTRL_AXP209
67449317a8SQuentin Schulz	tristate "X-Powers AXP209 PMIC pinctrl and GPIO Support"
68449317a8SQuentin Schulz	depends on MFD_AXP20X
69971f1b38SQuentin Schulz	depends on OF
70971f1b38SQuentin Schulz	select PINMUX
71971f1b38SQuentin Schulz	select GENERIC_PINCONF
72971f1b38SQuentin Schulz	select GPIOLIB
73449317a8SQuentin Schulz	help
74449317a8SQuentin Schulz	  AXP PMICs provides multiple GPIOs that can be muxed for different
75449317a8SQuentin Schulz	  functions. This driver bundles a pinctrl driver to select the function
76449317a8SQuentin Schulz	  muxing and a GPIO driver to handle the GPIO when the GPIO function is
77449317a8SQuentin Schulz	  selected.
78449317a8SQuentin Schulz	  Say yes to enable pinctrl and GPIO support for the AXP209 PMIC
79449317a8SQuentin Schulz
80e9a03addSSonic Zhangconfig PINCTRL_BF54x
81e9a03addSSonic Zhang	def_bool y if BF54x
82e9a03addSSonic Zhang	select PINCTRL_ADI2
83e9a03addSSonic Zhang
84e9a03addSSonic Zhangconfig PINCTRL_BF60x
85e9a03addSSonic Zhang	def_bool y if BF60x
86e9a03addSSonic Zhang	select PINCTRL_ADI2
87e9a03addSSonic Zhang
886732ae5cSJean-Christophe PLAGNIOL-VILLARDconfig PINCTRL_AT91
896732ae5cSJean-Christophe PLAGNIOL-VILLARD	bool "AT91 pinctrl driver"
906732ae5cSJean-Christophe PLAGNIOL-VILLARD	depends on OF
916732ae5cSJean-Christophe PLAGNIOL-VILLARD	depends on ARCH_AT91
926732ae5cSJean-Christophe PLAGNIOL-VILLARD	select PINMUX
936732ae5cSJean-Christophe PLAGNIOL-VILLARD	select PINCONF
9480cc3732SAlexander Stein	select GPIOLIB
9580cc3732SAlexander Stein	select OF_GPIO
9680cc3732SAlexander Stein	select GPIOLIB_IRQCHIP
976732ae5cSJean-Christophe PLAGNIOL-VILLARD	help
986732ae5cSJean-Christophe PLAGNIOL-VILLARD	  Say Y here to enable the at91 pinctrl driver
996732ae5cSJean-Christophe PLAGNIOL-VILLARD
10077618084SLudovic Desrochesconfig PINCTRL_AT91PIO4
10177618084SLudovic Desroches	bool "AT91 PIO4 pinctrl driver"
10277618084SLudovic Desroches	depends on OF
10377618084SLudovic Desroches	depends on ARCH_AT91
10477618084SLudovic Desroches	select PINMUX
10577618084SLudovic Desroches	select GENERIC_PINCONF
10677618084SLudovic Desroches	select GPIOLIB
10777618084SLudovic Desroches	select GPIOLIB_IRQCHIP
10877618084SLudovic Desroches	select OF_GPIO
10977618084SLudovic Desroches	help
11077618084SLudovic Desroches	  Say Y here to enable the at91 pinctrl/gpio driver for Atmel PIO4
11177618084SLudovic Desroches	  controller available on sama5d2 SoC.
11277618084SLudovic Desroches
113dbad75ddSKen Xueconfig PINCTRL_AMD
114337ea0fbSJean Delvare	tristate "AMD GPIO pin control"
115fd35b202SLinus Walleij	depends on HAS_IOMEM
116e2a021d4SLinus Walleij	select GPIOLIB
117dbad75ddSKen Xue	select GPIOLIB_IRQCHIP
11883b31c2aSPetr Mladek	select PINMUX
119dbad75ddSKen Xue	select PINCONF
120dbad75ddSKen Xue	select GENERIC_PINCONF
121dbad75ddSKen Xue	help
122dbad75ddSKen Xue	  driver for memory mapped GPIO functionality on AMD platforms
123dbad75ddSKen Xue	  (x86 or arm).Most pins are usually muxed to some other
124dbad75ddSKen Xue	  functionality by firmware,so only a small amount is available
125dbad75ddSKen Xue	  for gpio use.
126dbad75ddSKen Xue
127dbad75ddSKen Xue	  Requires ACPI/FDT device enumeration code to set up a platform
128dbad75ddSKen Xue	  device.
129dbad75ddSKen Xue
1301ff91f0aSDavid Lechnerconfig PINCTRL_DA850_PUPD
1311ff91f0aSDavid Lechner	tristate "TI DA850/OMAP-L138/AM18XX pullup/pulldown groups"
1321ff91f0aSDavid Lechner	depends on OF && (ARCH_DAVINCI_DA850 || COMPILE_TEST)
1331ff91f0aSDavid Lechner	select PINCONF
1341ff91f0aSDavid Lechner	select GENERIC_PINCONF
1351ff91f0aSDavid Lechner	help
1361ff91f0aSDavid Lechner	  Driver for TI DA850/OMAP-L138/AM18XX pinconf. Used to control
1371ff91f0aSDavid Lechner	  pullup/pulldown pin groups.
1381ff91f0aSDavid Lechner
13938b0e507SBaruch Siachconfig PINCTRL_DIGICOLOR
14038b0e507SBaruch Siach	bool
14138b0e507SBaruch Siach	depends on OF && (ARCH_DIGICOLOR || COMPILE_TEST)
14238b0e507SBaruch Siach	select PINMUX
14338b0e507SBaruch Siach	select GENERIC_PINCONF
14438b0e507SBaruch Siach
1453f8c50c9SJohn Crispinconfig PINCTRL_LANTIQ
1463f8c50c9SJohn Crispin	bool
1473f8c50c9SJohn Crispin	depends on LANTIQ
1483f8c50c9SJohn Crispin	select PINMUX
1493f8c50c9SJohn Crispin	select PINCONF
1503f8c50c9SJohn Crispin
1512f77ac93SJoachim Eastwoodconfig PINCTRL_LPC18XX
1522f77ac93SJoachim Eastwood	bool "NXP LPC18XX/43XX SCU pinctrl driver"
1532f77ac93SJoachim Eastwood	depends on OF && (ARCH_LPC18XX || COMPILE_TEST)
1542f77ac93SJoachim Eastwood	default ARCH_LPC18XX
1552f77ac93SJoachim Eastwood	select PINMUX
1562f77ac93SJoachim Eastwood	select GENERIC_PINCONF
1572f77ac93SJoachim Eastwood	help
1582f77ac93SJoachim Eastwood	  Pinctrl driver for NXP LPC18xx/43xx System Control Unit (SCU).
1592f77ac93SJoachim Eastwood
160e316cb2bSJohn Crispinconfig PINCTRL_FALCON
161e316cb2bSJohn Crispin	bool
162e316cb2bSJohn Crispin	depends on SOC_FALCON
163e316cb2bSJohn Crispin	depends on PINCTRL_LANTIQ
164e316cb2bSJohn Crispin
16506351d13SLinus Walleijconfig PINCTRL_GEMINI
16606351d13SLinus Walleij	bool
16706351d13SLinus Walleij	depends on ARCH_GEMINI
16806351d13SLinus Walleij	default ARCH_GEMINI
16906351d13SLinus Walleij	select PINMUX
1701c5b7f3cSLinus Walleij	select GENERIC_PINCONF
17106351d13SLinus Walleij	select MFD_SYSCON
17206351d13SLinus Walleij
17364ac43e6SSebastian Reichelconfig PINCTRL_MCP23S08
17464ac43e6SSebastian Reichel	tristate "Microchip MCP23xxx I/O expander"
17564ac43e6SSebastian Reichel	depends on SPI_MASTER || I2C
176adeac775SArnd Bergmann	depends on I2C || I2C=n
177e2a021d4SLinus Walleij	select GPIOLIB
17864ac43e6SSebastian Reichel	select GPIOLIB_IRQCHIP
17964ac43e6SSebastian Reichel	select REGMAP_I2C if I2C
18064ac43e6SSebastian Reichel	select REGMAP_SPI if SPI_MASTER
18182039d24SSebastian Reichel	select GENERIC_PINCONF
18264ac43e6SSebastian Reichel	help
18364ac43e6SSebastian Reichel	  SPI/I2C driver for Microchip MCP23S08/MCP23S17/MCP23008/MCP23017
18464ac43e6SSebastian Reichel	  I/O expanders.
18564ac43e6SSebastian Reichel	  This provides a GPIO interface supporting inputs and outputs.
18664ac43e6SSebastian Reichel	  The I2C versions of the chips can be used as interrupt-controller.
18764ac43e6SSebastian Reichel
188611dac1eSNeil Armstrongconfig PINCTRL_OXNAS
189611dac1eSNeil Armstrong	bool
190611dac1eSNeil Armstrong	depends on OF
191611dac1eSNeil Armstrong	select PINMUX
192611dac1eSNeil Armstrong	select PINCONF
193611dac1eSNeil Armstrong	select GENERIC_PINCONF
194611dac1eSNeil Armstrong	select GPIOLIB
195611dac1eSNeil Armstrong	select OF_GPIO
196611dac1eSNeil Armstrong	select GPIOLIB_IRQCHIP
197611dac1eSNeil Armstrong	select MFD_SYSCON
198611dac1eSNeil Armstrong
199d3e51161SHeiko Stübnerconfig PINCTRL_ROCKCHIP
200d3e51161SHeiko Stübner	bool
201d3e51161SHeiko Stübner	select PINMUX
202d3e51161SHeiko Stübner	select GENERIC_PINCONF
203d3e51161SHeiko Stübner	select GENERIC_IRQ_CHIP
204751a99abSHeiko Stübner	select MFD_SYSCON
205d3e51161SHeiko Stübner
2065a49b644SJacopo Mondiconfig PINCTRL_RZA1
2075a49b644SJacopo Mondi	bool "Renesas RZ/A1 gpio and pinctrl driver"
2085a49b644SJacopo Mondi	depends on OF
2095a49b644SJacopo Mondi	depends on ARCH_R7S72100 || COMPILE_TEST
2105a49b644SJacopo Mondi	select GPIOLIB
2115a49b644SJacopo Mondi	select GENERIC_PINCTRL_GROUPS
2125a49b644SJacopo Mondi	select GENERIC_PINMUX_FUNCTIONS
2135a49b644SJacopo Mondi	select GENERIC_PINCONF
2145a49b644SJacopo Mondi	help
2155a49b644SJacopo Mondi	  This selects pinctrl driver for Renesas RZ/A1 platforms.
2165a49b644SJacopo Mondi
2178b8b091bSTony Lindgrenconfig PINCTRL_SINGLE
2188b8b091bSTony Lindgren	tristate "One-register-per-pin type device tree based pinctrl driver"
2198b8b091bSTony Lindgren	depends on OF
220fd35b202SLinus Walleij	depends on HAS_IOMEM
221caeb774eSTony Lindgren	select GENERIC_PINCTRL_GROUPS
222571aec4dSTony Lindgren	select GENERIC_PINMUX_FUNCTIONS
2239dddb4dfSHaojian Zhuang	select GENERIC_PINCONF
2248b8b091bSTony Lindgren	help
2258b8b091bSTony Lindgren	  This selects the device tree based generic pinctrl driver.
2268b8b091bSTony Lindgren
2273bece55aSLinus Walleijconfig PINCTRL_SIRF
228a17272a4SBarry Song	bool "CSR SiRFprimaII pin controller driver"
229d3e26f2fSBarry Song	depends on ARCH_SIRF
230393daa81SRongjun Ying	select PINMUX
231f9367793SWei Chen	select PINCONF
232f9367793SWei Chen	select GENERIC_PINCONF
2337420d2d0SLinus Walleij	select GPIOLIB_IRQCHIP
234393daa81SRongjun Ying
2359e80f906SNeil Armstrongconfig PINCTRL_SX150X
2369e80f906SNeil Armstrong	bool "Semtech SX150x I2C GPIO expander pinctrl driver"
237e2a021d4SLinus Walleij	depends on I2C=y
2389e80f906SNeil Armstrong	select PINMUX
2399e80f906SNeil Armstrong	select PINCONF
2409e80f906SNeil Armstrong	select GENERIC_PINCONF
241e2a021d4SLinus Walleij	select GPIOLIB
2429e80f906SNeil Armstrong	select GPIOLIB_IRQCHIP
2430db0f26cSAndrey Smirnov	select REGMAP
2449e80f906SNeil Armstrong	help
2459e80f906SNeil Armstrong	  Say yes here to provide support for Semtech SX150x-series I2C
2469e80f906SNeil Armstrong	  GPIO expanders as pinctrl module.
2479e80f906SNeil Armstrong	  Compatible models include:
2489e80f906SNeil Armstrong	  - 8 bits:  sx1508q, sx1502q
2499e80f906SNeil Armstrong	  - 16 bits: sx1509q, sx1506q
2509e80f906SNeil Armstrong
251cefc03e5SAndrew Brestickerconfig PINCTRL_PISTACHIO
252cefc03e5SAndrew Bresticker	def_bool y if MACH_PISTACHIO
253cefc03e5SAndrew Bresticker	depends on GPIOLIB
254cefc03e5SAndrew Bresticker	select PINMUX
255cefc03e5SAndrew Bresticker	select GENERIC_PINCONF
256cefc03e5SAndrew Bresticker	select GPIOLIB_IRQCHIP
257cefc03e5SAndrew Bresticker	select OF_GPIO
258cefc03e5SAndrew Bresticker
259701016c0SSrinivas KANDAGATLAconfig PINCTRL_ST
260701016c0SSrinivas KANDAGATLA	bool
261701016c0SSrinivas KANDAGATLA	depends on OF
262701016c0SSrinivas KANDAGATLA	select PINMUX
263701016c0SSrinivas KANDAGATLA	select PINCONF
264130cbe30SLinus Walleij	select GPIOLIB_IRQCHIP
265701016c0SSrinivas KANDAGATLA
266d5025f9fSJames Hoganconfig PINCTRL_TZ1090
267d5025f9fSJames Hogan	bool "Toumaz Xenif TZ1090 pin control driver"
268d5025f9fSJames Hogan	depends on SOC_TZ1090
269d5025f9fSJames Hogan	select PINMUX
270d5025f9fSJames Hogan	select GENERIC_PINCONF
271d5025f9fSJames Hogan
272b58f0273SJames Hoganconfig PINCTRL_TZ1090_PDC
273b58f0273SJames Hogan	bool "Toumaz Xenif TZ1090 PDC pin control driver"
274b58f0273SJames Hogan	depends on SOC_TZ1090
275b58f0273SJames Hogan	select PINMUX
276b58f0273SJames Hogan	select PINCONF
277b58f0273SJames Hogan
2783bece55aSLinus Walleijconfig PINCTRL_U300
2793bece55aSLinus Walleij	bool "U300 pin controller driver"
28098da3529SLinus Walleij	depends on ARCH_U300
28198da3529SLinus Walleij	select PINMUX
282dc0b1aa3SLinus Walleij	select GENERIC_PINCONF
28345f034efSLinus Walleij
284ca402d37SLinus Walleijconfig PINCTRL_COH901
285ca402d37SLinus Walleij	bool "ST-Ericsson U300 COH 901 335/571 GPIO"
2863c94d1bbSLinus Walleij	depends on GPIOLIB && ARCH_U300 && PINCTRL_U300
287523dcce7SLinus Walleij	select GPIOLIB_IRQCHIP
288ca402d37SLinus Walleij	help
289ca402d37SLinus Walleij	  Say yes here to support GPIO interface on ST-Ericsson U300.
290ca402d37SLinus Walleij	  The names of the two IP block variants supported are
291ca402d37SLinus Walleij	  COH 901 335 and COH 901 571/3. They contain 3, 5 or 7
292ca402d37SLinus Walleij	  ports of 8 GPIO pins each.
293ca402d37SLinus Walleij
2942df723d4SLaxman Dewanganconfig PINCTRL_MAX77620
2952df723d4SLaxman Dewangan	tristate "MAX77620/MAX20024 Pincontrol support"
29624d6a91cSArnd Bergmann	depends on MFD_MAX77620 && OF
29779f28b9fSArnd Bergmann	select PINMUX
2982df723d4SLaxman Dewangan	select GENERIC_PINCONF
2992df723d4SLaxman Dewangan	help
3002df723d4SLaxman Dewangan	  Say Yes here to enable Pin control support for Maxim PMIC MAX77620.
3012df723d4SLaxman Dewangan	  This PMIC has 8 GPIO pins that work as GPIO as well as special
3022df723d4SLaxman Dewangan	  function in alternate mode. This driver also configure push-pull,
3032df723d4SLaxman Dewangan	  open drain, FPS slots etc.
3042df723d4SLaxman Dewangan
3050a8d3e24SLaxman Dewanganconfig PINCTRL_PALMAS
306767b8ce3SPaul Gortmaker	tristate "Pinctrl driver for the PALMAS Series MFD devices"
3070a8d3e24SLaxman Dewangan	depends on OF && MFD_PALMAS
30863ca8db7SAxel Lin	select PINMUX
3090a8d3e24SLaxman Dewangan	select GENERIC_PINCONF
3100a8d3e24SLaxman Dewangan	help
3110a8d3e24SLaxman Dewangan	  Palmas device supports the configuration of pins for different
3120a8d3e24SLaxman Dewangan	  functionality. This driver supports the pinmux, push-pull and
3130a8d3e24SLaxman Dewangan	  open drain configuration for the Palmas series devices like
3140a8d3e24SLaxman Dewangan	  TPS65913, TPS80036 etc.
3150a8d3e24SLaxman Dewangan
3162ba384e6SJoshua Hendersonconfig PINCTRL_PIC32
3172ba384e6SJoshua Henderson	bool "Microchip PIC32 pin controller driver"
3182ba384e6SJoshua Henderson	depends on OF
3192ba384e6SJoshua Henderson	depends on MACH_PIC32
3202ba384e6SJoshua Henderson	select PINMUX
3212ba384e6SJoshua Henderson	select GENERIC_PINCONF
3222ba384e6SJoshua Henderson	select GPIOLIB_IRQCHIP
3232ba384e6SJoshua Henderson	select OF_GPIO
3242ba384e6SJoshua Henderson	help
3252ba384e6SJoshua Henderson	  This is the pin controller and gpio driver for Microchip PIC32
3262ba384e6SJoshua Henderson	  microcontrollers. This option is selected automatically when specific
3272ba384e6SJoshua Henderson	  machine and arch are selected to build.
3282ba384e6SJoshua Henderson
3292ba384e6SJoshua Hendersonconfig PINCTRL_PIC32MZDA
3302ba384e6SJoshua Henderson	def_bool y if PIC32MZDA
3312ba384e6SJoshua Henderson	select PINCTRL_PIC32
3322ba384e6SJoshua Henderson
333add958ceSSoren Brinkmannconfig PINCTRL_ZYNQ
334add958ceSSoren Brinkmann	bool "Pinctrl driver for Xilinx Zynq"
335add958ceSSoren Brinkmann	depends on ARCH_ZYNQ
336add958ceSSoren Brinkmann	select PINMUX
337add958ceSSoren Brinkmann	select GENERIC_PINCONF
338add958ceSSoren Brinkmann	help
339485dba27SMasahiro Yamada	  This selects the pinctrl driver for Xilinx Zynq.
340add958ceSSoren Brinkmann
341b5c23aa4SPaul Cercueilconfig PINCTRL_INGENIC
342b5c23aa4SPaul Cercueil	bool "Pinctrl driver for the Ingenic JZ47xx SoCs"
343b5c23aa4SPaul Cercueil	default y
344c504985eSLinus Walleij	depends on OF
345b5c23aa4SPaul Cercueil	depends on MACH_INGENIC || COMPILE_TEST
346b5c23aa4SPaul Cercueil	select GENERIC_PINCONF
347b5c23aa4SPaul Cercueil	select GENERIC_PINCTRL_GROUPS
348b5c23aa4SPaul Cercueil	select GENERIC_PINMUX_FUNCTIONS
349b5c23aa4SPaul Cercueil	select REGMAP_MMIO
350b5c23aa4SPaul Cercueil
351ea479996SJoseph Chenconfig PINCTRL_RK805
352ea479996SJoseph Chen	tristate "Pinctrl and GPIO driver for RK805 PMIC"
353ea479996SJoseph Chen	depends on MFD_RK808
354ea479996SJoseph Chen	select GPIOLIB
355ea479996SJoseph Chen	select PINMUX
356ea479996SJoseph Chen	select GENERIC_PINCONF
357ea479996SJoseph Chen	help
358ea479996SJoseph Chen	  This selects the pinctrl driver for RK805.
359ea479996SJoseph Chen
360*ce8dc094SAlexandre Belloniconfig PINCTRL_OCELOT
361*ce8dc094SAlexandre Belloni	bool "Pinctrl driver for the Microsemi Ocelot SoCs"
362*ce8dc094SAlexandre Belloni	default y
363*ce8dc094SAlexandre Belloni	depends on OF
364*ce8dc094SAlexandre Belloni	depends on MSCC_OCELOT || COMPILE_TEST
365*ce8dc094SAlexandre Belloni	select GPIOLIB
366*ce8dc094SAlexandre Belloni	select GENERIC_PINCONF
367*ce8dc094SAlexandre Belloni	select GENERIC_PINCTRL_GROUPS
368*ce8dc094SAlexandre Belloni	select GENERIC_PINMUX_FUNCTIONS
369*ce8dc094SAlexandre Belloni	select REGMAP_MMIO
370*ce8dc094SAlexandre Belloni
3714d3d0e42SAndrew Jefferysource "drivers/pinctrl/aspeed/Kconfig"
372b17f2f9bSRay Juisource "drivers/pinctrl/bcm/Kconfig"
3733de68d33SAntoine Tenartsource "drivers/pinctrl/berlin/Kconfig"
374edad3b2aSLinus Walleijsource "drivers/pinctrl/freescale/Kconfig"
3755fae8b86SMika Westerbergsource "drivers/pinctrl/intel/Kconfig"
37606763c74SThomas Petazzonisource "drivers/pinctrl/mvebu/Kconfig"
3773a198059SLinus Walleijsource "drivers/pinctrl/nomadik/Kconfig"
3784b15ec9dSRobert Jarzmiksource "drivers/pinctrl/pxa/Kconfig"
37969b78b8dSLinus Walleijsource "drivers/pinctrl/qcom/Kconfig"
380ebe629a3SSachin Kamatsource "drivers/pinctrl/samsung/Kconfig"
3816e54d8d2SLaurent Pinchartsource "drivers/pinctrl/sh-pfc/Kconfig"
382deda8287SViresh Kumarsource "drivers/pinctrl/spear/Kconfig"
38341d32cfcSBaolin Wangsource "drivers/pinctrl/sprd/Kconfig"
384aceb16dcSMaxime Coquelinsource "drivers/pinctrl/stm32/Kconfig"
3855f910777SMaxime Ripardsource "drivers/pinctrl/sunxi/Kconfig"
38625cbac77SMasahiro Yamadasource "drivers/pinctrl/tegra/Kconfig"
387003910ebSNishanth Menonsource "drivers/pinctrl/ti/Kconfig"
3886e908892SMasahiro Yamadasource "drivers/pinctrl/uniphier/Kconfig"
389170c6152STony Prisksource "drivers/pinctrl/vt8500/Kconfig"
390a6df410dSHongzhou Yangsource "drivers/pinctrl/mediatek/Kconfig"
391cbff0c4dSShawn Guosource "drivers/pinctrl/zte/Kconfig"
392277d14ebSJerome Brunetsource "drivers/pinctrl/meson/Kconfig"
393deda8287SViresh Kumar
3943f8c50c9SJohn Crispinconfig PINCTRL_XWAY
3953f8c50c9SJohn Crispin	bool
3963f8c50c9SJohn Crispin	depends on SOC_TYPE_XWAY
3973f8c50c9SJohn Crispin	depends on PINCTRL_LANTIQ
3983f8c50c9SJohn Crispin
3995aad0db1SChristian Ruppertconfig PINCTRL_TB10X
4005aad0db1SChristian Ruppert	bool
401b99e6fb8SLinus Walleij	depends on OF && ARC_PLAT_TB10X
402b99e6fb8SLinus Walleij	select GPIOLIB
4035aad0db1SChristian Ruppert
404d219b924SPhil Reidendif
405