xref: /linux/drivers/pinctrl/Kconfig (revision 09dbec3f74b51af614f239d3374fd7c7752c9990)
12744e8afSLinus Walleij#
22744e8afSLinus Walleij# PINCTRL infrastructure and drivers
32744e8afSLinus Walleij#
42744e8afSLinus Walleij
545f034efSLinus Walleijconfig PINCTRL
645f034efSLinus Walleij	bool
72744e8afSLinus Walleij
82744e8afSLinus Walleijif PINCTRL
92744e8afSLinus Walleij
1045f034efSLinus Walleijmenu "Pin controllers"
1145f034efSLinus Walleij	depends on PINCTRL
1245f034efSLinus Walleij
132744e8afSLinus Walleijconfig PINMUX
14ae6b4d85SLinus Walleij	bool "Support pin multiplexing controllers"
15ae6b4d85SLinus Walleij
16ae6b4d85SLinus Walleijconfig PINCONF
17ae6b4d85SLinus Walleij	bool "Support pin configuration controllers"
182744e8afSLinus Walleij
19394349f7SLinus Walleijconfig GENERIC_PINCONF
20394349f7SLinus Walleij	bool
21394349f7SLinus Walleij	select PINCONF
22394349f7SLinus Walleij
232744e8afSLinus Walleijconfig DEBUG_PINCTRL
242744e8afSLinus Walleij	bool "Debug PINCTRL calls"
252744e8afSLinus Walleij	depends on DEBUG_KERNEL
262744e8afSLinus Walleij	help
272744e8afSLinus Walleij	  Say Y here to add some extra checks and diagnostics to PINCTRL calls.
282744e8afSLinus Walleij
290493e649SPatrice Chotardconfig PINCTRL_ABX500
300493e649SPatrice Chotard	bool "ST-Ericsson ABx500 family Mixed Signal Circuit gpio functions"
310493e649SPatrice Chotard	depends on AB8500_CORE
320493e649SPatrice Chotard	select GENERIC_PINCONF
330493e649SPatrice Chotard	help
340493e649SPatrice Chotard	  Select this to enable the ABx500 family IC GPIO driver
350493e649SPatrice Chotard
363c937993SPatrice Chotardconfig PINCTRL_AB8500
373c937993SPatrice Chotard	bool "AB8500 pin controller driver"
383c937993SPatrice Chotard	depends on PINCTRL_ABX500 && ARCH_U8500
393c937993SPatrice Chotard
40*09dbec3fSPatrice Chotardconfig PINCTRL_AB9540
41*09dbec3fSPatrice Chotard	bool "AB9540 pin controller driver"
42*09dbec3fSPatrice Chotard	depends on PINCTRL_ABX500 && ARCH_U8500
43*09dbec3fSPatrice Chotard
441aa2d8d4SPatrice Chotardconfig PINCTRL_AB8505
451aa2d8d4SPatrice Chotard	bool "AB8505 pin controller driver"
461aa2d8d4SPatrice Chotard	depends on PINCTRL_ABX500 && ARCH_U8500
471aa2d8d4SPatrice Chotard
486732ae5cSJean-Christophe PLAGNIOL-VILLARDconfig PINCTRL_AT91
496732ae5cSJean-Christophe PLAGNIOL-VILLARD	bool "AT91 pinctrl driver"
506732ae5cSJean-Christophe PLAGNIOL-VILLARD	depends on OF
516732ae5cSJean-Christophe PLAGNIOL-VILLARD	depends on ARCH_AT91
526732ae5cSJean-Christophe PLAGNIOL-VILLARD	select PINMUX
536732ae5cSJean-Christophe PLAGNIOL-VILLARD	select PINCONF
546732ae5cSJean-Christophe PLAGNIOL-VILLARD	help
556732ae5cSJean-Christophe PLAGNIOL-VILLARD	  Say Y here to enable the at91 pinctrl driver
566732ae5cSJean-Christophe PLAGNIOL-VILLARD
57e1b2dc70SSimon Arlottconfig PINCTRL_BCM2835
58e1b2dc70SSimon Arlott	bool
59e1b2dc70SSimon Arlott	select PINMUX
60e1b2dc70SSimon Arlott	select PINCONF
61e1b2dc70SSimon Arlott
62ae75ff81SDong Aishengconfig PINCTRL_IMX
63ae75ff81SDong Aisheng	bool
64ae75ff81SDong Aisheng	select PINMUX
65ae75ff81SDong Aisheng	select PINCONF
66ae75ff81SDong Aisheng
67b9aa8f13SUwe Kleine-Königconfig PINCTRL_IMX35
68b9aa8f13SUwe Kleine-König	bool "IMX35 pinctrl driver"
69b9aa8f13SUwe Kleine-König	depends on OF
70b9aa8f13SUwe Kleine-König	depends on SOC_IMX35
71b9aa8f13SUwe Kleine-König	select PINCTRL_IMX
72b9aa8f13SUwe Kleine-König	help
73b9aa8f13SUwe Kleine-König	  Say Y here to enable the imx35 pinctrl driver
74b9aa8f13SUwe Kleine-König
754f6a16bfSDong Aishengconfig PINCTRL_IMX51
764f6a16bfSDong Aisheng	bool "IMX51 pinctrl driver"
774f6a16bfSDong Aisheng	depends on OF
784f6a16bfSDong Aisheng	depends on SOC_IMX51
794f6a16bfSDong Aisheng	select PINCTRL_IMX
804f6a16bfSDong Aisheng	help
814f6a16bfSDong Aisheng	  Say Y here to enable the imx51 pinctrl driver
824f6a16bfSDong Aisheng
8393fbd3c0SDong Aishengconfig PINCTRL_IMX53
8493fbd3c0SDong Aisheng	bool "IMX53 pinctrl driver"
8593fbd3c0SDong Aisheng	depends on OF
8693fbd3c0SDong Aisheng	depends on SOC_IMX53
8793fbd3c0SDong Aisheng	select PINCTRL_IMX
8893fbd3c0SDong Aisheng	help
8993fbd3c0SDong Aisheng	  Say Y here to enable the imx53 pinctrl driver
9093fbd3c0SDong Aisheng
91d8fe3572SDong Aishengconfig PINCTRL_IMX6Q
92d8fe3572SDong Aisheng	bool "IMX6Q pinctrl driver"
93d8fe3572SDong Aisheng	depends on OF
94d8fe3572SDong Aisheng	depends on SOC_IMX6Q
95d8fe3572SDong Aisheng	select PINCTRL_IMX
96d8fe3572SDong Aisheng	help
97d8fe3572SDong Aisheng	  Say Y here to enable the imx6q pinctrl driver
98d8fe3572SDong Aisheng
993f8c50c9SJohn Crispinconfig PINCTRL_LANTIQ
1003f8c50c9SJohn Crispin	bool
1013f8c50c9SJohn Crispin	depends on LANTIQ
1023f8c50c9SJohn Crispin	select PINMUX
1033f8c50c9SJohn Crispin	select PINCONF
1043f8c50c9SJohn Crispin
105f4e66983SHaojian Zhuangconfig PINCTRL_PXA3xx
106f4e66983SHaojian Zhuang	bool
107f4e66983SHaojian Zhuang	select PINMUX
108f4e66983SHaojian Zhuang
109e316cb2bSJohn Crispinconfig PINCTRL_FALCON
110e316cb2bSJohn Crispin	bool
111e316cb2bSJohn Crispin	depends on SOC_FALCON
112e316cb2bSJohn Crispin	depends on PINCTRL_LANTIQ
113e316cb2bSJohn Crispin
114f4e66983SHaojian Zhuangconfig PINCTRL_MMP2
115f4e66983SHaojian Zhuang	bool "MMP2 pin controller driver"
116f4e66983SHaojian Zhuang	depends on ARCH_MMP
117f4e66983SHaojian Zhuang	select PINCTRL_PXA3xx
118f4e66983SHaojian Zhuang
11917723111SShawn Guoconfig PINCTRL_MXS
12017723111SShawn Guo	bool
12190db8a14SAxel Lin	select PINMUX
12290db8a14SAxel Lin	select PINCONF
12317723111SShawn Guo
12417723111SShawn Guoconfig PINCTRL_IMX23
12517723111SShawn Guo	bool
12617723111SShawn Guo	select PINCTRL_MXS
12717723111SShawn Guo
12817723111SShawn Guoconfig PINCTRL_IMX28
12917723111SShawn Guo	bool
13017723111SShawn Guo	select PINCTRL_MXS
13117723111SShawn Guo
132e98ea774SLinus Walleijconfig PINCTRL_NOMADIK
133e98ea774SLinus Walleij	bool "Nomadik pin controller driver"
1340fa7be40SArnd Bergmann	depends on ARCH_U8500 || ARCH_NOMADIK
135dbfe8ca2SLinus Walleij	select PINMUX
136d41af627SLinus Walleij	select PINCONF
137e98ea774SLinus Walleij
138f79c5ed9SLinus Walleijconfig PINCTRL_STN8815
139f79c5ed9SLinus Walleij	bool "STN8815 pin controller driver"
140f79c5ed9SLinus Walleij	depends on PINCTRL_NOMADIK && ARCH_NOMADIK
141f79c5ed9SLinus Walleij
142e98ea774SLinus Walleijconfig PINCTRL_DB8500
143e98ea774SLinus Walleij	bool "DB8500 pin controller driver"
144e98ea774SLinus Walleij	depends on PINCTRL_NOMADIK && ARCH_U8500
145e98ea774SLinus Walleij
14645a1b531SPatrice Chotardconfig PINCTRL_DB8540
14745a1b531SPatrice Chotard	bool "DB8540 pin controller driver"
14845a1b531SPatrice Chotard	depends on PINCTRL_NOMADIK && ARCH_U8500
14945a1b531SPatrice Chotard
150f4e66983SHaojian Zhuangconfig PINCTRL_PXA168
151f4e66983SHaojian Zhuang	bool "PXA168 pin controller driver"
152f4e66983SHaojian Zhuang	depends on ARCH_MMP
153f4e66983SHaojian Zhuang	select PINCTRL_PXA3xx
154f4e66983SHaojian Zhuang
155f4e66983SHaojian Zhuangconfig PINCTRL_PXA910
156f4e66983SHaojian Zhuang	bool "PXA910 pin controller driver"
157f4e66983SHaojian Zhuang	depends on ARCH_MMP
158f4e66983SHaojian Zhuang	select PINCTRL_PXA3xx
159f4e66983SHaojian Zhuang
1608b8b091bSTony Lindgrenconfig PINCTRL_SINGLE
1618b8b091bSTony Lindgren	tristate "One-register-per-pin type device tree based pinctrl driver"
1628b8b091bSTony Lindgren	depends on OF
1638b8b091bSTony Lindgren	select PINMUX
1648b8b091bSTony Lindgren	select PINCONF
1658b8b091bSTony Lindgren	help
1668b8b091bSTony Lindgren	  This selects the device tree based generic pinctrl driver.
1678b8b091bSTony Lindgren
1683bece55aSLinus Walleijconfig PINCTRL_SIRF
169d3e26f2fSBarry Song	bool "CSR SiRFprimaII/SiRFmarco pin controller driver"
170d3e26f2fSBarry Song	depends on ARCH_SIRF
171393daa81SRongjun Ying	select PINMUX
172393daa81SRongjun Ying
173971dac71SStephen Warrenconfig PINCTRL_TEGRA
174971dac71SStephen Warren	bool
175507ccdbfSAxel Lin	select PINMUX
176507ccdbfSAxel Lin	select PINCONF
177971dac71SStephen Warren
178971dac71SStephen Warrenconfig PINCTRL_TEGRA20
179971dac71SStephen Warren	bool
180971dac71SStephen Warren	select PINCTRL_TEGRA
181971dac71SStephen Warren
182971dac71SStephen Warrenconfig PINCTRL_TEGRA30
183971dac71SStephen Warren	bool
184971dac71SStephen Warren	select PINCTRL_TEGRA
185971dac71SStephen Warren
186b6ae7a26SPritesh Raithathaconfig PINCTRL_TEGRA114
187b6ae7a26SPritesh Raithatha	bool
188b6ae7a26SPritesh Raithatha	select PINCTRL_TEGRA
189b6ae7a26SPritesh Raithatha
1903bece55aSLinus Walleijconfig PINCTRL_U300
1913bece55aSLinus Walleij	bool "U300 pin controller driver"
19298da3529SLinus Walleij	depends on ARCH_U300
19398da3529SLinus Walleij	select PINMUX
194dc0b1aa3SLinus Walleij	select GENERIC_PINCONF
19545f034efSLinus Walleij
196ca402d37SLinus Walleijconfig PINCTRL_COH901
197ca402d37SLinus Walleij	bool "ST-Ericsson U300 COH 901 335/571 GPIO"
1983c94d1bbSLinus Walleij	depends on GPIOLIB && ARCH_U300 && PINCTRL_U300
199ca402d37SLinus Walleij	help
200ca402d37SLinus Walleij	  Say yes here to support GPIO interface on ST-Ericsson U300.
201ca402d37SLinus Walleij	  The names of the two IP block variants supported are
202ca402d37SLinus Walleij	  COH 901 335 and COH 901 571/3. They contain 3, 5 or 7
203ca402d37SLinus Walleij	  ports of 8 GPIO pins each.
204ca402d37SLinus Walleij
20530574f0dSThomas Abrahamconfig PINCTRL_SAMSUNG
206cbc351abSArnd Bergmann	bool
207924da314SAxel Lin	depends on OF && GPIOLIB
20830574f0dSThomas Abraham	select PINMUX
20930574f0dSThomas Abraham	select PINCONF
21030574f0dSThomas Abraham
2117452b64dSKukjin Kimconfig PINCTRL_EXYNOS
2127452b64dSKukjin Kim	bool "Pinctrl driver data for Samsung EXYNOS SoCs"
213924da314SAxel Lin	depends on OF && GPIOLIB
21443b169dbSThomas Abraham	select PINCTRL_SAMSUNG
21543b169dbSThomas Abraham
216f0b9a7e5SThomas Abrahamconfig PINCTRL_EXYNOS5440
217f0b9a7e5SThomas Abraham	bool "Samsung EXYNOS5440 SoC pinctrl driver"
218f0b9a7e5SThomas Abraham	select PINMUX
219f0b9a7e5SThomas Abraham	select PINCONF
220f0b9a7e5SThomas Abraham
22106763c74SThomas Petazzonisource "drivers/pinctrl/mvebu/Kconfig"
222463e270fSThomas Petazzoni
223deda8287SViresh Kumarsource "drivers/pinctrl/spear/Kconfig"
224deda8287SViresh Kumar
2253f8c50c9SJohn Crispinconfig PINCTRL_XWAY
2263f8c50c9SJohn Crispin	bool
2273f8c50c9SJohn Crispin	depends on SOC_TYPE_XWAY
2283f8c50c9SJohn Crispin	depends on PINCTRL_LANTIQ
2293f8c50c9SJohn Crispin
23045f034efSLinus Walleijendmenu
23198da3529SLinus Walleij
2322744e8afSLinus Walleijendif
233