xref: /linux/drivers/pinctrl/Kconfig (revision e1b2dc70cd5b00e17c703163a463d82354b1cc76)
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
29*e1b2dc70SSimon Arlottconfig PINCTRL_BCM2835
30*e1b2dc70SSimon Arlott	bool
31*e1b2dc70SSimon Arlott	select PINMUX
32*e1b2dc70SSimon Arlott	select PINCONF
33*e1b2dc70SSimon Arlott
34ae75ff81SDong Aishengconfig PINCTRL_IMX
35ae75ff81SDong Aisheng	bool
36ae75ff81SDong Aisheng	select PINMUX
37ae75ff81SDong Aisheng	select PINCONF
38ae75ff81SDong Aisheng
39b9aa8f13SUwe Kleine-Königconfig PINCTRL_IMX35
40b9aa8f13SUwe Kleine-König	bool "IMX35 pinctrl driver"
41b9aa8f13SUwe Kleine-König	depends on OF
42b9aa8f13SUwe Kleine-König	depends on SOC_IMX35
43b9aa8f13SUwe Kleine-König	select PINCTRL_IMX
44b9aa8f13SUwe Kleine-König	help
45b9aa8f13SUwe Kleine-König	  Say Y here to enable the imx35 pinctrl driver
46b9aa8f13SUwe Kleine-König
474f6a16bfSDong Aishengconfig PINCTRL_IMX51
484f6a16bfSDong Aisheng	bool "IMX51 pinctrl driver"
494f6a16bfSDong Aisheng	depends on OF
504f6a16bfSDong Aisheng	depends on SOC_IMX51
514f6a16bfSDong Aisheng	select PINCTRL_IMX
524f6a16bfSDong Aisheng	help
534f6a16bfSDong Aisheng	  Say Y here to enable the imx51 pinctrl driver
544f6a16bfSDong Aisheng
5593fbd3c0SDong Aishengconfig PINCTRL_IMX53
5693fbd3c0SDong Aisheng	bool "IMX53 pinctrl driver"
5793fbd3c0SDong Aisheng	depends on OF
5893fbd3c0SDong Aisheng	depends on SOC_IMX53
5993fbd3c0SDong Aisheng	select PINCTRL_IMX
6093fbd3c0SDong Aisheng	help
6193fbd3c0SDong Aisheng	  Say Y here to enable the imx53 pinctrl driver
6293fbd3c0SDong Aisheng
63d8fe3572SDong Aishengconfig PINCTRL_IMX6Q
64d8fe3572SDong Aisheng	bool "IMX6Q pinctrl driver"
65d8fe3572SDong Aisheng	depends on OF
66d8fe3572SDong Aisheng	depends on SOC_IMX6Q
67d8fe3572SDong Aisheng	select PINCTRL_IMX
68d8fe3572SDong Aisheng	help
69d8fe3572SDong Aisheng	  Say Y here to enable the imx6q pinctrl driver
70d8fe3572SDong Aisheng
71f4e66983SHaojian Zhuangconfig PINCTRL_PXA3xx
72f4e66983SHaojian Zhuang	bool
73f4e66983SHaojian Zhuang	select PINMUX
74f4e66983SHaojian Zhuang
75f4e66983SHaojian Zhuangconfig PINCTRL_MMP2
76f4e66983SHaojian Zhuang	bool "MMP2 pin controller driver"
77f4e66983SHaojian Zhuang	depends on ARCH_MMP
78f4e66983SHaojian Zhuang	select PINCTRL_PXA3xx
79f4e66983SHaojian Zhuang	select PINCONF
80f4e66983SHaojian Zhuang
8117723111SShawn Guoconfig PINCTRL_MXS
8217723111SShawn Guo	bool
8317723111SShawn Guo
8417723111SShawn Guoconfig PINCTRL_IMX23
8517723111SShawn Guo	bool
8617723111SShawn Guo	select PINMUX
8717723111SShawn Guo	select PINCONF
8817723111SShawn Guo	select PINCTRL_MXS
8917723111SShawn Guo
9017723111SShawn Guoconfig PINCTRL_IMX28
9117723111SShawn Guo	bool
9217723111SShawn Guo	select PINMUX
9317723111SShawn Guo	select PINCONF
9417723111SShawn Guo	select PINCTRL_MXS
9517723111SShawn Guo
96e98ea774SLinus Walleijconfig PINCTRL_NOMADIK
97e98ea774SLinus Walleij	bool "Nomadik pin controller driver"
980fa7be40SArnd Bergmann	depends on ARCH_U8500 || ARCH_NOMADIK
99dbfe8ca2SLinus Walleij	select PINMUX
100d41af627SLinus Walleij	select PINCONF
101e98ea774SLinus Walleij
102f79c5ed9SLinus Walleijconfig PINCTRL_STN8815
103f79c5ed9SLinus Walleij	bool "STN8815 pin controller driver"
104f79c5ed9SLinus Walleij	depends on PINCTRL_NOMADIK && ARCH_NOMADIK
105f79c5ed9SLinus Walleij
106e98ea774SLinus Walleijconfig PINCTRL_DB8500
107e98ea774SLinus Walleij	bool "DB8500 pin controller driver"
108e98ea774SLinus Walleij	depends on PINCTRL_NOMADIK && ARCH_U8500
109e98ea774SLinus Walleij
11045a1b531SPatrice Chotardconfig PINCTRL_DB8540
11145a1b531SPatrice Chotard	bool "DB8540 pin controller driver"
11245a1b531SPatrice Chotard	depends on PINCTRL_NOMADIK && ARCH_U8500
11345a1b531SPatrice Chotard
114f4e66983SHaojian Zhuangconfig PINCTRL_PXA168
115f4e66983SHaojian Zhuang	bool "PXA168 pin controller driver"
116f4e66983SHaojian Zhuang	depends on ARCH_MMP
117f4e66983SHaojian Zhuang	select PINCTRL_PXA3xx
118f4e66983SHaojian Zhuang	select PINCONF
119f4e66983SHaojian Zhuang
120f4e66983SHaojian Zhuangconfig PINCTRL_PXA910
121f4e66983SHaojian Zhuang	bool "PXA910 pin controller driver"
122f4e66983SHaojian Zhuang	depends on ARCH_MMP
123f4e66983SHaojian Zhuang	select PINCTRL_PXA3xx
124f4e66983SHaojian Zhuang	select PINCONF
125f4e66983SHaojian Zhuang
1268b8b091bSTony Lindgrenconfig PINCTRL_SINGLE
1278b8b091bSTony Lindgren	tristate "One-register-per-pin type device tree based pinctrl driver"
1288b8b091bSTony Lindgren	depends on OF
1298b8b091bSTony Lindgren	select PINMUX
1308b8b091bSTony Lindgren	select PINCONF
1318b8b091bSTony Lindgren	help
1328b8b091bSTony Lindgren	  This selects the device tree based generic pinctrl driver.
1338b8b091bSTony Lindgren
1343bece55aSLinus Walleijconfig PINCTRL_SIRF
1353bece55aSLinus Walleij	bool "CSR SiRFprimaII pin controller driver"
136393daa81SRongjun Ying	depends on ARCH_PRIMA2
137393daa81SRongjun Ying	select PINMUX
138393daa81SRongjun Ying
139971dac71SStephen Warrenconfig PINCTRL_TEGRA
140971dac71SStephen Warren	bool
141971dac71SStephen Warren
142971dac71SStephen Warrenconfig PINCTRL_TEGRA20
143971dac71SStephen Warren	bool
144971dac71SStephen Warren	select PINMUX
145971dac71SStephen Warren	select PINCONF
146971dac71SStephen Warren	select PINCTRL_TEGRA
147971dac71SStephen Warren
148971dac71SStephen Warrenconfig PINCTRL_TEGRA30
149971dac71SStephen Warren	bool
150971dac71SStephen Warren	select PINMUX
151971dac71SStephen Warren	select PINCONF
152971dac71SStephen Warren	select PINCTRL_TEGRA
153971dac71SStephen Warren
1543bece55aSLinus Walleijconfig PINCTRL_U300
1553bece55aSLinus Walleij	bool "U300 pin controller driver"
15698da3529SLinus Walleij	depends on ARCH_U300
15798da3529SLinus Walleij	select PINMUX
158dc0b1aa3SLinus Walleij	select GENERIC_PINCONF
15945f034efSLinus Walleij
160ca402d37SLinus Walleijconfig PINCTRL_COH901
161ca402d37SLinus Walleij	bool "ST-Ericsson U300 COH 901 335/571 GPIO"
1623c94d1bbSLinus Walleij	depends on GPIOLIB && ARCH_U300 && PINCTRL_U300
163ca402d37SLinus Walleij	help
164ca402d37SLinus Walleij	  Say yes here to support GPIO interface on ST-Ericsson U300.
165ca402d37SLinus Walleij	  The names of the two IP block variants supported are
166ca402d37SLinus Walleij	  COH 901 335 and COH 901 571/3. They contain 3, 5 or 7
167ca402d37SLinus Walleij	  ports of 8 GPIO pins each.
168ca402d37SLinus Walleij
169deda8287SViresh Kumarsource "drivers/pinctrl/spear/Kconfig"
170deda8287SViresh Kumar
17145f034efSLinus Walleijendmenu
17298da3529SLinus Walleij
1732744e8afSLinus Walleijendif
174