xref: /linux/drivers/pinctrl/Kconfig (revision 2dab3dd1fac72b982308265cb322e8d47450052b)
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
3300df0582SJesper Nilssonconfig PINCTRL_ARTPEC6
3400df0582SJesper Nilsson        bool "Axis ARTPEC-6 pin controller driver"
3500df0582SJesper Nilsson        depends on MACH_ARTPEC6
3600df0582SJesper Nilsson        select PINMUX
3700df0582SJesper Nilsson        select GENERIC_PINCONF
3800df0582SJesper Nilsson        help
3900df0582SJesper Nilsson          This is the driver for the Axis ARTPEC-6 pin controller. This driver
4000df0582SJesper Nilsson          supports pin function multiplexing as well as pin bias and drive
4100df0582SJesper Nilsson          strength configuration. Device tree integration instructions can be
4200df0582SJesper Nilsson          found in Documentation/devicetree/bindings/pinctrl/axis,artpec6-pinctrl.txt
4300df0582SJesper Nilsson
44c8ce8782SLaxman Dewanganconfig PINCTRL_AS3722
459385f35dSPaul Gortmaker	tristate "Pinctrl and GPIO driver for ams AS3722 PMIC"
46c8ce8782SLaxman Dewangan	depends on MFD_AS3722 && GPIOLIB
47c8ce8782SLaxman Dewangan	select PINMUX
48c8ce8782SLaxman Dewangan	select GENERIC_PINCONF
49c8ce8782SLaxman Dewangan	help
50c8ce8782SLaxman Dewangan	  AS3722 device supports the configuration of GPIO pins for different
51c8ce8782SLaxman Dewangan	  functionality. This driver supports the pinmux, push-pull and
52c8ce8782SLaxman Dewangan	  open drain configuration for the GPIO pins of AS3722 devices. It also
53c8ce8782SLaxman Dewangan	  supports the GPIO functionality through gpiolib.
54c8ce8782SLaxman Dewangan
55449317a8SQuentin Schulzconfig PINCTRL_AXP209
56449317a8SQuentin Schulz	tristate "X-Powers AXP209 PMIC pinctrl and GPIO Support"
57449317a8SQuentin Schulz	depends on MFD_AXP20X
58971f1b38SQuentin Schulz	depends on OF
59971f1b38SQuentin Schulz	select PINMUX
60971f1b38SQuentin Schulz	select GENERIC_PINCONF
61971f1b38SQuentin Schulz	select GPIOLIB
62449317a8SQuentin Schulz	help
63449317a8SQuentin Schulz	  AXP PMICs provides multiple GPIOs that can be muxed for different
64449317a8SQuentin Schulz	  functions. This driver bundles a pinctrl driver to select the function
65449317a8SQuentin Schulz	  muxing and a GPIO driver to handle the GPIO when the GPIO function is
66449317a8SQuentin Schulz	  selected.
67449317a8SQuentin Schulz	  Say yes to enable pinctrl and GPIO support for the AXP209 PMIC
68449317a8SQuentin Schulz
696732ae5cSJean-Christophe PLAGNIOL-VILLARDconfig PINCTRL_AT91
706732ae5cSJean-Christophe PLAGNIOL-VILLARD	bool "AT91 pinctrl driver"
716732ae5cSJean-Christophe PLAGNIOL-VILLARD	depends on OF
726732ae5cSJean-Christophe PLAGNIOL-VILLARD	depends on ARCH_AT91
736732ae5cSJean-Christophe PLAGNIOL-VILLARD	select PINMUX
746732ae5cSJean-Christophe PLAGNIOL-VILLARD	select PINCONF
7580cc3732SAlexander Stein	select GPIOLIB
7680cc3732SAlexander Stein	select OF_GPIO
7780cc3732SAlexander Stein	select GPIOLIB_IRQCHIP
786732ae5cSJean-Christophe PLAGNIOL-VILLARD	help
796732ae5cSJean-Christophe PLAGNIOL-VILLARD	  Say Y here to enable the at91 pinctrl driver
806732ae5cSJean-Christophe PLAGNIOL-VILLARD
8177618084SLudovic Desrochesconfig PINCTRL_AT91PIO4
8277618084SLudovic Desroches	bool "AT91 PIO4 pinctrl driver"
8377618084SLudovic Desroches	depends on OF
8477618084SLudovic Desroches	depends on ARCH_AT91
8577618084SLudovic Desroches	select PINMUX
8677618084SLudovic Desroches	select GENERIC_PINCONF
8777618084SLudovic Desroches	select GPIOLIB
8877618084SLudovic Desroches	select GPIOLIB_IRQCHIP
8977618084SLudovic Desroches	select OF_GPIO
9077618084SLudovic Desroches	help
9177618084SLudovic Desroches	  Say Y here to enable the at91 pinctrl/gpio driver for Atmel PIO4
9277618084SLudovic Desroches	  controller available on sama5d2 SoC.
9377618084SLudovic Desroches
94dbad75ddSKen Xueconfig PINCTRL_AMD
95337ea0fbSJean Delvare	tristate "AMD GPIO pin control"
96fd35b202SLinus Walleij	depends on HAS_IOMEM
97e2a021d4SLinus Walleij	select GPIOLIB
98dbad75ddSKen Xue	select GPIOLIB_IRQCHIP
9983b31c2aSPetr Mladek	select PINMUX
100dbad75ddSKen Xue	select PINCONF
101dbad75ddSKen Xue	select GENERIC_PINCONF
102dbad75ddSKen Xue	help
103dbad75ddSKen Xue	  driver for memory mapped GPIO functionality on AMD platforms
104dbad75ddSKen Xue	  (x86 or arm).Most pins are usually muxed to some other
105dbad75ddSKen Xue	  functionality by firmware,so only a small amount is available
106dbad75ddSKen Xue	  for gpio use.
107dbad75ddSKen Xue
108dbad75ddSKen Xue	  Requires ACPI/FDT device enumeration code to set up a platform
109dbad75ddSKen Xue	  device.
110dbad75ddSKen Xue
1111ff91f0aSDavid Lechnerconfig PINCTRL_DA850_PUPD
1121ff91f0aSDavid Lechner	tristate "TI DA850/OMAP-L138/AM18XX pullup/pulldown groups"
1131ff91f0aSDavid Lechner	depends on OF && (ARCH_DAVINCI_DA850 || COMPILE_TEST)
1141ff91f0aSDavid Lechner	select PINCONF
1151ff91f0aSDavid Lechner	select GENERIC_PINCONF
1161ff91f0aSDavid Lechner	help
1171ff91f0aSDavid Lechner	  Driver for TI DA850/OMAP-L138/AM18XX pinconf. Used to control
1181ff91f0aSDavid Lechner	  pullup/pulldown pin groups.
1191ff91f0aSDavid Lechner
12038b0e507SBaruch Siachconfig PINCTRL_DIGICOLOR
12138b0e507SBaruch Siach	bool
12238b0e507SBaruch Siach	depends on OF && (ARCH_DIGICOLOR || COMPILE_TEST)
12338b0e507SBaruch Siach	select PINMUX
12438b0e507SBaruch Siach	select GENERIC_PINCONF
12538b0e507SBaruch Siach
1263f8c50c9SJohn Crispinconfig PINCTRL_LANTIQ
1273f8c50c9SJohn Crispin	bool
1283f8c50c9SJohn Crispin	depends on LANTIQ
1293f8c50c9SJohn Crispin	select PINMUX
1303f8c50c9SJohn Crispin	select PINCONF
1313f8c50c9SJohn Crispin
1322f77ac93SJoachim Eastwoodconfig PINCTRL_LPC18XX
1332f77ac93SJoachim Eastwood	bool "NXP LPC18XX/43XX SCU pinctrl driver"
1342f77ac93SJoachim Eastwood	depends on OF && (ARCH_LPC18XX || COMPILE_TEST)
1352f77ac93SJoachim Eastwood	default ARCH_LPC18XX
1362f77ac93SJoachim Eastwood	select PINMUX
1372f77ac93SJoachim Eastwood	select GENERIC_PINCONF
1382f77ac93SJoachim Eastwood	help
1392f77ac93SJoachim Eastwood	  Pinctrl driver for NXP LPC18xx/43xx System Control Unit (SCU).
1402f77ac93SJoachim Eastwood
141e316cb2bSJohn Crispinconfig PINCTRL_FALCON
142e316cb2bSJohn Crispin	bool
143e316cb2bSJohn Crispin	depends on SOC_FALCON
144e316cb2bSJohn Crispin	depends on PINCTRL_LANTIQ
145e316cb2bSJohn Crispin
14606351d13SLinus Walleijconfig PINCTRL_GEMINI
14706351d13SLinus Walleij	bool
14806351d13SLinus Walleij	depends on ARCH_GEMINI
14906351d13SLinus Walleij	default ARCH_GEMINI
15006351d13SLinus Walleij	select PINMUX
1511c5b7f3cSLinus Walleij	select GENERIC_PINCONF
15206351d13SLinus Walleij	select MFD_SYSCON
15306351d13SLinus Walleij
15464ac43e6SSebastian Reichelconfig PINCTRL_MCP23S08
15564ac43e6SSebastian Reichel	tristate "Microchip MCP23xxx I/O expander"
15664ac43e6SSebastian Reichel	depends on SPI_MASTER || I2C
157adeac775SArnd Bergmann	depends on I2C || I2C=n
158e2a021d4SLinus Walleij	select GPIOLIB
15964ac43e6SSebastian Reichel	select GPIOLIB_IRQCHIP
16064ac43e6SSebastian Reichel	select REGMAP_I2C if I2C
16164ac43e6SSebastian Reichel	select REGMAP_SPI if SPI_MASTER
16282039d24SSebastian Reichel	select GENERIC_PINCONF
16364ac43e6SSebastian Reichel	help
1646ff45566SJan Kundrát	  SPI/I2C driver for Microchip MCP23S08 / MCP23S17 / MCP23S18 /
1656ff45566SJan Kundrát	  MCP23008 / MCP23017 / MCP23018 I/O expanders.
1666ff45566SJan Kundrát	  This provides a GPIO interface supporting inputs and outputs and a
1676ff45566SJan Kundrát	  corresponding interrupt-controller.
16864ac43e6SSebastian Reichel
169611dac1eSNeil Armstrongconfig PINCTRL_OXNAS
170611dac1eSNeil Armstrong	bool
171611dac1eSNeil Armstrong	depends on OF
172611dac1eSNeil Armstrong	select PINMUX
173611dac1eSNeil Armstrong	select PINCONF
174611dac1eSNeil Armstrong	select GENERIC_PINCONF
175611dac1eSNeil Armstrong	select GPIOLIB
176611dac1eSNeil Armstrong	select OF_GPIO
177611dac1eSNeil Armstrong	select GPIOLIB_IRQCHIP
178611dac1eSNeil Armstrong	select MFD_SYSCON
179611dac1eSNeil Armstrong
180d3e51161SHeiko Stübnerconfig PINCTRL_ROCKCHIP
181d3e51161SHeiko Stübner	bool
182d3e51161SHeiko Stübner	select PINMUX
183d3e51161SHeiko Stübner	select GENERIC_PINCONF
184d3e51161SHeiko Stübner	select GENERIC_IRQ_CHIP
185751a99abSHeiko Stübner	select MFD_SYSCON
186d3e51161SHeiko Stübner
1875a49b644SJacopo Mondiconfig PINCTRL_RZA1
1885a49b644SJacopo Mondi	bool "Renesas RZ/A1 gpio and pinctrl driver"
1895a49b644SJacopo Mondi	depends on OF
1905a49b644SJacopo Mondi	depends on ARCH_R7S72100 || COMPILE_TEST
1915a49b644SJacopo Mondi	select GPIOLIB
1925a49b644SJacopo Mondi	select GENERIC_PINCTRL_GROUPS
1935a49b644SJacopo Mondi	select GENERIC_PINMUX_FUNCTIONS
1945a49b644SJacopo Mondi	select GENERIC_PINCONF
1955a49b644SJacopo Mondi	help
1965a49b644SJacopo Mondi	  This selects pinctrl driver for Renesas RZ/A1 platforms.
1975a49b644SJacopo Mondi
198b59d0e78SChris Brandtconfig PINCTRL_RZA2
199b59d0e78SChris Brandt	bool "Renesas RZ/A2 gpio and pinctrl driver"
200b59d0e78SChris Brandt	depends on OF
201b59d0e78SChris Brandt	depends on ARCH_R7S9210 || COMPILE_TEST
202b59d0e78SChris Brandt	select GPIOLIB
203b59d0e78SChris Brandt	select GENERIC_PINCTRL_GROUPS
204b59d0e78SChris Brandt	select GENERIC_PINMUX_FUNCTIONS
205b59d0e78SChris Brandt	select GENERIC_PINCONF
206b59d0e78SChris Brandt	help
207b59d0e78SChris Brandt	  This selects GPIO and pinctrl driver for Renesas RZ/A2 platforms.
208b59d0e78SChris Brandt
2094e53b500SPhil Edworthyconfig PINCTRL_RZN1
2104e53b500SPhil Edworthy	bool "Renesas RZ/N1 pinctrl driver"
2114e53b500SPhil Edworthy	depends on OF
2124e53b500SPhil Edworthy	depends on ARCH_RZN1 || COMPILE_TEST
2134e53b500SPhil Edworthy	select GENERIC_PINCTRL_GROUPS
2144e53b500SPhil Edworthy	select GENERIC_PINMUX_FUNCTIONS
2154e53b500SPhil Edworthy	select GENERIC_PINCONF
2164e53b500SPhil Edworthy	help
2174e53b500SPhil Edworthy	  This selects pinctrl driver for Renesas RZ/N1 devices.
2184e53b500SPhil Edworthy
2198b8b091bSTony Lindgrenconfig PINCTRL_SINGLE
2208b8b091bSTony Lindgren	tristate "One-register-per-pin type device tree based pinctrl driver"
2218b8b091bSTony Lindgren	depends on OF
222fd35b202SLinus Walleij	depends on HAS_IOMEM
223caeb774eSTony Lindgren	select GENERIC_PINCTRL_GROUPS
224571aec4dSTony Lindgren	select GENERIC_PINMUX_FUNCTIONS
2259dddb4dfSHaojian Zhuang	select GENERIC_PINCONF
2268b8b091bSTony Lindgren	help
2278b8b091bSTony Lindgren	  This selects the device tree based generic pinctrl driver.
2288b8b091bSTony Lindgren
2293bece55aSLinus Walleijconfig PINCTRL_SIRF
230a17272a4SBarry Song	bool "CSR SiRFprimaII pin controller driver"
231d3e26f2fSBarry Song	depends on ARCH_SIRF
232393daa81SRongjun Ying	select PINMUX
233f9367793SWei Chen	select PINCONF
234f9367793SWei Chen	select GENERIC_PINCONF
2357420d2d0SLinus Walleij	select GPIOLIB_IRQCHIP
236393daa81SRongjun Ying
2379e80f906SNeil Armstrongconfig PINCTRL_SX150X
2389e80f906SNeil Armstrong	bool "Semtech SX150x I2C GPIO expander pinctrl driver"
239e2a021d4SLinus Walleij	depends on I2C=y
2409e80f906SNeil Armstrong	select PINMUX
2419e80f906SNeil Armstrong	select PINCONF
2429e80f906SNeil Armstrong	select GENERIC_PINCONF
243e2a021d4SLinus Walleij	select GPIOLIB
2449e80f906SNeil Armstrong	select GPIOLIB_IRQCHIP
2450db0f26cSAndrey Smirnov	select REGMAP
2469e80f906SNeil Armstrong	help
2479e80f906SNeil Armstrong	  Say yes here to provide support for Semtech SX150x-series I2C
2489e80f906SNeil Armstrong	  GPIO expanders as pinctrl module.
2499e80f906SNeil Armstrong	  Compatible models include:
2509e80f906SNeil Armstrong	  - 8 bits:  sx1508q, sx1502q
2519e80f906SNeil Armstrong	  - 16 bits: sx1509q, sx1506q
2529e80f906SNeil Armstrong
253cefc03e5SAndrew Brestickerconfig PINCTRL_PISTACHIO
254cefc03e5SAndrew Bresticker	def_bool y if MACH_PISTACHIO
255cefc03e5SAndrew Bresticker	depends on GPIOLIB
256cefc03e5SAndrew Bresticker	select PINMUX
257cefc03e5SAndrew Bresticker	select GENERIC_PINCONF
258cefc03e5SAndrew Bresticker	select GPIOLIB_IRQCHIP
259cefc03e5SAndrew Bresticker	select OF_GPIO
260cefc03e5SAndrew Bresticker
261701016c0SSrinivas KANDAGATLAconfig PINCTRL_ST
262701016c0SSrinivas KANDAGATLA	bool
263701016c0SSrinivas KANDAGATLA	depends on OF
264701016c0SSrinivas KANDAGATLA	select PINMUX
265701016c0SSrinivas KANDAGATLA	select PINCONF
266130cbe30SLinus Walleij	select GPIOLIB_IRQCHIP
267701016c0SSrinivas KANDAGATLA
2683bece55aSLinus Walleijconfig PINCTRL_U300
2693bece55aSLinus Walleij	bool "U300 pin controller driver"
27098da3529SLinus Walleij	depends on ARCH_U300
27198da3529SLinus Walleij	select PINMUX
272dc0b1aa3SLinus Walleij	select GENERIC_PINCONF
27345f034efSLinus Walleij
274ca402d37SLinus Walleijconfig PINCTRL_COH901
275ca402d37SLinus Walleij	bool "ST-Ericsson U300 COH 901 335/571 GPIO"
2763c94d1bbSLinus Walleij	depends on GPIOLIB && ARCH_U300 && PINCTRL_U300
277523dcce7SLinus Walleij	select GPIOLIB_IRQCHIP
278ca402d37SLinus Walleij	help
279ca402d37SLinus Walleij	  Say yes here to support GPIO interface on ST-Ericsson U300.
280ca402d37SLinus Walleij	  The names of the two IP block variants supported are
281ca402d37SLinus Walleij	  COH 901 335 and COH 901 571/3. They contain 3, 5 or 7
282ca402d37SLinus Walleij	  ports of 8 GPIO pins each.
283ca402d37SLinus Walleij
2842df723d4SLaxman Dewanganconfig PINCTRL_MAX77620
2852df723d4SLaxman Dewangan	tristate "MAX77620/MAX20024 Pincontrol support"
28624d6a91cSArnd Bergmann	depends on MFD_MAX77620 && OF
28779f28b9fSArnd Bergmann	select PINMUX
2882df723d4SLaxman Dewangan	select GENERIC_PINCONF
2892df723d4SLaxman Dewangan	help
2902df723d4SLaxman Dewangan	  Say Yes here to enable Pin control support for Maxim PMIC MAX77620.
2912df723d4SLaxman Dewangan	  This PMIC has 8 GPIO pins that work as GPIO as well as special
2922df723d4SLaxman Dewangan	  function in alternate mode. This driver also configure push-pull,
2932df723d4SLaxman Dewangan	  open drain, FPS slots etc.
2942df723d4SLaxman Dewangan
2950a8d3e24SLaxman Dewanganconfig PINCTRL_PALMAS
296767b8ce3SPaul Gortmaker	tristate "Pinctrl driver for the PALMAS Series MFD devices"
2970a8d3e24SLaxman Dewangan	depends on OF && MFD_PALMAS
29863ca8db7SAxel Lin	select PINMUX
2990a8d3e24SLaxman Dewangan	select GENERIC_PINCONF
3000a8d3e24SLaxman Dewangan	help
3010a8d3e24SLaxman Dewangan	  Palmas device supports the configuration of pins for different
3020a8d3e24SLaxman Dewangan	  functionality. This driver supports the pinmux, push-pull and
3030a8d3e24SLaxman Dewangan	  open drain configuration for the Palmas series devices like
3040a8d3e24SLaxman Dewangan	  TPS65913, TPS80036 etc.
3050a8d3e24SLaxman Dewangan
3062ba384e6SJoshua Hendersonconfig PINCTRL_PIC32
3072ba384e6SJoshua Henderson	bool "Microchip PIC32 pin controller driver"
3082ba384e6SJoshua Henderson	depends on OF
3092ba384e6SJoshua Henderson	depends on MACH_PIC32
3102ba384e6SJoshua Henderson	select PINMUX
3112ba384e6SJoshua Henderson	select GENERIC_PINCONF
3122ba384e6SJoshua Henderson	select GPIOLIB_IRQCHIP
3132ba384e6SJoshua Henderson	select OF_GPIO
3142ba384e6SJoshua Henderson	help
3152ba384e6SJoshua Henderson	  This is the pin controller and gpio driver for Microchip PIC32
3162ba384e6SJoshua Henderson	  microcontrollers. This option is selected automatically when specific
3172ba384e6SJoshua Henderson	  machine and arch are selected to build.
3182ba384e6SJoshua Henderson
3192ba384e6SJoshua Hendersonconfig PINCTRL_PIC32MZDA
3202ba384e6SJoshua Henderson	def_bool y if PIC32MZDA
3212ba384e6SJoshua Henderson	select PINCTRL_PIC32
3222ba384e6SJoshua Henderson
323add958ceSSoren Brinkmannconfig PINCTRL_ZYNQ
324add958ceSSoren Brinkmann	bool "Pinctrl driver for Xilinx Zynq"
325add958ceSSoren Brinkmann	depends on ARCH_ZYNQ
326add958ceSSoren Brinkmann	select PINMUX
327add958ceSSoren Brinkmann	select GENERIC_PINCONF
328add958ceSSoren Brinkmann	help
329485dba27SMasahiro Yamada	  This selects the pinctrl driver for Xilinx Zynq.
330add958ceSSoren Brinkmann
331b5c23aa4SPaul Cercueilconfig PINCTRL_INGENIC
332b5c23aa4SPaul Cercueil	bool "Pinctrl driver for the Ingenic JZ47xx SoCs"
333635c20a1SPaul Cercueil	default MACH_INGENIC
334c504985eSLinus Walleij	depends on OF
335635c20a1SPaul Cercueil	depends on MIPS || COMPILE_TEST
336b5c23aa4SPaul Cercueil	select GENERIC_PINCONF
337b5c23aa4SPaul Cercueil	select GENERIC_PINCTRL_GROUPS
338b5c23aa4SPaul Cercueil	select GENERIC_PINMUX_FUNCTIONS
339e72394e2SPaul Cercueil	select GPIOLIB
340e72394e2SPaul Cercueil	select GPIOLIB_IRQCHIP
341b5c23aa4SPaul Cercueil	select REGMAP_MMIO
342b5c23aa4SPaul Cercueil
343ea479996SJoseph Chenconfig PINCTRL_RK805
344ea479996SJoseph Chen	tristate "Pinctrl and GPIO driver for RK805 PMIC"
345ea479996SJoseph Chen	depends on MFD_RK808
346ea479996SJoseph Chen	select GPIOLIB
347ea479996SJoseph Chen	select PINMUX
348ea479996SJoseph Chen	select GENERIC_PINCONF
349ea479996SJoseph Chen	help
350ea479996SJoseph Chen	  This selects the pinctrl driver for RK805.
351ea479996SJoseph Chen
352ce8dc094SAlexandre Belloniconfig PINCTRL_OCELOT
353da801ab5SAlexandre Belloni	bool "Pinctrl driver for the Microsemi Ocelot and Jaguar2 SoCs"
354ce8dc094SAlexandre Belloni	depends on OF
355*2dab3dd1SLinus Walleij	depends on HAS_IOMEM
356ce8dc094SAlexandre Belloni	select GPIOLIB
357be36abb7SQuentin Schulz	select GPIOLIB_IRQCHIP
358ce8dc094SAlexandre Belloni	select GENERIC_PINCONF
359ce8dc094SAlexandre Belloni	select GENERIC_PINCTRL_GROUPS
360ce8dc094SAlexandre Belloni	select GENERIC_PINMUX_FUNCTIONS
361da801ab5SAlexandre Belloni	select OF_GPIO
362ce8dc094SAlexandre Belloni	select REGMAP_MMIO
363ce8dc094SAlexandre Belloni
3642242ddfbSManivannan Sadhasivamsource "drivers/pinctrl/actions/Kconfig"
3654d3d0e42SAndrew Jefferysource "drivers/pinctrl/aspeed/Kconfig"
366b17f2f9bSRay Juisource "drivers/pinctrl/bcm/Kconfig"
3673de68d33SAntoine Tenartsource "drivers/pinctrl/berlin/Kconfig"
368edad3b2aSLinus Walleijsource "drivers/pinctrl/freescale/Kconfig"
3695fae8b86SMika Westerbergsource "drivers/pinctrl/intel/Kconfig"
37006763c74SThomas Petazzonisource "drivers/pinctrl/mvebu/Kconfig"
3713a198059SLinus Walleijsource "drivers/pinctrl/nomadik/Kconfig"
3723b588e43STomer Maimonsource "drivers/pinctrl/nuvoton/Kconfig"
3734b15ec9dSRobert Jarzmiksource "drivers/pinctrl/pxa/Kconfig"
37469b78b8dSLinus Walleijsource "drivers/pinctrl/qcom/Kconfig"
375ebe629a3SSachin Kamatsource "drivers/pinctrl/samsung/Kconfig"
3766e54d8d2SLaurent Pinchartsource "drivers/pinctrl/sh-pfc/Kconfig"
377deda8287SViresh Kumarsource "drivers/pinctrl/spear/Kconfig"
37841d32cfcSBaolin Wangsource "drivers/pinctrl/sprd/Kconfig"
379aceb16dcSMaxime Coquelinsource "drivers/pinctrl/stm32/Kconfig"
3805f910777SMaxime Ripardsource "drivers/pinctrl/sunxi/Kconfig"
38125cbac77SMasahiro Yamadasource "drivers/pinctrl/tegra/Kconfig"
382003910ebSNishanth Menonsource "drivers/pinctrl/ti/Kconfig"
3836e908892SMasahiro Yamadasource "drivers/pinctrl/uniphier/Kconfig"
384170c6152STony Prisksource "drivers/pinctrl/vt8500/Kconfig"
385a6df410dSHongzhou Yangsource "drivers/pinctrl/mediatek/Kconfig"
386cbff0c4dSShawn Guosource "drivers/pinctrl/zte/Kconfig"
387277d14ebSJerome Brunetsource "drivers/pinctrl/meson/Kconfig"
388218d72a7SRichard Fitzgeraldsource "drivers/pinctrl/cirrus/Kconfig"
389deda8287SViresh Kumar
3903f8c50c9SJohn Crispinconfig PINCTRL_XWAY
3913f8c50c9SJohn Crispin	bool
3923f8c50c9SJohn Crispin	depends on SOC_TYPE_XWAY
3933f8c50c9SJohn Crispin	depends on PINCTRL_LANTIQ
3943f8c50c9SJohn Crispin
3955aad0db1SChristian Ruppertconfig PINCTRL_TB10X
3965aad0db1SChristian Ruppert	bool
397b99e6fb8SLinus Walleij	depends on OF && ARC_PLAT_TB10X
398b99e6fb8SLinus Walleij	select GPIOLIB
3995aad0db1SChristian Ruppert
400d219b924SPhil Reidendif
401